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

CacheService.KeyCacheSerializer affects cache hit rate

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment