go-kratos / kratos

Your ultimate Go microservices framework for the cloud-native era.
https://go-kratos.dev
MIT License
23.43k stars 4.01k forks source link

fix(registry/polaris): fix concurrent map iteration and map write #3361 #3386

Closed Ccheers closed 3 months ago

Ccheers commented 4 months ago

Description (what this PR does / why we need it):

fix concurrent map iteration and map write

Which issue(s) this PR fixes (resolves / be part of):

3361

Other special notes for the reviewers: