-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
volume.tier.upload rpc error #3038
Comments
volume weed version: version 30GB 3.02 a4ca3ed linux arm Further trace volume logs:
|
seems the volume server is not using 3.02. The trace was from 3.00 or earlier. The specific problem, "unaligned 64-bit atomic operation", would not happen any more after the code change. |
The line of code, |
OK, thank you |
Master error message:
Volume log: I0511 15:11:40 7581 volume.go:364] Start Seaweed volume server 30GB 3.02 a4ca3ed1f0c2bcde1d36bb48f81dedc3e1924679 at 192.168.50.5:9006
I0511 15:11:40 7581 volume_grpc_client_to_master.go:50] Volume server start with seed master nodes: [192.168.50.123:9333]
I0511 15:11:40 7581 volume_grpc_client_to_master.go:107] Heartbeat to: 192.168.50.123:9333
panic: unaligned 64-bit atomic operation
goroutine 144 [running]:
runtime/internal/atomic.panicUnaligned()
/usr/local/go/src/runtime/internal/atomic/unaligned.go:8 +0x24
runtime/internal/atomic.Xadd64(0x4d482c4, 0x2e17)
/usr/local/go/src/runtime/internal/atomic/atomic_arm.s:258 +0x14
github.com/chrislusf/seaweedfs/weed/storage/backend/s3_backend.(*s3DownloadProgressedWriter).WriteAt(0x4d482b8, {0x4da2000, 0x2e17, 0x8000}, 0x0)
/github/workspace/weed/storage/backend/s3_backend/s3_download.go:74 +0x88
github.com/aws/aws-sdk-go/service/s3/s3manager.(*dlchunk).Write(0x4d5a5a0, {0x4da2000, 0x2e17, 0x8000})
/go/pkg/mod/github.com/aws/aws-sdk-go@v1.43.45/service/s3/s3manager/download.go:587 +0xc8
io.copyBuffer({0x218ad64, 0x4d5a5a0}, {0xa6a9fa60, 0x4c8c700}, {0x0, 0x0, 0x0})
/usr/local/go/src/io/io.go:428 +0x264
io.Copy(...)
/usr/local/go/src/io/io.go:385
github.com/aws/aws-sdk-go/service/s3/s3manager.(*downloader).tryDownloadChunk(0x3595880, 0x4d441e0, {0x218ad64, 0x4d5a5a0})
/go/pkg/mod/github.com/aws/aws-sdk-go@v1.43.45/service/s3/s3manager/download.go:467 +0x190
github.com/aws/aws-sdk-go/service/s3/s3manager.(*downloader).downloadChunk(0x3595880, {{0x218c290, 0x4d482b8}, 0x0, 0x4000000, 0x0, {0x0, 0x0}})
/go/pkg/mod/github.com/aws/aws-sdk-go@v1.43.45/service/s3/s3manager/download.go:428 +0x1d4
github.com/aws/aws-sdk-go/service/s3/s3manager.(*downloader).getChunk(0x3595880)
/go/pkg/mod/github.com/aws/aws-sdk-go@v1.43.45/service/s3/s3manager/download.go:393 +0x9c
github.com/aws/aws-sdk-go/service/s3/s3manager.(*downloader).download(0x3595880)
/go/pkg/mod/github.com/aws/aws-sdk-go@v1.43.45/service/s3/s3manager/download.go:313 +0x48
github.com/aws/aws-sdk-go/service/s3/s3manager.Downloader.DownloadWithContext({0x4000000, 0x5, {0x21af878, 0x3934558}, {0x0, 0x0, 0x0}, {0x0, 0x0}}, {0x2199e54, ...}, ...)
/go/pkg/mod/github.com/aws/aws-sdk-go@v1.43.45/service/s3/s3manager/download.go:219 +0x2c4
github.com/aws/aws-sdk-go/service/s3/s3manager.Downloader.Download({0x4000000, 0x5, {0x21af878, 0x3934558}, {0x0, 0x0, 0x0}, {0x0, 0x0}}, {0x218c290, ...}, ...)
/go/pkg/mod/github.com/aws/aws-sdk-go@v1.43.45/service/s3/s3manager/download.go:164 +0x70
github.com/chrislusf/seaweedfs/weed/storage/backend/s3_backend.downloadFromS3({0x21af878, 0x3934558}, {0x4bf6cc0, 0x1d}, {0x38ff4f0, 0x4}, {0x37fbb00, 0x24}, 0x4c7e060)
/github/workspace/weed/storage/backend/s3_backend/s3_download.go:45 +0x398
github.com/chrislusf/seaweedfs/weed/storage/backend/s3_backend.(*S3BackendStorage).DownloadFile(0x37c2f80, {0x4bf6cc0, 0x1d}, {0x37fbb00, 0x24}, 0x4c7e060)
/github/workspace/weed/storage/backend/s3_backend/s3_backend.go:103 +0x134
github.com/chrislusf/seaweedfs/weed/server.(*VolumeServer).VolumeTierMoveDatFromRemote(0x38fc7e0, 0x4c7c3c0, {0x219e3e0, 0x4c40958})
/github/workspace/weed/server/volume_grpc_tier_download.go:61 +0x408
github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb._VolumeServer_VolumeTierMoveDatFromRemote_Handler({0x1bcdbe8, 0x38fc7e0}, {0x219d270, 0x4bfcc40})
/github/workspace/weed/pb/volume_server_pb/volume_server_grpc.pb.go:1512 +0xdc
google.golang.org/grpc.(*Server).processStreamingRPC(0x35aac60, {0x219ff88, 0x3832700}, 0x4bee960, 0x4c66000, 0x30c2d10, 0x0)
/go/pkg/mod/google.golang.org/grpc@v1.46.0/server.go:1542 +0xe48
google.golang.org/grpc.(*Server).handleStream(0x35aac60, {0x219ff88, 0x3832700}, 0x4bee960, 0x0)
/go/pkg/mod/google.golang.org/grpc@v1.46.0/server.go:1624 +0xa2c
google.golang.org/grpc.(*Server).serveStreams.func1.2()
/go/pkg/mod/google.golang.org/grpc@v1.46.0/server.go:922 +0xb0
created by google.golang.org/grpc.(*Server).serveStreams.func1
/go/pkg/mod/google.golang.org/grpc@v1.46.0/server.go:920 +0x284
|
I don't know if this error is related to thanks |
added a fix. |
OK, thank you |
Describe the bug
When I use the
volume.tier.upload
command, I get an errorrpc error: code = Unavailable desc = error reading from server: EOF
System Setup
weed version
: version 30GB 3.02 a4ca3ed linux amd64s3 is accessible
Expected behavior
Screenshots
Additional context
volumeId exists collection exists
The text was updated successfully, but these errors were encountered: