Commit ee95848d authored by Committed by Bernd Lietzow
meta: lock disposed files during unlink-after-client-removal
removing a client from the system causes the meta server to close file handles held by that client. if any file handle refers to an unlinked file, that close may remove the file from its disposal directory. if unlink and close happen simultaneously they can then race with each other, with unlink adding the file to disposal and adding a "changed file" modsync event, and close removing the file before the "changed" event was synced. this causes the resync to abort with modsync errors afterwars.
Showing with 2 additions and 0 deletions