Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

删除数据中心(etcd)数据,服务schema未注册到etcd #1429

Open
llongqin opened this issue Sep 27, 2023 · 0 comments
Open

删除数据中心(etcd)数据,服务schema未注册到etcd #1429

llongqin opened this issue Sep 27, 2023 · 0 comments

Comments

@llongqin
Copy link

llongqin commented Sep 27, 2023

Describe the bug

删除数据中心(etcd)数据之后触发java服务重注册,java服务注册schema时因为servicecomb service center 中有缓存schema的summary,导致客户端误判为schema存在,不重注册schema。在后续服务调用时报“schema不存在的错误”
Steps to reproduce the behavior:

java服务、service center及etcd正常注册运行,删除etcd数据。
Expected behavior
java服务和schema重新注册到etcd中。

Platform And Runtime (please complete the following information):

Platform

OS: [Ubuntu]
Browser [e.g. chrome, safari]
Version [CSE-1.3.0-linux-amd64]
Additional context

schemaSummer有100个缓存

TypeSchemaSummary = state.MustRegister("SCHEMA_SUMMARY", path.GetServiceSchemaSummaryRootKey(""),
		state.WithInitSize(100),
		state.WithParser(parser.StringParser))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant