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

CacheService.KeyCacheSerializer affects cache hit rate

    XMLWordPrintableJSON

Details

    • 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

            kohlisankalp Sankalp Kohli
            kohlisankalp Sankalp Kohli
            Sankalp Kohli
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: