Replies: 4 comments
-
What do you mean? Do you have any errors to share? AFAIK session upgrade is automatic. The ZK is choosen automatically, if R2 is down another leader should be elected. But then you have only 2 participants in R1 and you lose quorum. I can't remember what's the suggested deployment but with the current layout it is clear that if R2 is down then ZK cannot make progress |
Beta Was this translation helpful? Give feedback.
-
yea right, it loses the quorum. And the expectation when the quorum is lost and it is running in Read-Only mode, the read requests should be served. pulsar v3.0.7 and Configstore v3.9.2(pulsar v3.0.7) Now our concerns are,
|
Beta Was this translation helpful? Give feedback.
-
This looks like a bug, and we should report it as an issue. Please provide the version and all the pieces of information. |
Beta Was this translation helpful? Give feedback.
-
sure. |
Beta Was this translation helpful? Give feedback.
-
Pulsar version: 3.0.6
Context: we have global zk in 2 regions, R1->2 participants, 2 observers and R2->3 participants, 2 observers. Leader zk is in R2.
Now, lets say in some situation, the quorum is down and the R2 zks went to Read only mode.
Config: we have enabled the metadataStoreAllowReadOnlyOperations in the broker and got to know that localSessionEnabled should also be true as validation is added in this commit:apache/zookeeper@c47ef90 that global sessions dont work in RO mode.
Query: whats the impact of enabling the localSessions in Zookeeper from pulsar side? We read the documentation that local sessions to global session upgrades automatically once quorum is up. But is there any other impact of enabling this in normal situations?
Moreover, Even after enabling this, we have observed that broker makes RO connection with ZK, but still fetching metadata doesn't works and even lookups also dont work. is there any limitation on what sort of reads will work in RO mode?
Beta Was this translation helpful? Give feedback.
All reactions