apple / foundationdb

FoundationDB - the open source, distributed, transactional key-value store
https://apple.github.io/foundationdb/
Apache License 2.0
14.5k stars 1.31k forks source link

Avoid recruiting extraneous storage server if the down remote data center comes back up #1650

Open bnamasivayam opened 5 years ago

bnamasivayam commented 5 years ago

When the remote data center that was down for some time comes back up, DD can recruit new storage servers on processes with class types other than storage. These new storage servers will be marked undesirable as soon as the original storage servers boots up. This extraneous recruitment should be avoided.

xumengpanda commented 5 years ago

It seems to me that each worker that has already had a storage server should reject the second storage-server recruitment request.