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

Revisit EncodingStats use in memtables

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Triage Needed
    • Normal
    • Resolution: Unresolved
    • None
    • Local/Memtable
    • None
    • All
    • None

    Description

      The efficiency of EncodingStats and its memtable collector can be improved, e.g. to avoid repeatedly checking for the epoch value and creating new non-short-lived objects on modification.

      Further, as the stats are only used during flush, it does not make sense to collect them during memtable updates but rather as part of the processing pass at the start of flushes.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              blambov Branimir Lambov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: