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

fix: fix bug in local_service #534

Merged
merged 4 commits into from
May 13, 2020
Merged

Conversation

levy5307
Copy link
Contributor

@levy5307 levy5307 commented May 12, 2020

What problem does this PR solve?

When trigger a cold backup with local_service, I found that the restore will produce error.
It is because we don't specific a path for local service, so the checkpoint will placement at the relative path of each replica.
Here we show one an example for the director of replica1 with local_service
replica1/onebox/policy/1589281927550/temp_2. And for replica2, it may be replica2/onebox/policy/1589281927550/temp_2. I mean these checkpoint files are stored separately in different directories.
Then if you restore a specific partition, we don't know how to find the checkpoint files. And it will produce restore error.
So we need to Specify a path for local_service.

acelyc111
acelyc111 previously approved these changes May 12, 2020
@hycdong hycdong merged commit cd03958 into apache:master May 13, 2020
@levy5307 levy5307 deleted the fix-restore-bug branch May 13, 2020 01:48
@neverchanje neverchanje mentioned this pull request May 14, 2020
@neverchanje neverchanje mentioned this pull request Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants