No-SilverBullet opened a new pull request, #746: URL: https://github.com/apache/incubator-seata-go/pull/746
<!-- Thanks for sending a pull request! --> **What this PR does**: Refactoring the getty module: 1. The logic of newSession is adjusted to sessionManager, all the logic of rpcClient is moved to sessionManager, and rpcClient is removed; 2. The sessionManager member in gettyClientHandler is removed 3. gettyRemoting cancels the singleton, as a member variable of gettyRemotingClient, gettyRemotingClient continues to maintain the singleton to provide communication capabilities for the upper layer 4. Added the function of removing the session after the heartbeat fails and the maximum number of retries is exceeded **Which issue(s) this PR fixes**: https://github.com/apache/incubator-seata-go/issues/695 https://github.com/apache/incubator-seata-go/issues/694 https://github.com/apache/incubator-seata-go/issues/740 <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. _If PR is about `failing-tests or flakes`, please post the related issues/tests in a comment and do not use `Fixes`_* --> Fixes # **Special notes for your reviewer**: **Does this PR introduce a user-facing change?**: <!-- If no, just write "NONE" in the release-note block below. If yes, a release note is required: Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required". --> ```release-note ``` -- 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]
