funky-eyes opened a new pull request, #6326:
URL: https://github.com/apache/incubator-seata/pull/6326

   <!-- Please make sure you have read and understood the contributing 
guidelines -->
   
   - [ ] I have registered the PR [changes](../changes).
   
   ### Ⅰ. Describe what this PR did
   增加集群间元数据同步能力
   1.leader选举成功后,生成只包含它自身的元数据,该元数据为一个单例,并同步至follower
   2.follower收到这个元数据后,发送自身的元数据至server侧,进行补充follower的元数据
   3.leader收到后,在元数据的follower中增加该节点,并推送元数据变更至client和其它tc节点
   并且元数据中增加version字段,用于后续比如存在新旧多版本server,leader可以在同步的时候使用所有节点都能支持的协议,以便向下兼容。
   
   Increase the ability of inter-cluster metadata synchronization 
   1. After the leader election is successful, generate metadata containing 
only itself, which is a singleton and synchronized to followers
   2. After the follower receives this metadata, it sends its own metadata to 
the server side to supplement the follower's metadata.
   3. After the leader receives it, add the node to the follower of the 
metadata, and push the metadata changes to the client and other tc nodes
   And the version field is added to the metadata for subsequent use. For 
example, if there are old and new multi-version servers, the leader can use a 
protocol that all nodes can support during synchronization for backward 
compatibility.
   
   
   ### Ⅱ. Does this pull request fix one issue?
   <!-- If that, add "fixes #xxx" below in the next line, for example, fixes 
#97. -->
   
![image](https://github.com/apache/incubator-seata/assets/19943636/7b8d7fbc-7e2f-4bd1-b988-d3eebe717b09)
   
   
   ### Ⅲ. Why don't you add test cases (unit test/integration test)? 
   
   
   ### Ⅳ. Describe how to verify it
   
   
   ### Ⅴ. Special notes for reviews
   
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to