fdb-record-layer
fdb-record-layer copied to clipboard
Test FDBDirectory consistency while cross-transaction merges are ongoing
- Lock a directory, and commit, then try to update a record, or save a record, or do a search, and assert that nothing is corrupted (or that the user request fails)
- A test of what lucene does when a merge loses its lock
- A chaos test of two threads, one constantly trying to merge, and one trying to update a record, or save a new record or do a search. At the end the index should be validated for consistency. It is expected (for now) that user operations will fail.
- A test where there are multiple threads both trying to do merges. At the end the index should be validated for consistency.