Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

lack of LockFile to avoid reopen the same path at the same time #304

Open
zojw opened this issue Nov 21, 2022 · 0 comments
Open

lack of LockFile to avoid reopen the same path at the same time #304

zojw opened this issue Nov 21, 2022 · 0 comments
Assignees

Comments

@zojw
Copy link
Contributor

zojw commented Nov 21, 2022

Open the same path twice cause manifest Corrupted

[INFO  photondb::page_store::manifest] roll manifest to "/tmp/cmp_test/MANIFEST_1"
[INFO  photondb::raw::tree_test] open table
[INFO  photondb::page_store::manifest] clean obsolete manifest: "/tmp/cmp_test/MANIFEST_1" , None
[INFO  photondb::page_store::manifest] set manifest to 1
thread 'photonio-worker/0' panicked at 'open manifest fail 1: Os { code: 2, kind: NotFound, message: "No such file or directory" }', photondb/src/page_store/manifest.rs:174:18
@zojw zojw self-assigned this Nov 21, 2022
@zojw zojw changed the title Lack of LockFile to avoid reopen the same path lack of LockFile to avoid reopen the same path Nov 21, 2022
@zojw zojw changed the title lack of LockFile to avoid reopen the same path lack of LockFile to avoid reopen the same path at the same time Nov 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant