-
Notifications
You must be signed in to change notification settings - Fork 449
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(interactive): Introduce explicit barrier for actors when switchi…
…ng query service to a different graph (#3395) When a `StartService(graph)` is received by admin service, we will 1. The actor scope for current query actors will be cancelled. 2. During the scope cancellation process of the query actors or after scope cancellation is completed, all requests sent to the query_service will fail and be rejected. The response of the http request will be like ```json { "code": 500, "message" : "Unable to send message, the target actor has been canceled!" } ``` 3. After the previous graph is closed and new graph is opened, the new query actors will be available in a new scope. 4. The query service is now ready to serve requests on the new graph. Fix #3394
- Loading branch information
1 parent
f5ebd08
commit 3c7ace2
Showing
10 changed files
with
435 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.