You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Complete local lifecycle for application-level metadata / 完善应用级 metadata 本地生命周期 #3349
Historically, #2534 significantly simplified the dubbo-go metadata module and kept the main path focused on application-level metadata: MetadataInfo, revision, service-app mapping, and MetadataService. This issue only focuses on the local lifecycle of application-level metadata. It does not propose restoring provider/consumer service-level metadata or ServiceDefinition.
The top-level metadata package only exposes add operations, while unregister and unsubscribe paths do not wire RemoveService / RemoveSubscribeURL into the lifecycle.
This may cause:
Stale service URLs remaining in local MetadataInfo.
Revision still being calculated from old URLs.
MetadataService.GetMetadataInfo returning stale service metadata.
Unreliable metadata during dynamic register/unregister and subscribe/unsubscribe flows.
Suggestions
Add top-level remove APIs in the metadata package, such as RemoveService(registryId, url) and RemoveSubscribeURL(registryId, url).
Call the remove APIs from UnRegister / UnSubscribe paths.
Recalculate and publish application-level metadata revision after removal.
Add tests for dynamic register, unregister, subscribe, and unsubscribe lifecycle.
changed the title [-][metadata] 完善应用级 metadata 的本地删除生命周期[/-][+][FEATURE] Complete local lifecycle for application-level metadata / 完善应用级 metadata 本地生命周期[/+]on May 30, 2026
Activity
[-][metadata] 完善应用级 metadata 的本地删除生命周期[/-][+][FEATURE] Complete local lifecycle for application-level metadata / 完善应用级 metadata 本地生命周期[/+]AsperforMias commentedon May 30, 2026
hi,may i have a try for it?
Alanxtl commentedon May 31, 2026
close via #3357