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

CacheService.KeyCacheSerializer affects cache hit rate

    XMLWordPrintableJSON

    Details

    • Severity:
      Low

      Description

      Every time Autosaving cache stores to disk, it calls KeyCacheSerializer for every key. In the serialize method, we use this
      RowIndexEntry entry = CacheService.instance.keyCache.get(key);
      Instead it should use getInternal to avoid updating the stats.
      RowIndexEntry entry = CacheService.instance.keyCache.getInternal(key);

        Attachments

          Activity

            People

            • Assignee:
              kohlisankalp Sankalp Kohli
              Reporter:
              kohlisankalp Sankalp Kohli
              Authors:
              Sankalp Kohli
              Reviewers:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: