Skip to content
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

br-ent increase backup report error ,when storage with 2 path #433

Closed
jinyingsunny opened this issue Feb 2, 2024 · 2 comments
Closed

br-ent increase backup report error ,when storage with 2 path #433

jinyingsunny opened this issue Feb 2, 2024 · 2 comments
Assignees
Labels
affects/none PR/issue: this bug affects none version. process/done Process of bug severity/major Severity of bug type/bug Type: something is unexpected

Comments

@jinyingsunny
Copy link

增量备份报错如下:
image

{"level":"fatal","msg":"upload storage failed incremental upload source to s3://test-qa/BACKUP_2024_02_02_09_39_48/data/1/5/wal failed:rpc error: code = Unknown desc = local path: /usr/local/nebula/data1/storage/nebula/1/5/checkpoints/BACKUP_2024_02_02_09_39_48/wal does not exist,\nincremental upload source to s3://test-qa/BACKUP_2024_02_02_09_39_48/data/1/8/wal failed:rpc error: code = Unknown desc = local path: /usr/local/nebula/data1/storage/nebula/1/8/checkpoints/BACKUP_2024_02_02_09_39_48/wal does not exist,\nincremental upload source to s3://test-qa/BACKUP_2024_02_02_09_39_48/data/1/86/wal

增量备份命令:基于全量备份BACKUP_2024_02_02_09_34_46,做增量备份,且存储到S3

./br-ent-3.7.0-linux-amd64 backup incr --meta "nebulav-metad-0.nebulav-metad-headless.nebula.svc.cluster.local:9559" --base "BACKUP_2024_02_02_09_34_46" --storage "s3://test-qa"  --s3.access_key "minio" --s3.secret_key "minio123" --s3.region "us-west-2" --s3.endpoint "http://192.168.8.202:32000"

storage有两块盘,支持lia两块盘的功能是operator-1.8的新需求,配置如下:
image
image

查看gflag运行时:

sh-4.2# curl localhost:19779/flags |grep data_path
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6996  100  6996    0     0  3829k      0 --:--:-- --:--:-- --:--:-- 6832k
data_path="data/storage,data1/storage"

Your Environments (required)

operator镜像:reg.vesoft-inc.com/cloud-dev/nebula-operator:snap-1.30

nebula-ent-3.5镜像:reg.vesoft-inc.com/rc/nebula-tools-ent:v3.5.0

br-ent:https://github.com/vesoft-inc/br-ent/releases/tag/v3.7.0

How To Reproduce(required)

Steps to reproduce the behavior:

配置storage2块盘,先做全量备份,再做增量备份。

Expected behavior

increase backup success.

@jinyingsunny jinyingsunny added the type/bug Type: something is unexpected label Feb 2, 2024
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Feb 2, 2024
@MegaByte875 MegaByte875 assigned MegaByte875 and unassigned kqzh Feb 3, 2024
@MegaByte875
Copy link
Contributor

#434

@jinyingsunny
Copy link
Author

checked by snap-1.35,succeed.

@github-actions github-actions bot added the process/fixed Process of bug label Feb 21, 2024
@jinyingsunny jinyingsunny added severity/major Severity of bug process/done Process of bug and removed process/fixed Process of bug affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Feb 21, 2024
@github-actions github-actions bot added the affects/none PR/issue: this bug affects none version. label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/none PR/issue: this bug affects none version. process/done Process of bug severity/major Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

3 participants