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

Avoid out of order response and txns created with ReadOnlyZooKeeperServer

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.6.1
    • Fix Version/s: None
    • Component/s: server
    • Labels:
      None

      Description

      The current ReadOnlyZooKeeperServer was implemented with PrepRequestProcessor, which will prepare txn even in read only mode.

      Also, it will fail the write request in ReadOnlyRequestProcessor, which will cause out of order response issue. 

      This Jira is going to fix this by replacing the PrepRequestProcessor with CommitProcessor, same as the other learner set up.

        Attachments

          Activity

            People

            • Assignee:
              lvfangmin Fangmin Lv
              Reporter:
              lvfangmin Fangmin Lv
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m