leveled/src
Martin Sumner 6223b801f3
Mas d31 i410looptoclose (#421)
* Mas i410 looptoclose (#420)

* Stop waiting full SHUTDOWN_PAUSE

If there is a snapshot outstanding at shutdown time, there was a wait of SHUTDOWN_PAUSE to give the snapshot time to close down.

This causes an issue in kv_index_tictactree when rebuilds complete, when an exchange was in flight at the point the rebuild completed - the aae_controller will become blocked for the full shutdown pause, whilst it waits for the replaced key store to be closed.

This change is to loop within the shutdown pause, so that if the snapshot supporting the exchange is closed, the paused bookie can close more quickly (unblocking the controller).

Without this fix, there are intermittent issues in kv_index_tictactree's mockvnode_SUITE tests.

* Address test reliability

Be a bit clearer with waiting round seconds,  Was intermittently failing on QR4 previously (but QR5 1s later was always OK).

* Update iterator_SUITE.erl

* Refine test assertion

At Stage C there might be 0 files left, in which case equality with Stage D result is ok.
2023-11-10 15:04:47 +00:00
..
leveled.app.src Add lz4 dep 2021-03-02 14:21:13 +00:00
leveled_bookie.erl Mas d31 i410looptoclose (#421) 2023-11-10 15:04:47 +00:00
leveled_cdb.erl Initial support for OTP 26 (#395) 2023-03-14 16:27:08 +00:00
leveled_codec.erl Mas d31 i413 (#415) 2023-11-08 09:18:01 +00:00
leveled_ebloom.erl Initial support for OTP 26 (#395) 2023-03-14 16:27:08 +00:00
leveled_head.erl Use backwards compatible term_to_binary (#408) 2023-10-05 10:33:20 +01:00
leveled_iclerk.erl Mas d31 i416 (#418) 2023-11-07 14:58:43 +00:00
leveled_imanifest.erl Initial support for OTP 26 (#395) 2023-03-14 16:27:08 +00:00
leveled_inker.erl Mas d31 i410looptoclose (#421) 2023-11-10 15:04:47 +00:00
leveled_log.erl Mas d31 i413 (#415) 2023-11-08 09:18:01 +00:00
leveled_monitor.erl Initial support for OTP 26 (#395) 2023-03-14 16:27:08 +00:00
leveled_pclerk.erl Initial support for OTP 26 (#395) 2023-03-14 16:27:08 +00:00
leveled_penciller.erl Mas d31 i410looptoclose (#421) 2023-11-10 15:04:47 +00:00
leveled_pmanifest.erl Close in stages - waiting for releases (#411) 2023-10-03 18:32:08 +01:00
leveled_pmem.erl Initial support for OTP 26 (#395) 2023-03-14 16:27:08 +00:00
leveled_rand.erl Develop 3.1 d30update (#386) 2022-12-18 20:18:03 +00:00
leveled_runner.erl Mas d31 i413 (#415) 2023-11-08 09:18:01 +00:00
leveled_sst.erl Mas d31 i416 (#418) 2023-11-07 14:58:43 +00:00
leveled_tictac.erl Use backwards compatible term_to_binary (#408) 2023-10-05 10:33:20 +01:00
leveled_tree.erl Initial support for OTP 26 (#395) 2023-03-14 16:27:08 +00:00
leveled_util.erl Use backwards compatible term_to_binary (#408) 2023-10-05 10:33:20 +01:00