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

Calling db.Checkpoint with destDir like ./foo returns no such file or directory #4268

Closed
gawen opened this issue Jan 17, 2025 · 3 comments
Closed

Comments

@gawen
Copy link

gawen commented Jan 17, 2025

IIUC, this is because mkdirAllAndSyncParents is called, append an empty string as parent path in parentPaths, and fs.OpenDir on an empty string fails with the error no such file or directory.

Using pebble v.1.1.3

Jira issue: PEBBLE-324

@siviae
Copy link

siviae commented Jan 21, 2025

I came across this issue too. Seems like it was already fixed in #3842 in version 2.0.0.

However I can't import 2.0.0 because of #4271. The simplest workaround for now is to define checkpoint directory like that: "../parentDir/foo".

@RaduBerinde
Copy link
Member

I will try to backport the fix #3847 to the 1.0 branch.

@RaduBerinde
Copy link
Member

Done. You can try again with v1.1.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants