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

CommitLogReplayer should replay past final sync marker

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: 4.x
    • Component/s: Local/Commit Log
    • Labels:
      None
    • Bug Category:
      Correctness - Consistency
    • Severity:
      Normal
    • Complexity:
      Normal
    • Discovered By:
      Code Inspection
    • Platform:
      All
    • Impacts:
      None

      Description

      Under default commit log configuration, the sync markers have no purpose, only serving to reduce persistence by preventing replay of any mutations serialised between syncs. Refactoring the commit log to prevent this would be painful, given their utility for encrypted and compressed segments, so we should instead ignore the lack of a final sync marker when replaying a raw commit log segment, and attempt to replay any mutations we encounter after the last sync marker.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              benedict Benedict Elliott Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: