-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Run rootcoord error #6685
Comments
@xuqinkun |
@cydrain right, but I can't kill the milvus process. After that, the docker container will be down. |
@xuqinkun I cannot get your point. |
@cydrain Right, but I want to run the rootcoord on the container for debug. The components are build from source. |
@xuqinkun |
@cydrain All right |
I get an error when I run the rootcoord throuth the command: bin/milvus run rootcoord
The log is as follow:
Welcome to use Milvus!
Version: v0.10.2-1946-g0aeb61db4-dev
Built: Wed Jul 21 02:57:33 UTC 2021
GitCommit: 0aeb61d
GoVersion: go version go1.16.5 linux/amd64
open pid file: /run/milvus/rootcoord.pid
lock pid file: /run/milvus/rootcoord.pid
[2021/07/21 11:03:26.931 +08:00] [DEBUG] [service.go:123] ["grpc init done ..."]
[2021/07/21 11:03:26.934 +08:00] [DEBUG] [service.go:128] ["init params done"]
[2021/07/21 11:03:26.934 +08:00] [DEBUG] [session_util.go:63] ["Session try to connect to etcd"]
[2021/07/21 11:03:26.934 +08:00] [INFO] [logger.go:48] ["parsed scheme: "endpoint""]
[2021/07/21 11:03:26.934 +08:00] [INFO] [logger.go:48] ["ccResolverWrapper: sending new addresses to cc: [{etcd:2379 0 }]"]
[2021/07/21 11:03:26.938 +08:00] [DEBUG] [session_util.go:80] ["Sessiont connect to etcd success"]
[2021/07/21 11:03:26.938 +08:00] [DEBUG] [session_util.go:109] ["Session checkIDExist Begin"]
[2021/07/21 11:03:26.940 +08:00] [DEBUG] [session_util.go:116] ["Session checkIDExist End"]
[2021/07/21 11:03:26.940 +08:00] [DEBUG] [session_util.go:121] ["Session try to get serverID"]
[2021/07/21 11:03:26.942 +08:00] [DEBUG] [session_util.go:152] ["Session get serverID success"]
panic: All attempts results:
attempt #1:function CompareAndSwap error for compare is false for key: RootCoord
attempt #2:function CompareAndSwap error for compare is false for key: RootCoord
attempt #3:function CompareAndSwap error for compare is false for key: RootCoord
attempt #4:function CompareAndSwap error for compare is false for key: RootCoord
attempt #5:function CompareAndSwap error for compare is false for key: RootCoord
attempt #6:function CompareAndSwap error for compare is false for key: RootCoord
attempt #7:function CompareAndSwap error for compare is false for key: RootCoord
attempt #8:function CompareAndSwap error for compare is false for key: RootCoord
attempt #9:function CompareAndSwap error for compare is false for key: RootCoord
attempt #10:function CompareAndSwap error for compare is false for key: RootCoord
attempt #11:function CompareAndSwap error for compare is false for key: RootCoord
attempt #12:function CompareAndSwap error for compare is false for key: RootCoord
attempt #13:function CompareAndSwap error for compare is false for key: RootCoord
attempt #14:function CompareAndSwap error for compare is false for key: RootCoord
attempt #15:function CompareAndSwap error for compare is false for key: RootCoord
attempt #16:function CompareAndSwap error for compare is false for key: RootCoord
attempt #17:function CompareAndSwap error for compare is false for key: RootCoord
attempt #18:function CompareAndSwap error for compare is false for key: RootCoord
attempt #19:function CompareAndSwap error for compare is false for key: RootCoord
attempt #20:function CompareAndSwap error for compare is false for key: RootCoord
attempt #21:function CompareAndSwap error for compare is false for key: RootCoord
attempt #22:function CompareAndSwap error for compare is false for key: RootCoord
attempt #23:function CompareAndSwap error for compare is false for key: RootCoord
attempt #24:function CompareAndSwap error for compare is false for key: RootCoord
attempt #25:function CompareAndSwap error for compare is false for key: RootCoord
attempt #26:function CompareAndSwap error for compare is false for key: RootCoord
attempt #27:function CompareAndSwap error for compare is false for key: RootCoord
attempt #28:function CompareAndSwap error for compare is false for key: RootCoord
attempt #29:function CompareAndSwap error for compare is false for key: RootCoord
attempt #30:function CompareAndSwap error for compare is false for key: RootCoord
goroutine 24 [running]:
github.com/milvus-io/milvus/internal/util/sessionutil.(*Session).Init(0xc000410850, 0x226beb6, 0x9, 0xc000584060, 0xf, 0x1, 0x1)
/code/milvus/internal/util/sessionutil/session_util.go:99 +0x157
github.com/milvus-io/milvus/internal/rootcoord.(*Core).Register(0xc000327a40, 0x10, 0x0)
/code/milvus/internal/rootcoord/root_coord.go:874 +0xd6
github.com/milvus-io/milvus/internal/distributed/rootcoord.(*Server).init(0xc0002174a0, 0x100000000, 0xc0000caa48)
/code/milvus/internal/distributed/rootcoord/service.go:130 +0x142
github.com/milvus-io/milvus/internal/distributed/rootcoord.(*Server).Run(0xc0002174a0, 0xffffffffffffffff, 0x243cc38)
/code/milvus/internal/distributed/rootcoord/service.go:108 +0x2f
github.com/milvus-io/milvus/cmd/components.(*RootCoord).Run(...)
/code/milvus/cmd/components/root_coord.go:45
github.com/milvus-io/milvus/cmd/roles.(*MilvusRoles).runRootCoord.func1(0xc000581900, 0x243c3b0, 0xc0000a0a40, 0xc0000112c0, 0xc0000caa40)
/code/milvus/cmd/roles/roles.go:97 +0xfc
created by github.com/milvus-io/milvus/cmd/roles.(*MilvusRoles).runRootCoord
/code/milvus/cmd/roles/roles.go:82 +0xb0
Environment:
Configuration file:
etcd:
endpoints:
- localhost:2379
rootPath: by-dev
metaSubPath: meta # metaRootPath = rootPath + '/' + metaSubPath
kvSubPath: kv # kvRootPath = rootPath + '/' + kvSubPath
segmentBinlogSubPath: datacoord/binlog/segment # Full Path = rootPath/metaSubPath/segmentBinlogSubPath
collectionBinlogSubPath: datacoord/binlog/collection # Full Path = rootPath/metaSubPath/collectionBinglogSubPath
flushStreamPosSubPath: datacoord/flushstream # Full path = rootPath/metaSubPath/flushStreamPosSubPath
statsStreamPosSubPath: datacoord/statsstream # Full path = rootPath/metaSubPath/statsStreamPosSubPath
minio:
address: localhost
port: 9000
accessKeyID: minioadmin
secretAccessKey: minioadmin
useSSL: false
bucketName: "a-bucket"
pulsar:
address: localhost
port: 6651
maxMessageSize: 5242880 # 5 * 1024 * 1024 Bytes
rocksmq:
path: /var/lib/milvus/rdb_data
rootCoord:
address: localhost
port: 53101
proxy:
port: 19531
queryCoord:
address: localhost
port: 19531
queryNode:
gracefulTime: 1000 # ms, for search
port: 21123
indexCoord:
address: localhost
port: 31001
indexNode:
port: 21122
dataCoord:
address: localhost
port: 13334
dataNode:
port: 21125
log:
level: debug # info, warn, error, panic, fatal
file:
rootPath: "" # default to stdout, stderr
maxSize: 300 # MB
maxAge: 10 # day
maxBackups: 20
format: text # text/json
Additional context:
Build from source, I want to run the all components on the Ubuntu which is issued by the docker.
The text was updated successfully, but these errors were encountered: