-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIP-45: Implement CoordinationService on top of MetadataStore #9221
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work.. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
} | ||
|
||
@Override | ||
public synchronized CompletableFuture<Void> updateValue(T newValue) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably we do not need 'synchonized' here, the real critical section is executed in another thread
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need the synchronized
for reading the version
field
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. Thanks for the clarification
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
…#9221) * PIP-45: CoordinationService * Fixed test compile * Handle concurrent write internally
Motivation
Added
CoordinationService
abstraction implemented on top ofMetadataStore
.CoordinationService provides: