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

186394182 - minor store fixes #890

Merged
merged 2 commits into from
Nov 8, 2023
Merged

Conversation

iduartgomez
Copy link
Collaborator

@iduartgomez iduartgomez commented Nov 7, 2023

This changes ensure that multiple core processes running concurrently (e.g. embedded kernel in an app and a background daemon running at the same time) won't corrupt the index files for contract/delegate stores etc. Indexes are now append only and compacted (clean up) periodically via kernel file locks.

This should make this efficient and data race free.

@iduartgomez iduartgomez force-pushed the 186394182-minor-store-fixes branch from 9ae28dc to ee1b5e1 Compare November 8, 2023 10:58
@iduartgomez iduartgomez marked this pull request as ready for review November 8, 2023 11:02
@iduartgomez iduartgomez force-pushed the 186394182-minor-store-fixes branch from ee1b5e1 to 92ec60b Compare November 8, 2023 11:19
@iduartgomez iduartgomez merged commit 6c633c4 into main Nov 8, 2023
2 checks passed
@iduartgomez iduartgomez deleted the 186394182-minor-store-fixes branch November 8, 2023 11:19
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

Successfully merging this pull request may close these issues.

1 participant