Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-18211

NoSuchFileException when removing a snapshot

    XMLWordPrintableJSON

Details

    Description

      Automatic deletion of expired snapshots maintained by SnapshotManager can race with manual snapshot removal in a way an exception like NoSuchFileException is thrown.

      It is because the snapshot directory existence is checked and deleted if it exists as a non-atomic operation. Since we can potentially have two threads attempting to do that at the same time (automatic and manual snapshot removal) it may lead to a race in rare situations.

      Attachments

        Issue Links

          Activity

            People

              smiklosovic Stefan Miklosovic
              jlewandowski Jacek Lewandowski
              Stefan Miklosovic
              Jacek Lewandowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: