I had many issues with this in Floresta, because I didn't want to flush too often (this takes up to multiple Ms). But if I didn't, this could put the system In a undefined state.
My goal was to allow recovering from unclean shutdown, in older state. This roughly what core does