You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "xichen01 (via GitHub)" <gi...@apache.org> on 2024/02/01 03:21:43 UTC

Re: [PR] HDDS-10263. Intermittent failure in freon/metadata-generate robot test [ozone]

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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org