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

[BUG]错误: create config data error[DCacheOptImp::createDBAccessConf] error, main key miss! #877

Open
CyrusZhou-CN opened this issue Feb 9, 2022 · 0 comments
Labels

Comments

@CyrusZhou-CN
Copy link

What version of TARS and what language are you using?

What operating system (Linux, Windows, ...) and version? [e.g. CentOS 7.8]
docker tarscloud/framework:latest
What runtime/compiler are you using? [e.g. JDK version or version of gcc]
mysql:5.6
Describe the bug
错误: create config data error[DCacheOptImp::createDBAccessConf] error, main key miss!

To Reproduce
Steps to reproduce the behavior:
创建模块 key-value(KVCache)

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
image
Additional context

2022-02-09 10:50:29|140225422542592|DEBUG|installKVCacheModule:736|app name: Test|module name: TestKV
2022-02-09 10:50:29|140225422542592|DEBUG|insertAppModTable:3639|app name:Test|module name:TestKV|cache type:KVCACHE
2022-02-09 10:50:29|140225422542592|DEBUG|insertConfigFilesTable:3676|server name:Test|host:
2022-02-09 10:50:31|140225422542592|DEBUG|insertConfigFilesTable:3676|server name:DCache.TestKVKVCacheServer1-1|host:7.1.0.4
2022-02-09 10:50:31|140225422542592|DEBUG|insertCache2RouterDb:4077|insert module name and cache server info to router db table|module name:TestKV
2022-02-09 10:50:31|140225422542592|DEBUG|insertCache2RouterDb:4102|module name:TestKV already exist, update router version, do SQL:update t_router_module set version = version+1 where module_name='TestKV';
2022-02-09 10:50:31|140225422542592|DEBUG|reloadRouterByModule:3021|app:DCache|module name:TestKV|router server name:DCache.TestRouterServer
2022-02-09 10:50:31|140225422542592|DEBUG|checkRouterLoadModule:2880|app:DCache|module name:TestKV|router server name:DCache.TestRouterServer
2022-02-09 10:50:32|140225422542592|DEBUG|insertCacheRouter:4981|cache server name:TestKVKVCacheServer1-1|router server name:DCache.TestRouterServer.RouterObj
2022-02-09 10:50:32|140225422542592|DEBUG|installKVCacheModule:832|finish
2022-02-09 10:50:32|140225430935296|DEBUG|installDBAccess:655|{"cacheType":1,"replace":true,"conf":{"vDBInfo":[{"charset":"utf8mb4","port":"3306","user":"root","pwd":"123456","ip":"7.1.0.2"}],"tableEngine":"InnoDB","tablePrefix":"t_TestKV_","tableCharset":"utf8mb4","tableNum":1,"DBPrefix":"db_TestKV_","DBNum":1,"isDigital":false},"vtModuleRecord":[],"isSerializated":true,"serverTemplate":"DCache.Cache","serverIp":["7.1.0.4"],"serverName":"DCache.TestKVDbAccessServer","appName":"Test"}
2022-02-09 10:50:32|140225430935296|ERROR|[DCacheOptImp::createDBAccessConf] error, main key miss!
2022-02-09 10:50:32|140225430935296|ERROR|[DCacheOptImp::installDBAccess] create config data error!
2022-02-09 10:51:32|140225833588480|DEBUG|[TARS]timeout [7.1.0.3:41362] del from list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant