-
Notifications
You must be signed in to change notification settings - Fork 226
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
Implements storage type independent retry policy #397
Comments
Which Look like connection just broken during data part upload, currently we did not implement storage independent retry mechanism, I think we can try to implement storage-specific retry policy something like this https://github.com/GoogleCloudPlatform/golang-samples/blob/HEAD/storage/retry/configure_retries.go for GCS https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/aws/retry for S3
empty name looks weird, try to hard restart What do you see in |
I am using below clickhouse image Image : altinity/clickhouse-backup:master bash-5.1# clickhouse-backup --version I am facing below error sometimes while upload error full-2022-02-19-14-00-15 on chi-spdb-clickhouse-spdb-clickhouse-0-0 |
could you check latest 1.6.2 where we update Google SDK to latest version |
we are doing clickhouse backup for 4 sharding which we are uploading backup to google cloud. One of the shard is struck due to below error . The data we are uploading almost 100 GB per shard.
2022/02/18 14:01:41.010787 error CompressedStreamUpload return error: Post "https://storage.googleapis.com/upload/storage/v1/b/clickhouse_backup/2Fchi-spdb-clickhouse-spdb-clickhouse-1-0-full-2022-02-18-14-00-03%2Fshadow%2Frecipe%2Frecipe_event_pv%2Fdefault_20181202_2903_2954_1.tar&prettyPrint=false&projection=full&uploadType=resumable&upload_id=ADPycdt-GrUeYdMFLV3LopZ2Aj1ls_TTNl2nPOI2oz9D1da11fPcutb8B1A25k8VPZW0aXgZLBjdoMmdDX7psyzsdNxTYE3e1g": http2: client connection force closed via ClientConn.Close
2022/02/18 14:01:41.010990 error can't acquire semaphore during Upload: context canceled
{"name":"","created":"0001-01-01 00:00:00","location":"remote","required":"","desc":"broken (can't stat metadata.json)"}
GCP Config
/tmp/.clickhouse-backup-metadata.cache.GCS
The text was updated successfully, but these errors were encountered: