path: root/tests/basic/distribute/force-migration.t
Commit message (Collapse)AuthorAgeFilesLines
* cluster/dht: avoid overwriting client writes during migrationSusant Palai2018-02-021-0/+50
For more details on this issue see Solution: This is a restrictive solution where a file will not be migrated if a client writes to it during the migration. This does not check if the writes from the rebalance and the client actually do overlap. If dht_writev_cbk finds that the file is being migrated (PHASE1) it will set an xattr on the destination file indicating the file was updated by a non-rebalance client. Rebalance checks if any other client has written to the dst file and aborts the file migration if it finds the xattr. updates gluster/glusterfs#308 Change-Id: I73aec28bc9dbb8da57c7425ec88c6b6af0fbc9dd Signed-off-by: Susant Palai <> Signed-off-by: Raghavendra G <> Signed-off-by: N Balachandran <>