-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. A task releases all buckets as soon as it exits processing of a current bucket in a way other than regular completion. This ensures e.g. that tasks that are suspended in a standard way hold no buckets. (And this ensures correct processing of all buckets by remaining workers.) 2. When a node is detected to be down by ClusterManager, all buckets held by all tasks that were executing on it are automatically released. The reason is exactly the same as above: to prevent buckets be held by ghost tasks indefinitely. 3. When reconciling workers, we suspend only the superfluous tasks that run on nodes that are still up and alive. (It is not sufficient that they are not down.) This is because we rely on the tasks themselves to release their buckets. This is not a perfect solution, though - see MID-7180.
- Loading branch information
Showing
15 changed files
with
314 additions
and
102 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
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
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.