-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Update docker-compose.yml #983
base: 6.1.1-post
Are you sure you want to change the base?
Conversation
Automatic observer promotion requires version:2 for log.placement.constraints
@mcascallares thanks for the PR. Can you please update the description with details and reference links if available? For example, the tutorial appears to work today without this PR -- is that actually not true? |
Hi @ybyzek We just tested it today with version 1, simulating the failover scenario and it didn't work. @csarrazi discovered this blog post https://www.confluent.io/blog/automatic-observer-promotion-for-safe-multi-datacenter-failover-in-confluent-6-1/ that explicitly states "Automatic Observer Promotion is activated by changing the version of the replica placement policy to two." Hope this helps! |
Can you please elaborate on "it didn't work"? What was the symptom? This will help me validate the PR |
Sorry, my bad. "It didn't work" -> when we brought down one of the ISR, and the observerPromotionPolicy was met, it didn't promote one of the observers. @csarrazi discovered that blog post, we switched from v1 to v2 as my PR, and the automatic promotion was triggered. It is also highlighted in our docs https://docs.confluent.io/platform/current/multi-dc-deployments/multi-region.html#automatic-observer-promotion |
There are specific topics that showcase the automatic observer promotion behavior, and they all use version=2 (see directory https://github.com/confluentinc/examples/tree/6.1.1-post/multiregion/config): https://github.com/confluentinc/examples/blob/6.1.1-post/multiregion/config/placement-multi-region-async-op-leader-is-observer.json#L2 So the PR as it stands today -- I'm still not clear what affect it has in the tutorial. cc: @thomaskwscott who added Automatic Observer Promotion into this tutorial, for additional comment |
Automatic observer promotion requires version:2 for log.placement.constraints
Description
What behavior does this PR change, and why?
Author Validation
Describe the validation already done, or needs to be done, by the PR submitter.
Reviewer Tasks
Describe the tasks/validation that the PR submitter is requesting to be done by the reviewer.