StateStore and ImageCache Lack Synchronization #12
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
geomind_code/my_hypervisor#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Location:
crates/chvm-lib/src/vm/manager.rs:25-128-StateStorecrates/chvm-lib/src/oci/cache.rs:35-182-ImageCacheIssue:
Both
StateStoreandImageCacheuse an in-memoryHashMapthat is read-modify-written and then persisted to disk, with NO internal locking. Concurrent operations (e.g.,vm start+vm createin different terminals) can cause:Example Scenario: