Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-18082

Make RemoveChannel crash fault tolerant

    XMLWordPrintable

Details

    • Story
    • Status: Closed
    • Medium
    • Resolution: Done
    • None
    • v2.3.0
    • fabric-orderer

    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().

      Attachments

        Issue Links

          Activity

            People

              tsharris Tiffany Harris
              wlahti Will Lahti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: