Skip to content

Conversation

@XComp
Copy link
Contributor

@XComp XComp commented Oct 10, 2022

This closes #398.

This PR is based on PR #398 and adds a few comments from my review of that PR

This PR addresses the review comments individually in separate commits to make it easier to select the ones that are relevant. The final commit is a proposal where I refactor using plain Strings in the eventQueue but rather proper objects that enables us to monitor the latch that triggered the event.

@XComp
Copy link
Contributor Author

XComp commented Oct 10, 2022

2022-10-10T13:50:53.7756841Z [INFO] Running org.apache.curator.framework.recipes.cache.TestPathChildrenCache
2022-10-10T15:00:44.1920989Z ##[error]The operation was canceled.

hm, looks like CI ran into a timeout exceeding the maximum threshold for a CI run of 120min due to TestPathChildrenCache 🤔 I cannot reproduce it locally. But from a brief look, it seems to be unrelated to this PR's change. No LeaderLatch is used. The original PR #398 didn't fail.

@XComp
Copy link
Contributor Author

XComp commented Oct 12, 2022

The timeout of {{TestPathChildrenCache}} in the Java 11 CI job seems to be unrelated to this PR's change: It doesn't utilize LeaderLatch as far as I can see. I created CURATOR-657 to cover this test instability

Copy link
Member

@tisonkun tisonkun left a comment

Choose a reason for hiding this comment

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

LGTM.

@eolivelli you may take a looks at this patch which I think is identical to #398.

We may not always wait for new patches so it's on you when to cut the release. I'll regard this patch and #435 are both not blockers.

@tisonkun
Copy link
Member

Merging...

@tisonkun tisonkun merged commit 9b3a145 into apache:master Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants