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

tstore: Get rid of all file system caches. #1391

Open
lukebp opened this issue Apr 12, 2021 · 0 comments
Open

tstore: Get rid of all file system caches. #1391

lukebp opened this issue Apr 12, 2021 · 0 comments

Comments

@lukebp
Copy link
Member

lukebp commented Apr 12, 2021

The tstore backend and the plugins currently cache data using the politeiad file system. This was the quick and dirty way to get the tstore changes released, but its not a scalable approach and you run into cache incoherency issues since the cached data is not saved using an atomic operation. The tstore design has been finalized and all cached data should be moved to the key-value store.

The append only nature of tlog might make it difficult to run the entire record update, including caching required data, using a single atomic operation. We should investigate the best way to do this and document any limitations that we come across.

@lukebp lukebp added v1.0.1 and removed v1.0.1 labels Apr 12, 2021
@lukebp lukebp added this to the v1.0.1 milestone Apr 12, 2021
@lukebp lukebp removed this from the v1.1.0 milestone Aug 3, 2021
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 a pull request may close this issue.

1 participant