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

Refactor Key and Row caches handling code

    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. 0001-Refactor-key-and-row-cache-handling-code.patch
          37 kB
          Sylvain Lebresne
        2. 0001-Refactor-key-and-row-cache-handling-code-v2.patch
          41 kB
          Sylvain Lebresne
        3. 0001-Refactor-key-and-row-cache-handling-code-v3.patch
          41 kB
          Sylvain Lebresne
        4. 2272_trunk_v4.txt
          47 kB
          Matthew F. Dennis
        5. 2272_trunk_v5.txt
          44 kB
          Matthew F. Dennis

        Issue Links

          Activity

            People

              slebresne Sylvain Lebresne
              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