Results 24 comments of laywin

> However, this still cannot resolve the ABC issue. ![image](https://private-user-images.githubusercontent.com/9292748/313888281-5bd774f0-8e7a-4bc1-bed3-483020b69f18.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTA5MjU0NDgsIm5iZiI6MTcxMDkyNTE0OCwicGF0aCI6Ii85MjkyNzQ4LzMxMzg4ODI4MS01YmQ3NzRmMC04ZTdhLTRiYzEtYmVkMy00ODMwMjBiNjlmMTgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDMyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAzMjBUMDg1OTA4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Mjg0YmJhNzg3ZDVkZDgzNzkwMWQwYmUyYjFhN2I1ZGIwNTE5ZTZmMDVhNmQxNDZiYjA1MzBhM2FlM2FjYzcyOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.fH2wLYelsz6MQ1Qjsu0OqZ7Op6jGqVyDTnfm25tCyf8) it seems a timing problem, there should be a timestamp or version from registry center.

it seems no multi thread makes flow clean and clear. ```java private synchronized void doOnEvent(ServiceInstancesChangedEvent event) { getRemoteMetadata(); int emptyNum = parseMetadata(); if (emptyNum == allInstances.size()) { return; } notify();...

i have tested dubbo 3.3.1, it successed to register app instance programmatically. ```java ServiceConfig service = new ServiceConfig(); service.setInterface(Greeter.class); service.setRef(new GreeterImpl()); DubboBootstrap.getInstance().getCache().get(App.class); RegistryConfig registryConfig = new RegistryConfig("nacos://127.0.0.1:8848"); registryConfig.setRegisterMode("instance"); DubboBootstrap bootstrap...

i think there is bug. your case is special, config combine xml and program. when spring container started, there is no service config in xml, so missed the register process....