Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6517 Snapshot support for Ozone
  3. HDDS-8499

Add mechanism to notify threads when om double buffer flushed

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • None

    Description

      In order to support bootstrapping followers, the om snapshot subsystem needs to make consistent copies snapshot, including the deleted keys table which can be updated at any time.

      This means that the background processes modifying the deletedKeys tables need to be halted, and then the bootstrapping process needs to wait for the double buffer to be flushed, (so that any remaining mods to the deletedKeys table is up to date.)

      This PR adds the mechanism to allow a thread to wait until the double buffer has been flushed.

       

      Attachments

        Issue Links

          Activity

            People

              georgeJahad George Jahad
              georgeJahad George Jahad
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: