Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9366

Only the Ratis leader DataNode should verify ACL and block token

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Today the DataNode perform ACL check and block token verification on each DataNodes.

       

      This is wrong, as DataNode can diverge in state. Only leader DN should decide to accept a request or not. I have seen a case where the follower reject a request because its block token expired, but the leader accepted the request. State diverged.

       

      cc: szetszwo  duongnguyen  ritesh 

      Attachments

        Issue Links

          Activity

            People

              duongnguyen Duong
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: