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

docker pull 预热过的镜像死循环 #1082

Closed
kfhanjie opened this issue Feb 18, 2022 · 1 comment
Closed

docker pull 预热过的镜像死循环 #1082

kfhanjie opened this issue Feb 18, 2022 · 1 comment

Comments

@kfhanjie
Copy link

Bug report:

dragonfly版本 v2.0.2-rc.7

  1. 通过harbor对接dragonfly 预热了一个镜像

  2. docker pull 下载卡住了

  3. 查看了scheduler, dfdaemon , cdn组建日志发现反复在充实,不停打日志

scheduler日志

2022-02-18T07:21:18.668Z INFO service/service.go:246 receive piece: &scheduler.PieceResult{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc000768520)}, sizeCache:0, unknownFields:[]uint8(nil), TaskId:"178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", SrcPid:"172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", DstPid:"172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN", PieceInfo:(*base.PieceInfo)(0xc000d47a40), BeginTime:0x16d4d060f06360a8, EndTime:0x16d4d060f06d0a2c, Success:false, Code:4404, HostLoad:(*base.HostLoad)(nil), FinishedCount:0} &base.PieceInfo{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(nil)}, sizeCache:0, unknownFields:[]uint8(nil), PieceNum:0, RangeStart:0x0, RangeSize:0x48645, PieceMd5:"d452fb7eeefd9a896204dca0f97c42e7", PieceOffset:0x0, PieceStyle:0} {"taskID": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "peerID": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e"}
2022-02-18T07:21:18.668Z ERROR service/service.go:287 receive failed piece: &scheduler.PieceResult{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc000768520)}, sizeCache:0, unknownFields:[]uint8(nil), TaskId:"178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", SrcPid:"172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", DstPid:"172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN", PieceInfo:(*base.PieceInfo)(0xc000d47a40), BeginTime:0x16d4d060f06360a8, EndTime:0x16d4d060f06d0a2c, Success:false, Code:4404, HostLoad:(*base.HostLoad)(nil), FinishedCount:0} &base.PieceInfo{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(nil)}, sizeCache:0, unknownFields:[]uint8(nil), PieceNum:0, RangeStart:0x0, RangeSize:0x48645, PieceMd5:"d452fb7eeefd9a896204dca0f97c42e7", PieceOffset:0x0, PieceStyle:0} {"taskID": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "peerID": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e"}
d7y.io/dragonfly/v2/scheduler/service.(*Service).ReportPieceResult
/go/src/d7y.io/dragonfly/v2/scheduler/service/service.go:287
d7y.io/dragonfly/v2/scheduler/rpcserver.(*Server).ReportPieceResult
/go/src/d7y.io/dragonfly/v2/scheduler/rpcserver/rpcserver.go:67
d7y.io/dragonfly/v2/pkg/rpc/scheduler._Scheduler_ReportPieceResult_Handler
/go/src/d7y.io/dragonfly/v2/pkg/rpc/scheduler/scheduler_grpc.pb.go:165
github.com/grpc-ecosystem/go-grpc-middleware/validator.StreamServerInterceptor.func1
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/validator/validator.go:72
github.com/grpc-ecosystem/go-grpc-middleware.ChainStreamServer.func1.1.1
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/chain.go:49
github.com/grpc-ecosystem/go-grpc-middleware/logging/zap.StreamServerInterceptor.func1
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/logging/zap/server_interceptors.go:53
github.com/grpc-ecosystem/go-grpc-middleware.ChainStreamServer.func1.1.1
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/chain.go:49
github.com/grpc-ecosystem/go-grpc-prometheus.(*ServerMetrics).StreamServerInterceptor.func1
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/server_metrics.go:121
github.com/grpc-ecosystem/go-grpc-middleware.ChainStreamServer.func1.1.1
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/chain.go:49
d7y.io/dragonfly/v2/pkg/rpc.streamServerInterceptor
/go/src/d7y.io/dragonfly/v2/pkg/rpc/server.go:63
github.com/grpc-ecosystem/go-grpc-middleware.ChainStreamServer.func1.1.1
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/chain.go:49
github.com/grpc-ecosystem/go-grpc-middleware.ChainStreamServer.func1
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/chain.go:58
google.golang.org/grpc.(*Server).processStreamingRPC
/go/pkg/mod/google.golang.org/[email protected]/server.go:1557
google.golang.org/grpc.(*Server).handleStream
/go/pkg/mod/google.golang.org/[email protected]/server.go:1630
google.golang.org/grpc.(*Server).serveStreams.func1.2
/go/pkg/mod/google.golang.org/[email protected]/server.go:941
2022-02-18T07:21:18.668Z ERROR service/service.go:476 peer back to source finished with fail piece {"taskID": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "peerID": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e"}
d7y.io/dragonfly/v2/scheduler/service.(*Service).handlePieceFail
/go/src/d7y.io/dragonfly/v2/scheduler/service/service.go:476
d7y.io/dragonfly/v2/scheduler/service.(*Service).ReportPieceResult
/go/src/d7y.io/dragonfly/v2/scheduler/service/service.go:288
d7y.io/dragonfly/v2/scheduler/rpcserver.(*Server).ReportPieceResult
/go/src/d7y.io/dragonfly/v2/scheduler/rpcserver/rpcserver.go:67
d7y.io/dragonfly/v2/pkg/rpc/scheduler._Scheduler_ReportPieceResult_Handler
/go/src/d7y.io/dragonfly/v2/pkg/rpc/scheduler/scheduler_grpc.pb.go:165
github.com/grpc-ecosystem/go-grpc-middleware/validator.StreamServerInterceptor.func1
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/validator/validator.go:72
github.com/grpc-ecosystem/go-grpc-middleware.ChainStreamServer.func1.1.1
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/chain.go:49
github.com/grpc-ecosystem/go-grpc-middleware/logging/zap.StreamServerInterceptor.func1
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/logging/zap/server_interceptors.go:53
github.com/grpc-ecosystem/go-grpc-middleware.ChainStreamServer.func1.1.1
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/chain.go:49
github.com/grpc-ecosystem/go-grpc-prometheus.(*ServerMetrics).StreamServerInterceptor.func1
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/server_metrics.go:121
github.com/grpc-ecosystem/go-grpc-middleware.ChainStreamServer.func1.1.1
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/chain.go:49
d7y.io/dragonfly/v2/pkg/rpc.streamServerInterceptor
/go/src/d7y.io/dragonfly/v2/pkg/rpc/server.go:63
github.com/grpc-ecosystem/go-grpc-middleware.ChainStreamServer.func1.1.1
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/chain.go:49
github.com/grpc-ecosystem/go-grpc-middleware.ChainStreamServer.func1
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/chain.go:58
google.golang.org/grpc.(*Server).processStreamingRPC
/go/pkg/mod/google.golang.org/[email protected]/server.go:1557
google.golang.org/grpc.(*Server).handleStream
/go/pkg/mod/google.golang.org/[email protected]/server.go:1630
google.golang.org/grpc.(*Server).serveStreams.func1.2
/go/pkg/mod/google.golang.org/[email protected]/server.go:941
2022-02-18T07:21:18.670Z INFO service/service.go:246 receive piece: &scheduler.PieceResult{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc000768520)}, sizeCache:0, unknownFields:[]uint8(nil), TaskId:"2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", SrcPid:"172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", DstPid:"172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN", PieceInfo:(*base.PieceInfo)(0xc000d47b60), BeginTime:0x16d4d060f0948bc5, EndTime:0x16d4d060f0a81a81, Success:false, Code:4404, HostLoad:(*base.HostLoad)(nil), FinishedCount:0} &base.PieceInfo{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(nil)}, sizeCache:0, unknownFields:[]uint8(nil), PieceNum:0, RangeStart:0x0, RangeSize:0x385, PieceMd5:"c6f05203eda77870c539593d359819b1", PieceOffset:0x0, PieceStyle:0} {"taskID": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "peerID": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2"}
2022-02-18T07:21:18.670Z ERROR service/service.go:287 receive failed piece: &scheduler.PieceResult{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc000768520)}, sizeCache:0, unknownFields:[]uint8(nil), TaskId:"2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", SrcPid:"172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", DstPid:"172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN", PieceInfo:(*base.PieceInfo)(0xc000d47b60), BeginTime:0x16d4d060f0948bc5, EndTime:0x16d4d060f0a81a81, Success:false, Code:4404, HostLoad:(*base.HostLoad)(nil), FinishedCount:0} &base.PieceInfo{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(nil)}, sizeCache:0, unknownFields:[]uint8(nil), PieceNum:0, RangeStart:0x0, RangeSize:0x385, PieceMd5:"c6f05203eda77870c539593d359819b1", PieceOffset:0x0, PieceStyle:0} {"taskID": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "peerID": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2"}
d7y.io/dragonfly/v2/scheduler/service.(*Service).ReportPieceResult
/go/src/d7y.io/dragonfly/v2/scheduler/service/service.go:287

dfdamon日志
d7y.io/dragonfly/v2/client/daemon/peer.(*peerTaskConductor).waitFailedPiece
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/peertask_conductor.go:927
d7y.io/dragonfly/v2/client/daemon/peer.(*peerTaskConductor).pullPiecesFromPeers
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/peertask_conductor.go:782
2022-02-18T07:21:19.314Z DEBUG peer/peertask_conductor.go:723 try to get pieces, number: 0, limit: 1 {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.314Z DEBUG peer/peertask_piecetask_poller.go:94 try get piece task from peer 172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN, piece num: 0, limit: 1" {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.315Z DEBUG client/client.go:59 success add dns:///172.19.0.5:8003 to server node list {"conn": "cdn-elastic"}
2022-02-18T07:21:19.315Z DEBUG client/client.go:92 start to get client conn by target dns:///172.19.0.5:8003 {"conn": "cdn-elastic"}
2022-02-18T07:21:19.315Z DEBUG rpc/client.go:293 hit cache clientConn associated with node dns:///172.19.0.5:8003 {"conn": "cdn-elastic"}
2022-02-18T07:21:19.315Z DEBUG client/client.go:92 successfully get dns:///172.19.0.5:8003 client conn {"conn": "cdn-elastic"}
2022-02-18T07:21:19.315Z WARN peer/peertask_conductor.go:927 download piece/0 failed, retry {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
d7y.io/dragonfly/v2/client/daemon/peer.(*peerTaskConductor).waitFailedPiece
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/peertask_conductor.go:927
d7y.io/dragonfly/v2/client/daemon/peer.(*peerTaskConductor).pullPiecesFromPeers
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/peertask_conductor.go:782
2022-02-18T07:21:19.315Z DEBUG peer/peertask_conductor.go:723 try to get pieces, number: 0, limit: 1 {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
2022-02-18T07:21:19.315Z DEBUG peer/peertask_piecetask_poller.go:94 try get piece task from peer 172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN, piece num: 0, limit: 1" {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
2022-02-18T07:21:19.315Z DEBUG client/client.go:59 success add dns:///172.19.0.5:8003 to server node list {"conn": "cdn-elastic"}
2022-02-18T07:21:19.315Z DEBUG client/client.go:92 start to get client conn by target dns:///172.19.0.5:8003 {"conn": "cdn-elastic"}
2022-02-18T07:21:19.315Z DEBUG rpc/client.go:293 hit cache clientConn associated with node dns:///172.19.0.5:8003 {"conn": "cdn-elastic"}
2022-02-18T07:21:19.315Z DEBUG client/client.go:92 successfully get dns:///172.19.0.5:8003 client conn {"conn": "cdn-elastic"}
2022-02-18T07:21:19.324Z INFO peer/peertask_piecetask_poller.go:97 got piece task from peer 172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN ok, pieces length: 1, totalPiece: 1, content length: 296517, piece md5 sign: c867c698b652bd945e5ca34ace749d476820348b35bbe446cc985ee49f802260 {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.324Z DEBUG storage/local_storage.go:175 update total pieces: 1 {"task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "component": "localTaskStore"}
2022-02-18T07:21:19.324Z DEBUG peer/peertask_conductor.go:766 update content length: 296517 {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.324Z DEBUG peer/peertask_conductor.go:880 dispatch piece request, piece count: 1 {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.324Z INFO peer/peertask_conductor.go:889 get piece 0 from 172.19.0.5:8001/172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN, digest: d452fb7eeefd9a896204dca0f97c42e7, start: 0, size: 296517 {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.324Z INFO peer/peertask_conductor.go:780 all pieces requests sent, just wait failed pieces {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.324Z DEBUG peer/peertask_conductor.go:955 peer download worker #0 receive piece task, dest peer id: 172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN, piece num: 0, range start: 0, range size: 296517 {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.324Z DEBUG peer/piece_downloader.go:170 built request url: http://172.19.0.5:8001/download/178/178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686?peerId=172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN
2022-02-18T07:21:19.325Z INFO peer/peertask_piecetask_poller.go:97 got piece task from peer 172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN ok, pieces length: 1, totalPiece: 1, content length: 901, piece md5 sign: 5635f61b1968ffedb9c09511d6932b0303dac7b414c4219b02c9d7da109d9331 {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
2022-02-18T07:21:19.325Z DEBUG storage/local_storage.go:175 update total pieces: 1 {"task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "component": "localTaskStore"}
2022-02-18T07:21:19.325Z DEBUG peer/peertask_conductor.go:766 update content length: 901 {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
2022-02-18T07:21:19.325Z DEBUG peer/peertask_conductor.go:880 dispatch piece request, piece count: 1 {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
2022-02-18T07:21:19.325Z INFO peer/peertask_conductor.go:889 get piece 0 from 172.19.0.5:8001/172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN, digest: c6f05203eda77870c539593d359819b1, start: 0, size: 901 {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
2022-02-18T07:21:19.325Z INFO peer/peertask_conductor.go:780 all pieces requests sent, just wait failed pieces {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
2022-02-18T07:21:19.325Z DEBUG peer/peertask_conductor.go:955 peer download worker #0 receive piece task, dest peer id: 172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN, piece num: 0, range start: 0, range size: 901 {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
2022-02-18T07:21:19.325Z DEBUG peer/piece_downloader.go:170 built request url: http://172.19.0.5:8001/download/2e7/2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc?peerId=172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN
2022-02-18T07:21:19.326Z ERROR peer/piece_manager.go:145 download piece failed, piece num: 0, error: download with error status: 404 Not Found, from peer: 172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
d7y.io/dragonfly/v2/client/daemon/peer.(*pieceManager).DownloadPiece
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/piece_manager.go:145
d7y.io/dragonfly/v2/client/daemon/peer.(*peerTaskConductor).downloadPieceWorker
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/peertask_conductor.go:960
2022-02-18T07:21:19.326Z DEBUG client/peer_packet_stream.go:78 successfully update server node dns:///172.19.0.6:8002 access time for hashKey 2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc {"conn": "scheduler-static"}
2022-02-18T07:21:19.326Z ERROR peer/piece_manager.go:145 download piece failed, piece num: 0, error: download with error status: 404 Not Found, from peer: 172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
d7y.io/dragonfly/v2/client/daemon/peer.(*pieceManager).DownloadPiece
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/piece_manager.go:145
d7y.io/dragonfly/v2/client/daemon/peer.(*peerTaskConductor).downloadPieceWorker
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/peertask_conductor.go:960
2022-02-18T07:21:19.326Z DEBUG client/peer_packet_stream.go:78 successfully update server node dns:///172.19.0.6:8002 access time for hashKey 178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686 {"conn": "scheduler-static"}
2022-02-18T07:21:19.326Z WARN peer/peertask_conductor.go:927 download piece/0 failed, retry {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
d7y.io/dragonfly/v2/client/daemon/peer.(*peerTaskConductor).waitFailedPiece
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/peertask_conductor.go:927
d7y.io/dragonfly/v2/client/daemon/peer.(*peerTaskConductor).pullPiecesFromPeers
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/peertask_conductor.go:782
2022-02-18T07:21:19.326Z DEBUG peer/peertask_conductor.go:723 try to get pieces, number: 0, limit: 1 {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.326Z DEBUG peer/peertask_piecetask_poller.go:94 try get piece task from peer 172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN, piece num: 0, limit: 1" {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.326Z DEBUG client/client.go:59 success add dns:///172.19.0.5:8003 to server node list {"conn": "cdn-elastic"}
2022-02-18T07:21:19.326Z DEBUG client/client.go:92 start to get client conn by target dns:///172.19.0.5:8003 {"conn": "cdn-elastic"}
2022-02-18T07:21:19.326Z DEBUG rpc/client.go:293 hit cache clientConn associated with node dns:///172.19.0.5:8003 {"conn": "cdn-elastic"}
2022-02-18T07:21:19.326Z DEBUG client/client.go:92 successfully get dns:///172.19.0.5:8003 client conn {"conn": "cdn-elastic"}
2022-02-18T07:21:19.326Z WARN peer/peertask_conductor.go:927 download piece/0 failed, retry {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
d7y.io/dragonfly/v2/client/daemon/peer.(*peerTaskConductor).waitFailedPiece
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/peertask_conductor.go:927
d7y.io/dragonfly/v2/client/daemon/peer.(*peerTaskConductor).pullPiecesFromPeers
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/peertask_conductor.go:782
2022-02-18T07:21:19.326Z DEBUG peer/peertask_conductor.go:723 try to get pieces, number: 0, limit: 1 {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
2022-02-18T07:21:19.326Z DEBUG peer/peertask_piecetask_poller.go:94 try get piece task from peer 172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN, piece num: 0, limit: 1" {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
2022-02-18T07:21:19.326Z DEBUG client/client.go:59 success add dns:///172.19.0.5:8003 to server node list {"conn": "cdn-elastic"}
2022-02-18T07:21:19.326Z DEBUG client/client.go:92 start to get client conn by target dns:///172.19.0.5:8003 {"conn": "cdn-elastic"}
2022-02-18T07:21:19.326Z DEBUG rpc/client.go:293 hit cache clientConn associated with node dns:///172.19.0.5:8003 {"conn": "cdn-elastic"}
2022-02-18T07:21:19.326Z DEBUG client/client.go:92 successfully get dns:///172.19.0.5:8003 client conn {"conn": "cdn-elastic"}
2022-02-18T07:21:19.328Z INFO peer/peertask_piecetask_poller.go:97 got piece task from peer 172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN ok, pieces length: 1, totalPiece: 1, content length: 296517, piece md5 sign: c867c698b652bd945e5ca34ace749d476820348b35bbe446cc985ee49f802260 {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.328Z DEBUG storage/local_storage.go:175 update total pieces: 1 {"task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "component": "localTaskStore"}
2022-02-18T07:21:19.328Z DEBUG peer/peertask_conductor.go:766 update content length: 296517 {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.328Z DEBUG peer/peertask_conductor.go:880 dispatch piece request, piece count: 1 {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.328Z INFO peer/peertask_conductor.go:889 get piece 0 from 172.19.0.5:8001/172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN, digest: d452fb7eeefd9a896204dca0f97c42e7, start: 0, size: 296517 {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.328Z INFO peer/peertask_conductor.go:780 all pieces requests sent, just wait failed pieces {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.328Z DEBUG peer/peertask_conductor.go:955 peer download worker #0 receive piece task, dest peer id: 172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN, piece num: 0, range start: 0, range size: 296517 {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.328Z DEBUG peer/piece_downloader.go:170 built request url: http://172.19.0.5:8001/download/178/178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686?peerId=172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN
2022-02-18T07:21:19.328Z INFO peer/peertask_piecetask_poller.go:97 got piece task from peer 172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN ok, pieces length: 1, totalPiece: 1, content length: 901, piece md5 sign: 5635f61b1968ffedb9c09511d6932b0303dac7b414c4219b02c9d7da109d9331 {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
2022-02-18T07:21:19.329Z DEBUG storage/local_storage.go:175 update total pieces: 1 {"task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "component": "localTaskStore"}
2022-02-18T07:21:19.329Z DEBUG peer/peertask_conductor.go:766 update content length: 901 {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
2022-02-18T07:21:19.329Z DEBUG peer/peertask_conductor.go:880 dispatch piece request, piece count: 1 {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
2022-02-18T07:21:19.329Z INFO peer/peertask_conductor.go:889 get piece 0 from 172.19.0.5:8001/172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN, digest: c6f05203eda77870c539593d359819b1, start: 0, size: 901 {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
2022-02-18T07:21:19.329Z INFO peer/peertask_conductor.go:780 all pieces requests sent, just wait failed pieces {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
2022-02-18T07:21:19.329Z DEBUG peer/peertask_conductor.go:955 peer download worker #0 receive piece task, dest peer id: 172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN, piece num: 0, range start: 0, range size: 901 {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
2022-02-18T07:21:19.329Z DEBUG peer/piece_downloader.go:170 built request url: http://172.19.0.5:8001/download/2e7/2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc?peerId=172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN
2022-02-18T07:21:19.329Z ERROR peer/piece_manager.go:145 download piece failed, piece num: 0, error: download with error status: 404 Not Found, from peer: 172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN {"peer": "172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", "task": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", "component": "PeerTask"}
d7y.io/dragonfly/v2/client/daemon/peer.(*pieceManager).DownloadPiece
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/piece_manager.go:145
d7y.io/dragonfly/v2/client/daemon/peer.(*peerTaskConductor).downloadPieceWorker
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/peertask_conductor.go:960
2022-02-18T07:21:19.329Z DEBUG client/peer_packet_stream.go:78 successfully update server node dns:///172.19.0.6:8002 access time for hashKey 2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc {"conn": "scheduler-static"}
2022-02-18T07:21:19.330Z ERROR peer/piece_manager.go:145 download piece failed, piece num: 0, error: download with error status: 404 Not Found, from peer: 172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
d7y.io/dragonfly/v2/client/daemon/peer.(*pieceManager).DownloadPiece
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/piece_manager.go:145
d7y.io/dragonfly/v2/client/daemon/peer.(*peerTaskConductor).downloadPieceWorker
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/peertask_conductor.go:960
2022-02-18T07:21:19.330Z DEBUG client/peer_packet_stream.go:78 successfully update server node dns:///172.19.0.6:8002 access time for hashKey 178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686 {"conn": "scheduler-static"}
2022-02-18T07:21:19.330Z WARN peer/peertask_conductor.go:927 download piece/0 failed, retry {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
d7y.io/dragonfly/v2/client/daemon/peer.(*peerTaskConductor).waitFailedPiece
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/peertask_conductor.go:927
d7y.io/dragonfly/v2/client/daemon/peer.(*peerTaskConductor).pullPiecesFromPeers
/go/src/d7y.io/dragonfly/v2/client/daemon/peer/peertask_conductor.go:782
2022-02-18T07:21:19.330Z DEBUG peer/peertask_conductor.go:723 try to get pieces, number: 0, limit: 1 {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.330Z DEBUG peer/peertask_piecetask_poller.go:94 try get piece task from peer 172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN, piece num: 0, limit: 1" {"peer": "172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", "task": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", "component": "PeerTask"}
2022-02-18T07:21:19.330Z DEBUG client/client.go:59 success add dns:///172.19.0.5:8003 to server node list {"conn": "cdn-elastic"}
2022-02-18T07:21:19.330Z DEBUG client/client.go:92 start to get client conn by target dns:///172.19.0.5:8003 {"conn": "cdn-elastic"}
2022-02-18T07:21:19.330Z DEBUG rpc/client.go:293^C

cdn日志
2022-02-18T07:22:01.545Z INFO rpcserver/rpcserver.go:180 get piece tasks: &base.PieceTaskRequest{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc0001375d8)}, sizeCache:0, unknownFields:[]uint8(nil), TaskId:"178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", SrcPid:"172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", DstPid:"172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN", StartNum:0x0, Limit:0x1}
2022-02-18T07:22:01.546Z INFO rpcserver/rpcserver.go:175 get piece tasks success, availablePieceCount(1), totalPieceCount(1), pieceMd5Sign(c867c698b652bd945e5ca34ace749d476820348b35bbe446cc985ee49f802260), contentLength(296517) {"taskID": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686"}
2022-02-18T07:22:01.546Z INFO zap/server_interceptors.go:39 finished unary call with code OK {"grpc.start_time": "2022-02-18T07:22:01Z", "system": "grpc", "span.kind": "server", "grpc.service": "cdnsystem.Seeder", "grpc.method": "GetPieceTasks", "grpc.code": "OK", "grpc.time_ms": 0.4390000104904175}
2022-02-18T07:22:01.546Z INFO rpcserver/rpcserver.go:166 get piece tasks: &base.PieceTaskRequest{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc0001375d8)}, sizeCache:0, unknownFields:[]uint8(nil), TaskId:"2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", SrcPid:"172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", DstPid:"172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN", StartNum:0x0, Limit:0x1}
2022-02-18T07:22:01.546Z INFO rpcserver/rpcserver.go:180 get piece tasks: &base.PieceTaskRequest{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc0001375d8)}, sizeCache:0, unknownFields:[]uint8(nil), TaskId:"2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", SrcPid:"172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", DstPid:"172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN", StartNum:0x0, Limit:0x1}
2022-02-18T07:22:01.546Z INFO rpcserver/rpcserver.go:175 get piece tasks success, availablePieceCount(1), totalPieceCount(1), pieceMd5Sign(5635f61b1968ffedb9c09511d6932b0303dac7b414c4219b02c9d7da109d9331), contentLength(901) {"taskID": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc"}
2022-02-18T07:22:01.546Z INFO zap/server_interceptors.go:39 finished unary call with code OK {"grpc.start_time": "2022-02-18T07:22:01Z", "system": "grpc", "span.kind": "server", "grpc.service": "cdnsystem.Seeder", "grpc.method": "GetPieceTasks", "grpc.code": "OK", "grpc.time_ms": 0.16099999845027924}
2022-02-18T07:22:01.549Z INFO rpcserver/rpcserver.go:166 get piece tasks: &base.PieceTaskRequest{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc0001375d8)}, sizeCache:0, unknownFields:[]uint8(nil), TaskId:"178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", SrcPid:"172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", DstPid:"172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN", StartNum:0x0, Limit:0x1}
2022-02-18T07:22:01.549Z INFO rpcserver/rpcserver.go:180 get piece tasks: &base.PieceTaskRequest{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc0001375d8)}, sizeCache:0, unknownFields:[]uint8(nil), TaskId:"178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", SrcPid:"172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", DstPid:"172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN", StartNum:0x0, Limit:0x1}
2022-02-18T07:22:01.549Z INFO rpcserver/rpcserver.go:175 get piece tasks success, availablePieceCount(1), totalPieceCount(1), pieceMd5Sign(c867c698b652bd945e5ca34ace749d476820348b35bbe446cc985ee49f802260), contentLength(296517) {"taskID": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686"}
2022-02-18T07:22:01.549Z INFO zap/server_interceptors.go:39 finished unary call with code OK {"grpc.start_time": "2022-02-18T07:22:01Z", "system": "grpc", "span.kind": "server", "grpc.service": "cdnsystem.Seeder", "grpc.method": "GetPieceTasks", "grpc.code": "OK", "grpc.time_ms": 0.14300000667572021}
2022-02-18T07:22:01.549Z INFO rpcserver/rpcserver.go:166 get piece tasks: &base.PieceTaskRequest{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc0001375d8)}, sizeCache:0, unknownFields:[]uint8(nil), TaskId:"2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", SrcPid:"172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", DstPid:"172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN", StartNum:0x0, Limit:0x1}
2022-02-18T07:22:01.549Z INFO rpcserver/rpcserver.go:180 get piece tasks: &base.PieceTaskRequest{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc0001375d8)}, sizeCache:0, unknownFields:[]uint8(nil), TaskId:"2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", SrcPid:"172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", DstPid:"172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN", StartNum:0x0, Limit:0x1}
2022-02-18T07:22:01.549Z INFO rpcserver/rpcserver.go:175 get piece tasks success, availablePieceCount(1), totalPieceCount(1), pieceMd5Sign(5635f61b1968ffedb9c09511d6932b0303dac7b414c4219b02c9d7da109d9331), contentLength(901) {"taskID": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc"}
2022-02-18T07:22:01.549Z INFO zap/server_interceptors.go:39 finished unary call with code OK {"grpc.start_time": "2022-02-18T07:22:01Z", "system": "grpc", "span.kind": "server", "grpc.service": "cdnsystem.Seeder", "grpc.method": "GetPieceTasks", "grpc.code": "OK", "grpc.time_ms": 0.19699999690055847}
2022-02-18T07:22:01.553Z INFO rpcserver/rpcserver.go:166 get piece tasks: &base.PieceTaskRequest{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc0001375d8)}, sizeCache:0, unknownFields:[]uint8(nil), TaskId:"178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", SrcPid:"172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", DstPid:"172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN", StartNum:0x0, Limit:0x1}
2022-02-18T07:22:01.553Z INFO rpcserver/rpcserver.go:180 get piece tasks: &base.PieceTaskRequest{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc0001375d8)}, sizeCache:0, unknownFields:[]uint8(nil), TaskId:"178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", SrcPid:"172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", DstPid:"172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN", StartNum:0x0, Limit:0x1}
2022-02-18T07:22:01.553Z INFO rpcserver/rpcserver.go:175 get piece tasks success, availablePieceCount(1), totalPieceCount(1), pieceMd5Sign(c867c698b652bd945e5ca34ace749d476820348b35bbe446cc985ee49f802260), contentLength(296517) {"taskID": "178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686"}
2022-02-18T07:22:01.553Z INFO zap/server_interceptors.go:39 finished unary call with code OK {"grpc.start_time": "2022-02-18T07:22:01Z", "system": "grpc", "span.kind": "server", "grpc.service": "cdnsystem.Seeder", "grpc.method": "GetPieceTasks", "grpc.code": "OK", "grpc.time_ms": 0.2160000056028366}
2022-02-18T07:22:01.553Z INFO rpcserver/rpcserver.go:166 get piece tasks: &base.PieceTaskRequest{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc0001375d8)}, sizeCache:0, unknownFields:[]uint8(nil), TaskId:"2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", SrcPid:"172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", DstPid:"172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN", StartNum:0x0, Limit:0x1}
2022-02-18T07:22:01.553Z INFO rpcserver/rpcserver.go:180 get piece tasks: &base.PieceTaskRequest{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc0001375d8)}, sizeCache:0, unknownFields:[]uint8(nil), TaskId:"2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc", SrcPid:"172.19.0.7-1-afd60f48-2934-4ef1-ad16-c12ad72c2df2", DstPid:"172.19.0.5-9-d3a25518-bebf-4572-b62a-68ac07396715_CDN", StartNum:0x0, Limit:0x1}
2022-02-18T07:22:01.553Z INFO rpcserver/rpcserver.go:175 get piece tasks success, availablePieceCount(1), totalPieceCount(1), pieceMd5Sign(5635f61b1968ffedb9c09511d6932b0303dac7b414c4219b02c9d7da109d9331), contentLength(901) {"taskID": "2e7bd50ef02018a1719a8b392960c0978c8d3a6ac41c1b0c18382adae5c9e9dc"}
2022-02-18T07:22:01.553Z INFO zap/server_interceptors.go:39 finished unary call with code OK {"grpc.start_time": "2022-02-18T07:22:01Z", "system": "grpc", "span.kind": "server", "grpc.service": "cdnsystem.Seeder", "grpc.method": "GetPieceTasks", "grpc.code": "OK", "grpc.time_ms": 0.14300000667572021}
2022-02-18T07:22:01.567Z INFO rpcserver/rpcserver.go:166 get piece tasks: &base.PieceTaskRequest{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc0001375d8)}, sizeCache:0, unknownFields:[]uint8(nil), TaskId:"178de8584d0f2af92e99ed0e6e9935e2dc521e3e3b8ff47cedf42eb11358b686", SrcPid:"172.19.0.7-1-99b490c8-514e-48d3-88b0-7323aba4343e", DstPid:"172.19.0.5-9-7adc2f1f-27e1-42e6-99bf-d96d3a5dc5eb_CDN", StartNum:0x0, Limit:0x1}

How to reproduce it:

参考问题描述,我本地清空日志,镜像,dfdaemon,cdn缓存目录 后可以 复现

Environment:

  • Dragonfly version: v2.0.2-rc.7

  • OS: centos 7

  • Kernel (e.g. uname -a): Linux dragonfly-1.ddhb.com 3.10.0-1160.53.1.el7.x86_64 [WIP] Implement df daemon #1 SMP Fri Jan 14 13:59:45 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

  • Others:

@jim3ma
Copy link
Member

jim3ma commented Feb 23, 2022

能否升级一下?我感觉这个问题好像最近修过,使用 v2.0.2-rc.10 看看

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

3 participants