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

incremental backups race

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 1.2.4
    • Component/s: None
    • Labels:
    • Severity:
      Low

      Description

      incremental backups does not mark things referenced or compacting, so it could get compacted away before createLinks runs. Occasionally you can see this happen during ColumnFamilyStoreTest. (Since it runs on the background tasks stage, it does not fail the test.)

          [junit] java.lang.RuntimeException: Tried to hard link to file that does not exist build/test/cassandra/data/Keyspace1/Standard1/Keyspace1-Standard1-ja-8-Statistics.db
          [junit] 	at org.apache.cassandra.io.util.FileUtils.createHardLink(FileUtils.java:72)
          [junit] 	at org.apache.cassandra.io.sstable.SSTableReader.createLinks(SSTableReader.java:1066)
          [junit] 	at org.apache.cassandra.db.DataTracker$1.run(DataTracker.java:168)
          [junit] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
          [junit] 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
          [junit] 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
          [junit] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
      

        Attachments

        1. 5410.txt
          2 kB
          Jonathan Ellis

          Activity

            People

            • Assignee:
              jbellis Jonathan Ellis
              Reporter:
              jbellis Jonathan Ellis
              Authors:
              Jonathan Ellis
              Reviewers:
              Marcus Eriksson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: