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

Concurrency is broken in the block balanced tree for queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 5.x
    • Feature/SAI
    • None

    Description

      Performance testing has highlighted that concurrent queries are broken against the block balanced tree because the mutable traversal state was pushed up to the walker that is linked to an SSTableIndex so is shared amongst all queries.

      A new traversal state should be created for each query and marked as not threadsafe. We should add a test to show that concurrent queries work against the block balanced tree.

      Attachments

        Issue Links

          Activity

            People

              mike_tr_adamson Mike Adamson
              mike_tr_adamson Mike Adamson
              Mike Adamson
              Andres de la Peña, Caleb Rackliffe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: