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

Prioritising SCM's in SCM HA setup



    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
    • Target Version/s:


      Currently, with safemode being tied to individual SCMs not with the HA state itself, it might happen, a leader out of safe mode , serves client requests and then a leader election can happen which might elect a SCM node which is not out of safe mode, can get elected as a leader being in safe mode itself. In cases as such, when a node gets elected as a leader being in safe mode itlsef, client requests will start failing with Safemode exception although, initially, requests were served successfully by the old leader which was out of safe mode. The idea here is to avoid such experiences.

      The simplest solution to avoid such scenarios to the best extent is to assign priorities to SCM nodes depending upon the safemode status and altering the priority accordingly. These priorities will ensure a node in safe mode does not get elected if there are other nodes in the ring which are out of safe mode.




            • Assignee:
              shashikant Shashikant Banerjee
              shashikant Shashikant Banerjee
            • Votes:
              0 Vote for this issue
              3 Start watching this issue


              • Created: