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

New validation mode: runs validation after concurrent updates #171

Open
szarnyasg opened this issue Jul 5, 2022 · 0 comments
Open

New validation mode: runs validation after concurrent updates #171

szarnyasg opened this issue Jul 5, 2022 · 0 comments
Assignees

Comments

@szarnyasg
Copy link
Member

Currently, validation is performed on a single thread by running a sequence of R/W operations (without any overlap between any of the operations), while the benchmark uses concurrent operations (but no validation is performed). This makes detecting concurrency bugs impossible. So far, this was not a serious limitation as the inserts were not too contentious and were unlikely to corrupt the database. However, with the introduction of delete operations, it will be important to perform a more thorough validation sequence.

A good middle ground would be to run a concurrent workload followed by a sequence of read-only (potentially concurrent) operations.

Technically, this seems to be relatively easy to do, as it's essentially a concatenation of a "benchmark" and a "create validation parameters" / "validate" phase.

@szarnyasg szarnyasg self-assigned this Jul 13, 2022
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