Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-505 OzoneManager HA
  3. HDDS-1856

Make changes required for Non-HA to use new HA code in OM.

    XMLWordPrintableJSON

    Details

    • Target Version/s:

      Description

      In this Jira following things will be implemented:

      1. Make the necessary changes for non-HA code path to use Cache and DoubleBuffer.
        1. When adding to double buffer, return future. This future will be used in the non-HA path to wait for this, and when it is completed return response to the client.
        2. Add to double-buffer will happen inside validateAndUpdateCache. In this way, in non-HA, when multiple RPC handler threads are calling preExecute and validateAndUpdateCache, the order inserted in to double buffer will happen in the order requests are received.

       

      In this Jira, we shall not convert non-ha code path to use this, as security and acl work is not completed to use this new model.

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bharat Bharat Viswanadham
                Reporter:
                bharat Bharat Viswanadham
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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