-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GOCBC-1520: Add concurrency back into the range scan API & implement …
…load balancing Motivation ========== The RFC requires SDKs that implement concurrency for range scan to distribute scans across nodes in the cluster as evenly as possible. Changes ======= * Add rangeScanLoadBalancer that handles the distribution of scans across the nodes * The rangeScanOpManager uses the rangeScanLoadBalancer to decide which vbucket to scan next * Add Concurrency to ScanOptions Results ======= All tests pass (including FIT) Change-Id: Ib01398f723ba2def7d460b36d18404066dd51ac6 Reviewed-on: https://review.couchbase.org/c/gocb/+/207078 Tested-by: Build Bot <[email protected]> Reviewed-by: Charles Dixon <[email protected]>
- Loading branch information
1 parent
7fb764b
commit cd878d8
Showing
5 changed files
with
287 additions
and
52 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
Oops, something went wrong.