Skip to content

Conversation

@hemantk-12
Copy link
Contributor

@hemantk-12 hemantk-12 commented Sep 21, 2023

What changes were proposed in this pull request?

After #5986, pendingEvictionList has been removed and assertion on pendingEvictionList has been removed as well which was causing Intermittent test failure. This change is to remove flaky tag from the test.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-9288

How was this patch tested?

Ran the test on local repo 10X10 times: https://github.com/hemantk-12/ozone/actions/runs/7563200213

@adoroszlai
Copy link
Contributor

Thanks @hemantk-12 for working on this.

I'm not sure the patch fixes the problem. Tested in 10x10 runs (of TestSnapshotDeletingService, not only testMultipleSnapshotKeyReclaim) both without and with the patch:

  • without: assertion failed in 1/100 cases (1)
  • with: waitFor timed out in 2/100 cases (1, 2)

@hemantk-12
Copy link
Contributor Author

@adoroszlai thanks for reviewing it.

I'm not sure the patch fixes the problem. Tested in 10x10 runs (of TestSnapshotDeletingService, not only testMultipleSnapshotKeyReclaim) both without and with the patch:

You are right. It doesn't fix it. I need to do more deep dive here.
Seems like an issue with Set#remove() here: https://github.com/apache/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/snapshot/SnapshotCache.java#L108

@adoroszlai adoroszlai marked this pull request as draft September 25, 2023 10:50
@hemantk-12 hemantk-12 marked this pull request as ready for review January 18, 2024 01:25
@hemantk-12 hemantk-12 added the snapshot https://issues.apache.org/jira/browse/HDDS-6517 label Jan 18, 2024
Copy link
Contributor

@swamirishi swamirishi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the patch @hemantk-12 LGTM

@hemantk-12 hemantk-12 merged commit 1d39089 into apache:master Jan 22, 2024
@hemantk-12
Copy link
Contributor Author

Thanks for the review @swamirishi and @adoroszlai.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

snapshot https://issues.apache.org/jira/browse/HDDS-6517

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants