funky-eyes commented on PR #7586: URL: https://github.com/apache/incubator-seata/pull/7586#issuecomment-3195311687
> @funky-eyes > > I first select the Node in order to determine whether to use HTTP/2 or HTTP/1, and then extract the address accordingly. > > There’s one decision point we need to address. With HTTP/1, I can process the result after receiving the response, whereas with HTTP/2, the result is handled via a callback. I’m currently considering how to make the behavior consistent between the two. > > If you have any suggestions for a good approach, Don't hesitate to tell me :) I agree, because during initialization, the server-side API is called to obtain metadata about the members in the Raft group. At this point, it’s possible to retrieve the version number of each member, which can then be used for version switching as needed. -- 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: notifications-unsubscr...@seata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org