You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/01/24 18:31:37 UTC

[GitHub] [ozone] adoroszlai opened a new pull request #3015: HDDS-6191. Intermittent failure in TestDeleteWithSlowFollower

adoroszlai opened a new pull request #3015:
URL: https://github.com/apache/ozone/pull/3015


   ## What changes were proposed in this pull request?
   
   `TestDeleteWithSlowFollower` is failing intermittently at an assertion about pipeline leader being present.  This is expected to pass, since we have waited for the pipeline to open (which happens when leader is first elected).
   
   The problem is that a new leader election may be triggered any time (e.g. due to communication error), so the pipeline may lose its leader after it is opened.  This is normally OK, as client should retry until a new leader is elected (within limits defined by retry policy).  See [comment on Jira issue](https://issues.apache.org/jira/browse/HDDS-6191?focusedCommentId=17477168&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17477168) for more details.
   
   Since we cannot guarantee having a leader, this PR proposes to change the test to "best effort": run if the leader exists, skip if it doesn't, by changing the assertion to an assumption.
   
   https://issues.apache.org/jira/browse/HDDS-6191
   
   ## How was this patch tested?
   
   ```
   Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 177.636 s - in org.apache.hadoop.ozone.client.rpc.TestDeleteWithSlowFollower
   ```
   
   https://github.com/adoroszlai/hadoop-ozone/runs/4921145228?#step:4:7918


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


[GitHub] [ozone] lokeshj1703 commented on pull request #3015: HDDS-6191. Intermittent failure in TestDeleteWithSlowFollower

Posted by GitBox <gi...@apache.org>.
lokeshj1703 commented on pull request #3015:
URL: https://github.com/apache/ozone/pull/3015#issuecomment-1020834072


   I didn't know Assume existed in junit. :) 


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


[GitHub] [ozone] lokeshj1703 commented on pull request #3015: HDDS-6191. Intermittent failure in TestDeleteWithSlowFollower

Posted by GitBox <gi...@apache.org>.
lokeshj1703 commented on pull request #3015:
URL: https://github.com/apache/ozone/pull/3015#issuecomment-1020834072






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


[GitHub] [ozone] adoroszlai commented on pull request #3015: HDDS-6191. Intermittent failure in TestDeleteWithSlowFollower

Posted by GitBox <gi...@apache.org>.
adoroszlai commented on pull request #3015:
URL: https://github.com/apache/ozone/pull/3015#issuecomment-1020901095


   Thanks @lokeshj1703 for reviewing and committing it.


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


[GitHub] [ozone] lokeshj1703 merged pull request #3015: HDDS-6191. Intermittent failure in TestDeleteWithSlowFollower

Posted by GitBox <gi...@apache.org>.
lokeshj1703 merged pull request #3015:
URL: https://github.com/apache/ozone/pull/3015


   


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


[GitHub] [ozone] lokeshj1703 commented on pull request #3015: HDDS-6191. Intermittent failure in TestDeleteWithSlowFollower

Posted by GitBox <gi...@apache.org>.
lokeshj1703 commented on pull request #3015:
URL: https://github.com/apache/ozone/pull/3015#issuecomment-1020834662


   @adoroszlai Thanks for the contribution! I have committed the PR to master branch.


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


[GitHub] [ozone] adoroszlai commented on pull request #3015: HDDS-6191. Intermittent failure in TestDeleteWithSlowFollower

Posted by GitBox <gi...@apache.org>.
adoroszlai commented on pull request #3015:
URL: https://github.com/apache/ozone/pull/3015#issuecomment-1020901095


   Thanks @lokeshj1703 for reviewing and committing it.


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


[GitHub] [ozone] lokeshj1703 merged pull request #3015: HDDS-6191. Intermittent failure in TestDeleteWithSlowFollower

Posted by GitBox <gi...@apache.org>.
lokeshj1703 merged pull request #3015:
URL: https://github.com/apache/ozone/pull/3015


   


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