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

Attila Doroszlai commented on HDDS-8418:
----------------------------------------

Is the following intermittent failure caused by the race condition?

{code}
[ERROR] 
TestCloseContainerEventHandler.testCloseContainerWithDelayByLeaseManager:151 
Wanted but not invoked:
eventPublisher.fireEvent(
    TypedEvent{payloadType=CommandForDatanode, name='Datanode_Command'},
    <Capturing argument>
);
-> at 
org.apache.hadoop.hdds.scm.container.TestCloseContainerEventHandler.testCloseContainerWithDelayByLeaseManager(TestCloseContainerEventHandler.java:151)
{code}

https://github.com/apache/ozone/actions/runs/4837657037/jobs/8621613046#step:6:1508
https://github.com/apache/ozone/actions/runs/4912918170/jobs/8772503789#step:6:1513

> Lease Manager unsafe method removal
> -----------------------------------
>
>                 Key: HDDS-8418
>                 URL: https://issues.apache.org/jira/browse/HDDS-8418
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Sumit Agrawal
>            Assignee: Sumit Agrawal
>            Priority: Minor
>              Labels: pull-request-available
>
> [https://github.com/apache/ozone/pull/4505#discussion_r1162270135]
>  
> as part of this, need remove lease manager acquire method where race 
> condition is possible when adding callback later.
> And removal of unused code.



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