pub fn flush()Expand description
Write the resident shard back, once, at the end of the run.
The on-disk shard is re-read and MERGED rather than overwritten: up to 16 instances share it, and a plain overwrite would drop whatever a peer stored while this process was running. A losing writer still only loses entries (they recompile next run); it can never corrupt the file, since the write itself is a temp-plus-rename.