Skip to content

[Backport] Handle uninitialized cache in Node role watchers (#15726)#16052

Merged
cryptoe merged 1 commit intoapache:29.0.1from
AmatyaAvadhanula:backport_15726
Mar 6, 2024
Merged

[Backport] Handle uninitialized cache in Node role watchers (#15726)#16052
cryptoe merged 1 commit intoapache:29.0.1from
AmatyaAvadhanula:backport_15726

Conversation

@AmatyaAvadhanula
Copy link
Contributor

Backport #15726 to 29.0.1

BaseNodeRoleWatcher counts down cacheInitialized after a timeout, but also sets some flag that it was a timed-out initialization. and call nodeViewInitializationTimedOut (new method on listeners) instead of nodeViewInitialized. Then listeners can do what is most appropriate with this information.
@cryptoe cryptoe merged commit 5c7512c into apache:29.0.1 Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants