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