Skip to content

bucket_send() and bucket_recv() should check rebalancer_transfering_buckets before touching it #434

@Gerold103

Description

@Gerold103

bucket_send(bid) sets M.rebalancer_transfering_buckets[bid] = true without checking if it was already true.

  1. Need to check it and fail immediately if the bucket is in transfer already.
  2. See if the current behaviour can lead to any bugs. Cover them with tests.

Same with bucket_recv().

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstorage

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions