-
Notifications
You must be signed in to change notification settings - Fork 551
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
don't recheck distribution requirement in DistributedGroupByConsumer
In some cases if shards are still initializing the requiresDistribution() method might change its result between two calls. This can lead to the NonDistributedConsumer believing that distribution is required and the DistributedConsumer believing that it isn't. To fix that just check once in the NonDistributedConsumer and rely on the order of the Consumers. In the worst case this will execute a query that could be non-distributed in a distributed way.
- Loading branch information
1 parent
7aeed45
commit ff1a38f
Showing
3 changed files
with
6 additions
and
5 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