0.1.25
Date: 21-12-2023
Tag: 0.1.25
Compatibility
VShard 0.1.25 is fully compatible with the previous VShard versions.
Functionality added or changed
- Added support of
master='auto'
on the storage side. It makes the storages dynamically track who of them is the master (no election, only tracking and automatic role switch) (gh-429). - Introduced
rebalancer
flag for replicas and replicasets to be able to choose manually who of them should run the rebalancer service (gh-432). - Introduced
rebalancer_mode
which can be used to enforce manual or automatic rebalancer assignment, or turn the rebalancer off completely (gh-432). - Config can be used with instance and replicaset names instead of UUIDs - for that there is a new option
identification_mode
. When specified asuuid_as_key
(default) the behaviour is like in 0.1.24 and before. The valuename_as_key
unlocks the new behaviour (gh-426).
Bugs fixed
- Fixed a bug when bucket recovery and GC could sometimes do a bit more work than needed in case manual
vshard.storage.bucket_send()
was used (gh-434). - Fixed a bug when
vshard.storage.send()
could false-positively fail in the end or the beginning of its work (gh-433). - Fixed a bug that the router couldn't call storage functions implemented in C or having their Lua body stored in
_func
(gh-436).