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

Fix ColumnFamily opening race

    XMLWordPrintableJSON

    Details

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

      Description

      (Moving from CASSANDRA-5151)

      Currently, MeteredFlusher is scheduled inside static block of ColumnFamilyStore, and it accesses all ColumnFamilyStore when it runs every 1 sec. Scheduling is done when JVM first load ColumnFamilyStore class, so after that, there is always a chance to open SSTables before doing scrub directory/remove compaction left overs.
      We should move the content of static block at the end of CassandraDaemon setup.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yukim Yuki Morishita
                Reporter:
                yukim Yuki Morishita
                Authors:
                Yuki Morishita
                Reviewers:
                Jonathan Ellis
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: