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

   ## What changes were proposed in this pull request?
   
   This PR fixes the inconsistent and unstable assertion being done which is 
related to count of pending container operation count metrics for `WriteChunk` 
and `PutBlock` operations. Pending container operation count metrics for each 
operation is stored in `pendingOpsArray` array and metric count of each 
operation gets incremented and decremented  based on operation start and 
completion and since the operation is Async operation , this metric can be very 
inconsistent to be predicted correctly and assert in test, so we should assert 
total operation count metric which this PR is taking care in all related test 
cases.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-7875
   
   ## How was this patch tested?
   
   This patch is tested with multiple iterations of running each test case and 
removed flaky annotation. Here is the [green CI 
link](https://github.com/devmadhuu/ozone/actions/runs/6433750887) over forked 
branch with 2 attempts of same multiple iterations.
   


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