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

When a snapshot file is used for restoration, the service fails to be started occasionally. The error information is as follows: [db/db_impl/db_impl_open.cc:2112] DB::Open() failed: Corruption: Corruption: IO error: No such file or directory: While open a file for random read: /xxx/000024.ldb: No such file or directory in file /xxx/MANIFEST-000020 #13141

Open
cccxgit opened this issue Nov 17, 2024 · 0 comments

Comments

@cccxgit
Copy link

cccxgit commented Nov 17, 2024

Expected behavior

When a snapshot file is used for restoration, services are started properly and data is restored.

Actual behavior

When a snapshot file is used for restoration, the service fails to be started occasionally. The error information is as follows: [db/db_impl/db_impl_open.cc:2112] DB::Open() failed: Corruption: Corruption: IO error: No such file or directory: While open a file for random read: /xxx/000024.ldb: No such file or directory in file /xxx/MANIFEST-000020

Steps to reproduce the behavior

I use a graph database product nebula, developed based on rocksdb V7.5.3. A problem occurred while using the backup data for recovery
1、Nebula uses the checkpoint capability of rocksdb to generate snapshot files.
2、When the snapshot file is used to restore the service, the service fails to be started, and the following error message is displayed:

2024/11/11-21:38:38.656812 140578633020992 [WARN] [db/db_impl/db_impl_open.cc:2112] DB::Open() failed: Corruption: Corruption: IO error: No such file or directory: While open a file for random read: /xxx/000024.ldb: No such file or directory in file /xxx/MANIFEST-000020
2024/11/11-21:38:38.656835 140578633020992 [db/db_impl/db_impl.cc:477] Shutdown: canceling all background work
2024/11/11-21:38:38.656893 140578633020992 [db/db_impl/db_impl.cc:677] Shutdown complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant