Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new feature to detect and handle doubled buckets in the cluster. The most important changes include adding configuration options, implementing the detection logic, and updating the documentation and tests.
New Feature: Detection of Doubled Buckets
cartridge.lua
: Added configuration optionscheck_doubled_buckets
andcheck_doubled_buckets_period
to enable and configure the detection of doubled buckets.cartridge/issues.lua
: Implemented the logic to check for doubled buckets periodically and raise warnings if any are found. [1] [2]cartridge/vshard-utils.lua
: Addedfind_doubled_buckets
function to identify doubled buckets in the cluster. [1] [2]Documentation Updates
CHANGELOG.rst
: Documented the new issue about doubled buckets and how to enable it.rst/cartridge_admin.rst
: Updated the admin guide to include information about the doubled buckets warning and how to address it.Testing
test/integration/vshard_doubled_buckets_test.lua
: Added integration tests to verify the detection and handling of doubled buckets.I didn't forget about