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

Add row-level isolation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.0
    • None
    • None

    Description

      This could be done using an the atomic ConcurrentMap operations from the Memtable and something like http://code.google.com/p/pcollections/ to replace the ConcurrentSkipListMap in ThreadSafeSortedColumns. The trick is that pcollections does not provide a SortedMap, so we probably need to write our own.

      Googling [persistent sortedmap] I found http://code.google.com/p/actord/source/browse/trunk/actord/src/main/scala/ff/collection (in scala) and http://clojure.org/data_structures#Data Structures-Maps.

      Attachments

        1. 0001-Move-deletion-infos-into-ISortedColumns.patch
          30 kB
          Sylvain Lebresne
        2. 0001-Move-deletion-infos-into-ISortedColumns-v2.patch
          31 kB
          Sylvain Lebresne
        3. 0002-Make-memtable-use-CF.addAll.patch
          11 kB
          Sylvain Lebresne
        4. 0002-Make-memtable-use-CF.addAll-v2.patch
          11 kB
          Sylvain Lebresne
        5. 0003-Add-AtomicSortedColumn-and-snapTree.patch
          28 kB
          Sylvain Lebresne
        6. 0003-Add-AtomicSortedColumn-and-snapTree-v2.patch
          29 kB
          Sylvain Lebresne
        7. 2893-pauses.txt
          1 kB
          Jonathan Ellis
        8. latency.svg
          78 kB
          Brandon Williams
        9. latency-plain.svg
          79 kB
          Brandon Williams
        10. row_isolation_test.py
          3 kB
          Cathy Daw
        11. snaptree-0.1-SNAPSHOT.jar
          111 kB
          Sylvain Lebresne

        Activity

          People

            slebresne Sylvain Lebresne
            jbellis Jonathan Ellis
            Sylvain Lebresne
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: