devmadhuu opened a new pull request, #7868:
URL: https://github.com/apache/ozone/pull/7868

   ## What changes were proposed in this pull request?
   This PR is to fix the processing and consume of OM DB events by Recon when 
Recon was syncing with OM continuously in while loop.
   
   When Recon sync with OM for incremental DB updates in a while loop 
continuously, It had a bug where OMDBUpdates handler was not clearing the DB 
update events consumed already in previous iteration in while loop.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-12325
   
   ## How was this patch tested?
   Patch is tested by running existing Junit and integration tests and running 
following freon test:
   
   ```
   ozone sh volume create volume1
   ozone sh bucket create --layout FILE_SYSTEM_OPTIMIZED volume1/fso-bucket
   ozone freon omkg -n=200000 -v=volume1 -b=fso-bucket
   ```
   
   **After running above freon load, verified the OM DB `fileTable` count :**
   
   `ozone debug ldb --db=/data/metadata/om.db scan --column_family=fileTable 
—count  --> 200000`
   <img width="1041" alt="image" 
src="https://github.com/user-attachments/assets/ebf13966-bcd4-4086-bca5-8f8dca2206f9";
 />
   
   **Then Verified the Recon OM DB `fileTable` count :**
   `ozone debug ldb --db=/data/metadata/om.db scan --column_family=fileTable 
—count  --> 200000`
   <img width="1290" alt="image" 
src="https://github.com/user-attachments/assets/6c22941c-8583-4625-83f8-91fd0f6cb165";
 />
   
   <img width="1723" alt="image" 
src="https://github.com/user-attachments/assets/8a60b664-b022-46d9-a833-469cdc2677c4";
 />
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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