Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
    • Severity:
      Low

      Description

      When "compaction_preheat_key_cache" is set to true, then during compaction, it keep tracks of cached keys to to re-cache their new position.
      It does this by calling the following method on every key of the compacted sstable :
      sstable.getCachedPosition(row.key)
      which also update cache stats, thus lowering hit rate

      Below is an attached patch allowing to know if the key is cached, but without updating the stats.

        Attachments

          Activity

            People

            • Assignee:
              frousseau Fabien Rousseau
              Reporter:
              frousseau Fabien Rousseau
              Authors:
              Fabien Rousseau
              Reviewers:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: