SERVER_WRITE_LOCK under different conditions
Hi,
I wanted to know about the conditions with which we set the SERVER_WRITE_LOCK as I feel it's a bit ambiguous in the spec.
When a new server is being added, we need to initiate data transfer from some older server and the newer one. In this situation, it's clear that the older server should be in WRITE_LOCK, but what about the new server? (I realize connections to new server probably cannot be made since the metadata is not known until data transfer is complete, so this may just be an undefined case which does not matter).
Similarly, in the case where a server is being deleted (server A) and it's data is being transferred to another (server B), in this situation will both be locked under WRITE_LOCK? Again, it's clear to me that the server being deleted should have WRITE_LOCK on it, but what about server B?
Thank you