errose28 opened a new pull request #1613:
URL: https://github.com/apache/ozone/pull/1613


   ## What changes were proposed in this pull request?
   
   This is the first Jira to begin implementing prepare functionality OM non 
rolling upgrade/downgrades. See HDDS-4470 for the design these Jiras aim to 
accomplish.
   
   Add the new OM request that will be used to prepare the OM for upgrade. In 
the applyTransaction step for this request:
   1. Wait for double buffer flush to finish.
   2. Take a snapshot.
   3. purge the log.
   
   The transaction log index of this request will be returned in the response 
to the caller.
   
   ## What is the link to the Apache JIRA
   
   HDDS-4480
   
   ## How was this patch tested?
   
   Unit and integration tests added.
   
   ## Notes
   
   Leaving as draft for now for multiple reasons:
   - Updated Ratis version changes exist in this PR that were already merged 
into master. They should be incorporated by merging master into the upgrade 
branch first.
   - Mini ozone cluster issues in one of the integration tests.
   - A bug in table cleanup with the s3 table was found. It is currently fixed 
but needs better documentation and a unit test.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to