leveled/test/property
Martin Sumner 7a5cf251b3 Close in stages - waiting for releases (#411)
* Close in stages - waiting for releases

Have a consistent approach to closing the inker and the penciller - so that the close can be interrupted by releasing of snapshots.  Then any unreleased snapshots are closed before shutdown - with a 10s pause to give queries a short opportunity to finish.

This should address some issues, primarily seen (but very rarely) in test whereby post-rebuild destruction of parallel AAE keystores cause the crashing of aae_folds.

The primary benefit is to stop an attempt to release a snapshot that has in fact already finished does not cause a crash of the database on normal stop.  this was primarily an issue when shutdown is delayed by an ongoing journal compaction job.

* Boost default test budget for EQC

* Update test to use correct type

* Update following review

Avoid filtering out exited PIDs when closing snapshots by catching the exit exception when the Pid is down
2023-10-03 18:32:08 +01:00
..
leveled_simpleeqc.erl Close in stages - waiting for releases (#411) 2023-10-03 18:32:08 +01:00
leveled_statemeqc.erl Develop 3.1 eqc (#339) 2021-05-26 17:40:09 +01:00