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

Replace EmptyColumns with updated ArrayBackedSortedColumns

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1 beta1
    • None
    • None

    Description

      Now that UnsortedColumns is gone (CASSANDRA-6630) and TreeMapBackedSortedColumns is also gone (CASSANDRA-6662), we can also get rid of EmptyColumns and, further, inline AbstractThreadUnsafeSortedColumns into ABSC, leaving us with just two ColumnFamily implementations - AtomicBTreeColumns for the memtable and ABSC for everything else.

      The modified ABSC in the patch starts with the empty static array, so in terms of memory it's about the same as EmptyColumns used to be.

      Attachments

        1. 6690.txt
          16 kB
          Aleksey Yeschenko

        Activity

          People

            aleksey Aleksey Yeschenko
            aleksey Aleksey Yeschenko
            Aleksey Yeschenko
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: