Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metamorphic: Flush before close if DisableWAL is true
Now that we're using the state of one metamorphic test run as initial state for future metamorphic test runs with the crossversion test, we've noticed an incompatibility if the initial state belonged to a DB with WAL disabled. We'd drop the mutations since the last flush, as those would not be written to a WAL or sstable. Explicitly do a pre-Close Flush() of the db if DisableWAL is true.
- Loading branch information