ptyin opened a new pull request, #14:
URL: https://github.com/apache/incubator-seata-k8s/pull/14

   This PR aims to optimize current operator synchronization procedure. 
Currently, we use goroutine to poll and call `changeCluster` API. However, it 
is prone to lead to unexpected race condition.
   
   ![seata-k8s 
drawio](https://github.com/apache/incubator-seata-k8s/assets/32592585/8b83434f-408d-46fe-ab1b-bd7f2c1bbeef)
   
   As illustrated in the above figure, the former `changeCluster` may override 
the latter. This PR instead utilizes CR status and requeuing reconciliation. 
Besides, this PR also optimize project structure, moving core functionality to 
"pkg" folder and bumping go version to 1.21 (keep aligned with Dockerfile).


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