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

Fix ColumnFamily opening race

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.1.11, 1.2.4
    • None
    • None
    • 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

              yukim Yuki Morishita
              yukim Yuki Morishita
              Yuki Morishita
              Jonathan Ellis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: