Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1879

improve the correctness checking of txn log replay

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.4.6, 3.5.0
    • None
    • server
    • None

    Description

      In ZOOKEEPER-1573 we decided to fix an issue by relaxing some of the checking. Specifically when the sequence of txns is as follows:

      • zxid 1: create /prefix/a
      • zxid 2: create /prefix/a/b
      • zxid 3: delete /prefix/a/b
      • zxid 4: delete /prefix/a

      the log may fail to replay.

      We addressed this by relaxing a check, which is essentially invalid for this case, but is important in finding corruptions of the datastore.

      We should add this check back with proper validation of correctness.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            phunt Patrick D. Hunt

            Dates

              Created:
              Updated:

              Slack

                Issue deployment