tarantool / vshard

The new generation of sharding based on virtual buckets
Other
100 stars 30 forks source link

vshard.storage.buckets_count() does not change on replica #276

Closed Gerold103 closed 3 years ago

Gerold103 commented 3 years ago

It is cached, and the cache is updated only on bucket generation update. The generation update happens in on_replace trigger, which is installed on master only. Need to install it on the replicas too.