Skip to content

KVCacheServer: CacheServer.cpp:816: virtual void CacheServer::initialize(): Assertion `false' failed. #78

@CyrusZhou-CN

Description

@CyrusZhou-CN

用容器创建的测试环境,刚刚创建的服务,过一会服务状态就会显示Off
image
删除SemKey.dat文件才可以启动。重启容器后又会出现同样的错误提示。

[initialize server] .............................. [Done]
--
  | ====================================================================================================
  | 2022-02-18 11:00:43\|140237359572864\|DEBUG\|CacheServer::addConfig pullConfig result = [succ] get remote config:CacheServer.conf
  | 2022-02-18 11:00:43\|140237359572864\|DEBUG\|RouterHandle::initialize Succ
  | 2022-02-18 11:00:43\|140237359572864\|DEBUG\|CacheServer::initialize groupName:TestKValueKVGroup1
  | 2022-02-18 11:00:43\|140237359572864\|DEBUG\|CacheServer::initialize get semkey from file: /usr/local/app/tars/tarsnode/data/DCache.TestKValueKVCacheServer1-1/data//SemKey.dat succ, semkey = 1149095802
  | 2022-02-18 11:00:43\|140237359572864\|DEBUG\|CacheServer::initialize semkey = 1149095802
  | 2022-02-18 11:00:43\|140237359572864\|ERROR\|[CacheServer::initialize] file: /usr/local/app/tars/tarsnode/data/DCache.TestKValueKVCacheServer1-1/data//SemKey.dat exist, but shmget 1149095802 failed, errno = 2,master server assert.
  | KVCacheServer: CacheServer.cpp:816: virtual void CacheServer::initialize(): Assertion `false' failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions