Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2823 SCM HA Support
  3. HDDS-3962

Use getRoleInfoProto() in isLeader check

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Fixed by SCMContext.

    Description

      RATIS-1001 is going to have term in leadership check. SCM should check whether it's leader and at which term. Current isLeader check doesn't report term.

       

      https://github.com/apache/hadoop-ozone/pull/1191/files/0ca2ff54d496ee9c74273a79a1d33e0dd998eecf#diff-0282ededa84a94d13dbed6fbb7ee159bR75

      Attachments

        Issue Links

          Activity

            People

              glengeng Glen Geng
              timmylicheng Li Cheng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: