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

Refactor Key and Row caches handling code

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.8 beta 1
    • None
    • None

    Description

      The code related to key and row caches has a bunch of code duplication. It's
      moreover a bit scattered, the caches are in SSTableTracker but the scheduled
      task to save them are in CFStore. And having the caches in SSTableTracker is
      not very logic, for row cache at least, since it does not only concern the
      sstables. Proposed patch refactor this to avoid the duplication and put all
      the cache handling code in one place.

      Attachments

        1. 2272_trunk_v5.txt
          44 kB
          Matthew F. Dennis
        2. 2272_trunk_v4.txt
          47 kB
          Matthew F. Dennis
        3. 0001-Refactor-key-and-row-cache-handling-code-v3.patch
          41 kB
          Sylvain Lebresne
        4. 0001-Refactor-key-and-row-cache-handling-code-v2.patch
          41 kB
          Sylvain Lebresne
        5. 0001-Refactor-key-and-row-cache-handling-code.patch
          37 kB
          Sylvain Lebresne

        Issue Links

        Activity

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

          People

            slebresne Sylvain Lebresne Assign to me
            slebresne Sylvain Lebresne
            Sylvain Lebresne
            Matthew F. Dennis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment