apurtell commented on code in PR #2461:
URL: https://github.com/apache/phoenix/pull/2461#discussion_r3291110188


##########
src/main/tla/ConsistentFailover/markdown/HAGroupStore.md:
##########
@@ -0,0 +1,445 @@
+# HAGroupStore -- Peer-Reactive Transitions and Auto-Completion
+
+**Source:** [`HAGroupStore.tla`](../HAGroupStore.tla)
+
+## Overview
+
+`HAGroupStore` models the peer-reactive transitions and auto-completion 
actions of the Phoenix Consistent Failover protocol. These actions correspond 
to the `FailoverManagementListener` (`HAGroupStoreManager.java` L633-706), 
which reacts to peer ZK state changes via `PathChildrenCache` watchers, and the 
local auto-completion resolvers from `createLocalStateTransitions()` (L140-150).

Review Comment:
   Yes.
   
   The spec's runtime state machine operates on the per-cluster ZK znode 
managed by HAGroupStoreClient, which is the source of truth for HA group state. 
Catalog reads and writes happen out of band of the failover protocol and are 
intentionally not modeled.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to