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

Header only commit logs should be filtered before recovery

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.0.15, 3.11.1, 4.0-alpha1, 4.0
    • None
    • None
    • Normal

    Description

      Commit log recovery will tolerate commit log truncation in the most recent log file found on disk, but will abort startup if problems are detected in others.

      Since we allocate commit log segments before they're used though, it's possible to get into a state where the last commit log file actually written to is not the same file that was most recently allocated, preventing startup for what should otherwise be allowable incomplete final segments.

      Excluding header only files on recovery should prevent this from happening.

      Attachments

        Activity

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

          People

            bdeggleston Blake Eggleston Assign to me
            bdeggleston Blake Eggleston
            Blake Eggleston
            Sam Tunnicliffe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment