incubator-seata icon indicating copy to clipboard operation
incubator-seata copied to clipboard

removeOfflineAddressesIfNecessary method may cause the service list to be empty when switching clusters

Open funky-eyes opened this issue 5 months ago • 2 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description

removeOfflineAddressesIfNecessary method may cause the service list to be empty when switching clusters. dce87acf96ae52599a79df177ed88579 我认为这里应该防推空,如果没有交集就不做任何处理,这样就可以解决问题了 I think it should be anti-empty here. If there is no intersection, we will not do any processing, so that the problem can be solved

Ⅱ. Describe what happened

If there is an exception, please attach the exception trace:

Just paste your stack trace here!

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

  1. xxx
  2. xxx
  3. xxx

Minimal yet complete reproducer code (or URL to code):

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • JDK version(e.g. java -version):
  • Seata client/server version:
  • Database version:
  • OS(e.g. uname -a):
  • Others:

funky-eyes avatar Aug 27 '24 15:08 funky-eyes