qiniu / qiniu/qshell

上传很不稳定

Open
#369 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1k
Forks
199
Avg merge
1d 12m
Merged PRs (30d)
1

Description

问题描述
qshell qupload2 --silence --check-exists --check-hash --bucket mybucket --src-dir client --key-prefix dir/ --rescan-local --overwrite --thread-count 5

上传到亚太-新加坡

不使用代理时,很慢,几乎无法完成整个任务

使用代理,速度可以了,但是很大概率上传失败,exit code 非0

[E]  Upload  failed:client/css/cdf1b94.css => [photolive-malaysia:malaysia/photo/beta/2022/css/cdf1b94.css] error:upload source => form upload => ErrMaxUpRetry: 
[E]  Upload Failed, css/cdf1b94.css	4592	16760250472453722 error:upload source => form upload => ErrMaxUpRetry: 
[E]  Upload  failed:client/css/cfea46d.css => [photolive-malaysia:malaysia/photo/beta/2022/css/cfea46d.css] error:upload source => form upload => ErrMaxUpRetry: 
[E]  Upload Failed, css/cfea46d.css	142884	16760250472553724 error:upload source => form upload => ErrMaxUpRetry: 
[E]  Upload  failed:client/css/d0f94a5.css => [photolive-malaysia:malaysia/photo/beta/2022/css/d0f94a5.css] error:upload source => form upload => ErrMaxUpRetry: 
[E]  Upload Failed, css/d0f94a5.css	879	16760250472503723 error:upload source => form upload => ErrMaxUpRetry: 
[E]  Upload  failed:client/css/d22ece9.css => [photolive-malaysia:malaysia/photo/beta/2022/css/d22ece9.css] error:upload source => form upload => ErrMaxUpRetry: 
[E]  Upload Failed, css/d22ece9.css	1110	16760250472393721 error:upload source => form upload => ErrMaxUpRetry: 
[E]  Upload  failed:client/css/d2ab3c5.css => [photolive-malaysia:malaysia/photo/beta/2022/css/d2ab3c5.css] error:upload source => form upload => ErrMaxUpRetry: 
[E]  Upload Failed, css/d2ab3c5.css	1606	16760250472433721 error:upload source => form upload => ErrMaxUpRetry: 
Upload skip because file exist:client/css/c6c239b.css => [photolive-malaysia:malaysia/photo/beta/2022/css/c6c239b.css]
[E]  Upload  failed:client/css/d2e7da5.css => [photolive-malaysia:malaysia/photo/beta/2022/css/d2e7da5.css] error:upload source => form upload => ErrMaxUpRetry: 
[E]  Upload Failed, css/d2e7da5.css	1798	16760250472433721 error:upload source => form upload => ErrMaxUpRetry: 

必须重试很多次才能成功一次, 不是代理问题,代理很稳定

相关环境信息
  • 操作系统:alpine
  • qshell版本: 2.9.2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the qshell qupload2 command on Alpine with qshell 2.9.2, comparing proxied and direct uploads. Trace the upload and retry path that produces ErrMaxUpRetry using the reported files and command options. Done means uploads complete reliably or the failure produces a clear, actionable error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.