diff options
author | Siddharth Ravikumar <sravik@bgsu.edu> | 2015-04-30 15:02:36 -0400 |
---|---|---|
committer | Siddharth Ravikumar <sravik@bgsu.edu> | 2015-04-30 15:02:36 -0400 |
commit | 2925bf8cacfd7716639e0177f444140928ed0c9a (patch) | |
tree | 7bf4db3bef5208746a9f95ff26bc8a22fb5da04a /tests/files | |
parent | bcf127e0472aec90a1569c4bfd9f1c86db88283e (diff) |
Updated combox.events.NodeDirMonitor.housekeep's delete functionality.
- Now the housekeep method deletes the file in the combox
directory only if all of its shards are missing in the
respective node directories -- meaning it was deleted on another
computer (running combox).
- If it finds only some of all the shards of a file missing, it
stores this information in the `file_deleted' dict inside
the silo.
- tests.events_tests.TestEvents.test_NDM_housekeep_delete tests
the delete functionality of
combox.events.NodeDirMonitor.housekeep method.
modified: combox/events.py
modified: tests/events_test.py
Diffstat (limited to 'tests/files')
0 files changed, 0 insertions, 0 deletions