xichen01 commented on PR #6137:
URL: https://github.com/apache/ozone/pull/6137#issuecomment-1920431495

   > In principal I am ok with the proposed fix, however I don't understand why 
the failure was intermittent, @adoroszlai can you elaborate why this test could 
pass when it passes?
   
   ```java
   ozone freon ommg --operation LIST_STATUS -n 1 --volume ${VOLUME} --bucket 
${BUCKET_FSO} --batch-size ${n}
   ```
   
   @fapifta The `-n 1` means that the `LIST_STATUS` will only be executed one 
time. The default thread count is 10. If the first thread (`threadSeqId=0`) 
executes the `LIST_STATUS`, the `startKeyName` will be 0. Consequently, the 
testing will execute successfully. If the other threads (`threadSeqId>0`) 
execute the `LIST_STATUS`, the testing will fail.
   
   
   
https://github.com/apache/ozone/blob/b02741fa5f1af6c65f9928ed2f57f7212c7081e0/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OmMetadataGenerator.java#L400-L404


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