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

Table.open has a broken lock in it

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.5
    • None
    • None
    • Low

    Description

      Table.open's lock is used around the Map#put method call but not the #get. This makes it a source of spurious bugs. The attached patch synchronizes the entire Table.open method and removes the unused createLock static.

      Attachments

        1. broken_lock_in_table_open.patch
          2 kB
          Jeff Hodges
        2. 734-nbhm.txt
          2 kB
          Jonathan Ellis

        Activity

          People

            jbellis Jonathan Ellis
            jmhodges Jeff Hodges
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: