tarantool / vshard

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

Bucket ref protection on replicas - part 3 - consult replicas before making a bucket GARBAGE #363

Closed Gerold103 closed 1 year ago

Gerold103 commented 2 years ago

The patchset is a next step on the way of fixing the buckets being deleted on master while still having RO refs on replicas.

It makes the master talk to replicas about which buckets they allow to GC, i.e. which of them have no RO refs anymore. The consulting is done in batches, in background, and doesn't affect incoming user requests.

The next part will be about introducing stricter _bucket changes validation via on_replace triggers.

CI sometimes can fail due to https://github.com/tarantool/tarantool/issues/7487.