Details
-
Story
-
Status: Closed
-
Medium
-
Resolution: Done
-
None
-
2
-
Unset
-
Unset
-
Unset
Description
We need to make the Remove operation crash fault tolerant. The blkstorageProvider.Drop(channelID) may take a while, removing the index and then the folder, and if in that time there is a crash there is no recovery from blkstorageProvider. We need to mark the channel for removal with the file-repo at the start of this method, and unmark at the end. If we restart and find a channel marked for removal, we deed to retry the Drop().