clickhouse-backup icon indicating copy to clipboard operation
clickhouse-backup copied to clipboard

download backuptest2 which depneds on backuptest1 failed

Open wzisheng opened this issue 3 years ago • 6 comments

node1:

clickhouse-backup create --table default.test1 backuptest1 clickhouse-backup create --table default.test1 backuptest2 clickhouse-backup upload backuptest1 clickhouse-backup upload backuptest2 --diff-from backuptest1

node2:

clickhouse-backup download backuptest2 2022/07/29 18:14:57.065003 error one of Download go-routine return error: one of downloadDiffParts go-routine return error: not found on remote storage

wzisheng avatar Jul 29 '22 10:07 wzisheng

now the problem is gone... seems it's because node2 can't get the lastest backup list as the remote. below is my guess here

node1: image

node2: image

here's the ops timeline:

1)node1: create & upload backuptest1 2)node1: create & upload backuptest2 3)node2: list 4)node1: delete backuptest2 5)node1: create & upload backuptest2 diff-from backuptest1 6)node2: list (still the same with step 3)

node2 cant' refresh the real backup list as node1&remote, finally i delete remote backuptest2 and then upload it again from node1, everything goes fine.

wzisheng avatar Jul 29 '22 10:07 wzisheng

look like duplicate with https://github.com/AlexAkulov/clickhouse-backup/issues/470

try to use 1.4.9+ version

Slach avatar Jul 29 '22 11:07 Slach

@Slach sorry but i did this test with version 1.4.9-1

wzisheng avatar Jul 30 '22 02:07 wzisheng

ok. lets try to reproduce

Slach avatar Jul 30 '22 06:07 Slach

doens't reproduce on my side when you run create & upload backuptest2 you upload full backup instead of increments use --diff-from (or --diff-from-remote) if you want upload backup as incremental

could you share SHOW CREATE TABLE default.test1 ?

Slach avatar Jul 30 '22 07:07 Slach

@wzisheng issue still reproduce in your environment?

Slach avatar Aug 08 '22 10:08 Slach

close issue cause issue is not reproduced and author doesn't tell anything else

Slach avatar Aug 11 '22 05:08 Slach