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

Implement Cleaners #9

Open
schrockn opened this issue Jul 2, 2017 · 0 comments
Open

Implement Cleaners #9

schrockn opened this issue Jul 2, 2017 · 0 comments

Comments

@schrockn
Copy link
Owner

schrockn commented Jul 2, 2017

Eventual consistency in Kvetch is guaranteed by "cleaners" which ensure that indexes and edges correctly mirror the canonical data stored on objects. These are not yet implemented. This is a strict prerequisite for deploying this system to production. The cleaner would periodically "wake up" and query the tables to see if any objects have been updated and then also querying the index (or edge table) to see if that has been updated. This covers the case where an object is persisted and then before the corresponding index and edge entries are persisted the process dies or some other error occurs. These cleaners are the price you pay for no cross-node transactional infrastructure.

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

1 participant