diff options
author | Siddharth Ravikumar <sravik@bgsu.edu> | 2015-05-01 09:35:54 -0400 |
---|---|---|
committer | Siddharth Ravikumar <sravik@bgsu.edu> | 2015-05-01 09:35:54 -0400 |
commit | 6bc6c1eecc8a34ab80dc4c6e4db8ab40e6ad4712 (patch) | |
tree | 2f67fca32a167c2af33fc52d5710415428bdd01a | |
parent | 2925bf8cacfd7716639e0177f444140928ed0c9a (diff) |
added comments in combox.events.NodDirMonitor.housekeep method.
-rw-r--r-- | combox/events.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/combox/events.py b/combox/events.py index e15ea70..1969a85 100644 --- a/combox/events.py +++ b/combox/events.py @@ -247,6 +247,9 @@ class NodeDirMonitor(LoggingEventHandler): self.silo.remove(fpath) self.silo.node_rem('file_deleted', fpath) elif del_num > 0: + # means, all the shards of the file have not been + # deleted yet, so, we store the no. of shards was + # deleted in the 'file_deleted' dict inside the silo. self.silo.node_set('file_deleted', fpath, del_num) for root, dirs, files in os.walk(get_nodedirs(self.config)[0]): |