[ 
https://issues.apache.org/jira/browse/HDDS-16758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18125205#comment-18125205
 ] 

Attila Doroszlai commented on HDDS-16758:
-----------------------------------------

- 
https://github.com/adoroszlai/ozone-build-results/blob/master/2026/10/05/54361/integration-om/hadoop-ozone/integration-test/org.apache.hadoop.ozone.om.TestOzoneManagerHAFollowerReadWithAllRunning.txt
- 
https://github.com/adoroszlai/ozone-build-results/blob/master/2026/10/06/54373/integration-om/hadoop-ozone/integration-test/org.apache.hadoop.ozone.om.TestOzoneManagerHAFollowerReadWithAllRunning.txt
- 
https://github.com/adoroszlai/ozone-build-results/blob/master/2026/10/06/54392/integration-om/hadoop-ozone/integration-test/org.apache.hadoop.ozone.om.TestOzoneManagerHAFollowerReadWithAllRunning.txt
- 
https://github.com/adoroszlai/ozone-build-results/blob/master/2026/10/06/54395/integration-om/hadoop-ozone/integration-test/org.apache.hadoop.ozone.om.TestOzoneManagerHAFollowerReadWithAllRunning.txt
- 
https://github.com/adoroszlai/ozone-build-results/blob/master/2026/10/07/54447/integration-om/hadoop-ozone/integration-test/org.apache.hadoop.ozone.om.TestOzoneManagerHAFollowerReadWithAllRunning.txt
- 
https://github.com/adoroszlai/ozone-build-results/blob/master/2026/10/07/54450/integration-om/hadoop-ozone/integration-test/org.apache.hadoop.ozone.om.TestOzoneManagerHAFollowerReadWithAllRunning.txt
- 
https://github.com/adoroszlai/ozone-build-results/blob/master/2026/10/07/54454/integration-om/hadoop-ozone/integration-test/org.apache.hadoop.ozone.om.TestOzoneManagerHAFollowerReadWithAllRunning.txt
- 
https://github.com/adoroszlai/ozone-build-results/blob/master/2026/10/07/54455/integration-om/hadoop-ozone/integration-test/org.apache.hadoop.ozone.om.TestOzoneManagerHAFollowerReadWithAllRunning.txt
- 
https://github.com/adoroszlai/ozone-build-results/blob/master/2026/10/07/54466/integration-om/hadoop-ozone/integration-test/org.apache.hadoop.ozone.om.TestOzoneManagerHAFollowerReadWithAllRunning.txt
- 
https://github.com/adoroszlai/ozone-build-results/blob/master/2026/10/07/54469/integration-om/hadoop-ozone/integration-test/org.apache.hadoop.ozone.om.TestOzoneManagerHAFollowerReadWithAllRunning.txt
- 
https://github.com/adoroszlai/ozone-build-results/blob/master/2026/10/08/54502/integration-om/hadoop-ozone/integration-test/org.apache.hadoop.ozone.om.TestOzoneManagerHAFollowerReadWithAllRunning.txt
- 
https://github.com/adoroszlai/ozone-build-results/blob/master/2026/10/08/54521/integration-om/hadoop-ozone/integration-test/org.apache.hadoop.ozone.om.TestOzoneManagerHAFollowerReadWithAllRunning.txt


> Intermittent failure in testClientWithLocalLeaseEnabled due to checking the 
> wrong OM metrics
> --------------------------------------------------------------------------------------------
>
>                 Key: HDDS-16758
>                 URL: https://issues.apache.org/jira/browse/HDDS-16758
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Huang Kuan Hao
>            Assignee: Huang Kuan Hao
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.3.0
>
>
> {code}
> Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 39.10 s <<< 
> FAILURE! -- in 
> org.apache.hadoop.ozone.om.TestOzoneManagerHAFollowerReadWithAllRunning
> org.apache.hadoop.ozone.om.TestOzoneManagerHAFollowerReadWithAllRunning.testClientWithLocalLeaseEnabled
>  -- Time elapsed: 0.016 s <<< FAILURE!
> java.lang.AssertionError: 
> Expecting actual:
>   0L
> to be greater than:
>   0L
>       at 
> org.apache.hadoop.ozone.om.TestOzoneManagerHAFollowerReadWithAllRunning.testClientWithLocalLeaseEnabled(TestOzoneManagerHAFollowerReadWithAllRunning.java:655)
> {code}
>  
> testClientWithLocalLeaseEnabled records the local-lease success count on 
> getCurrentProxy() before listing volumes. LOCAL_LEASE routing skips the known 
> leader, and retries may select another OM. A successful read can therefore 
> leave the checked OM's count unchanged and fail the assertion.
> Record each OM's count before the request, then use getLastProxy() to check 
> the count on the OM that actually served the request. Preserve normal routing 
> and the local-lease assertion.
> Reproduced with a Mini HA cluster on upstream d246fff3f3: when the initial 
> proxy was the known leader, its count stayed 0 while the serving follower's 
> count increased to 1. The original assertion failed; the fix passed under the 
> same initial condition. The complete test class (15 tests), checkstyle and 
> module PMD passed.
> CI failure: 
> [https://github.com/rich7420/ozone/actions/runs/37608060782/job/112823872954]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to