dolthub / dolthub/dolt

Dolt prints incorrect table file download percentage when cloning from DoltLab

Open
#5,359 0 comments 0 reactions 1 assignee Claimed by @zachmu View on GitHub
bug cli
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 8h
Merged PRs (30d)
120

Description

Dolt prints incorrect percentages of table file downloaded when cloning from DoltLab instances:

Dolt version v0.52.20
DoltLab version v0.7.4

```bash
% dolt clone http://doltlab.dolthub.com:50051/admin/non-batch-imports
cloning http://doltlab.dolthub.com:50051/admin/non-batch-imports
3 of 563,022 chunks complete. 1,126,038 chunks being downloaded currently.
Downloading file: 69o2e0hgpq5sjvq850l9eo367v74i66n (262,144 chunks) - -19259828000.00% downloaded, 18 MB/s
Downloading file: arllcsiomandstv3miufc9o82nheqcd4 (262,144 chunks) - -21090970400.00% downloaded, 19 MB/s
Downloading file: nea1hcg1iku82uskfcjphdgdgt817o3v (38,731 chunks) - -1402648800.00% downloaded, 1.3 MB/
```

Cloning from DoltHub shows:

```bash
% dolt clone dolthub/quest-small
cloning https://doltremoteapi.dolthub.com/dolthub/quest-small
6 of 30,351,927 chunks complete. 786,432 chunks being downloaded currently.
Downloading file: 01at50aj0ii23qgf9u1550f3s45s8pc2 (262,144 chunks) - 11.40% downloaded, 19 MB/s
Downloading file: 04mqgjl3jp3ntvl22frqrs35jcbbjm9d (262,144 chunks) - 2.17% downloaded, 3.7 MB/s
Downloading file: 0cbfqeoapbcib7nqo2j4gab5356427ia (262,144 chunks) - 7.09% downloaded, 12 MB/s
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.