Milvus 2.3.0 docker 18.x不兼容 导致milvus-standalone没起来,启动时候报错goroutine 286 [select]:runtime.gopark...

报错信息 docker logs milvus-standalone

goroutine 284 [select]:
runtime.gopark(0xc0000407b0?, 0x2?, 0xa0?, 0xc8?, 0xc000040794?)
	/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000040618 sp=0xc0000405f8 pc=0x1543096
runtime.selectgo(0xc0000407b0, 0xc000040790, 0xc00042f740?, 0x0, 0xc00042f380?, 0x1)
	/usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc000040758 sp=0xc000040618 pc=0x1553bbe
google.golang.org/grpc.newClientStreamWithParams.func4()
	/go/pkg/mod/google.golang.org/[email protected]/stream.go:375 +0x92 fp=0xc0000407e0 sp=0xc000040758 pc=0x1c694d2
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0000407e8 sp=0xc0000407e0 pc=0x1579301
created by google.golang.org/grpc.newClientStreamWithParams
	/go/pkg/mod/google.golang.org/[email protected]/stream.go:374 +0xf2a

goroutine 286 [select]:
runtime.gopark(0xc000ec1e40?, 0x5?, 0x88?, 0x1c?, 0xc000ec1de6?)
	/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000ec1c40 sp=0xc000ec1c20 pc=0x1543096
runtime.selectgo(0xc000ec1e40, 0xc000ec1ddc, 0xc0003dc050?, 0x1, 0x3b817a0?, 0x1)
	/usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc000ec1d80 sp=0xc000ec1c40 pc=0x1553bbe
go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveSubstream(0xc0005f29c0, 0xc001072840, 0xc00058ba40)
	/go/pkg/mod/go.etcd.io/etcd/client/[email protected]/watch.go:803 +0x265 fp=0xc000ec1fb8 sp=0xc000ec1d80 pc=0x1d2c5a5
go.etcd.io/etcd/client/v3.(*watchGrpcStream).run.func2()
	/go/pkg/mod/go.etcd.io/etcd/client/[email protected]/watch.go:554 +0x2e fp=0xc000ec1fe0 sp=0xc000ec1fb8 pc=0x1d2b84e
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000ec1fe8 sp=0xc000ec1fe0 pc=0x1579301
created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).run
	/go/pkg/mod/go.etcd.io/etcd/client/[email protected]/watch.go:554 +0xc2c

goroutine 287 [select]:
runtime.gopark(0xc001587c08?, 0x3?, 0x9?, 0xa3?, 0xc001587ba2?)
	/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc001587a08 sp=0xc0015879e8 pc=0x1543096
runtime.selectgo(0xc001587c08, 0xc001587b9c, 0xc000d19600?, 0x0, 0x4492560?, 0x1)
	/usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc001587b48 sp=0xc001587a08 pc=0x1553bbe
github.com/milvus-io/milvus/internal/util/sessionutil.(*Session).LivenessCheck.func1()
	/go/src/github.com/milvus-io/milvus/internal/util/sessionutil/session_util.go:798 +0x16f fp=0xc001587fe0 sp=0xc001587b48 pc=0x2de5bef
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc001587fe8 sp=0xc001587fe0 pc=0x1579301
created by github.com/milvus-io/milvus/internal/util/sessionutil.(*Session).LivenessCheck
	/go/src/github.com/milvus-io/milvus/internal/util/sessionutil/session_util.go:795 +0x20c

goroutine 289 [sleep]:
runtime.gopark(0x18fcda7e134?, 0x0?, 0x0?, 0x0?, 0x44ab810?)
	/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000ec6c48 sp=0xc000ec6c28 pc=0x1543096
time.Sleep(0x8bb2c97000)
	/usr/local/go/src/runtime/time.go:195 +0x135 fp=0xc000ec6c88 sp=0xc000ec6c48 pc=0x1575f35
github.com/milvus-io/milvus/internal/mq/mqimpl/rocksmq/server.NewRocksMQ.func1()
	/go/src/github.com/milvus-io/milvus/internal/mq/mqimpl/rocksmq/server/rocksmq_impl.go:273 +0x7e fp=0xc000ec6fe0 sp=0xc000ec6c88 pc=0x2d9cf5e
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000ec6fe8 sp=0xc000ec6fe0 pc=0x1579301
created by github.com/milvus-io/milvus/internal/mq/mqimpl/rocksmq/server.NewRocksMQ
	/go/src/github.com/milvus-io/milvus/internal/mq/mqimpl/rocksmq/server/rocksmq_impl.go:271 +0xa2e

原因:docker 版本不兼容

报错版本

#docker version
Client:
 Version:           18.06.3-ce
 API version:       1.38
 Go version:        go1.10.3
 Git commit:        d7080c1
 Built:             Wed Feb 20 02:27:18 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.06.3-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.10.3
  Git commit:       d7080c1
  Built:            Wed Feb 20 02:26:20 2019
  OS/Arch:          linux/amd64
  Experimental:     false

docker升级到目前最新版

Client: Docker Engine - Community
 Version:           24.0.6
 API version:       1.43
 Go version:        go1.20.7
 Git commit:        ed223bc
 Built:             Mon Sep  4 12:35:25 2023
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          24.0.6
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.7
  Git commit:       1a79695
  Built:            Mon Sep  4 12:34:28 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.9
  GitCommit:        1c90a442489720eec95342e1789ee8a5e1b9536f
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

你可能感兴趣的:(milvus,数据库)