Skip to content

Conversation

@ita-sammann
Copy link

@ita-sammann ita-sammann commented Dec 5, 2025

  • Implement "safe" mode to prevent writing data to wrong replicaset when vshard rebalance is in progress.
  • Auto switch to safe mode when rebalance process starts.
  • Manual return to fast mode.

I didn't forget about

  • Tests
  • Changelog
  • Documentation

ita-sammann and others added 5 commits December 5, 2025 13:42
Co-authored-by: Satbek Turganbayev <[email protected]>
In fast mode ref/unref do nothing.
In safe mode they call bucket_refro,bucket_refrw,
bucket_unrefo,bucket_unrefrw.

Also added ref error handle from storages.
On ref error router will reset bucket, change replicaset
for single operations and retry request.
* add access to _bucket space in privillage tests
* fix select_readview_test
* enable double buckets test
* add safe_mode_disable for cartirdge reload test: test_storage
* add safe_mode_disable for test_any_vshard_call_timeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants