Flush queued pointer writes when flush()ing
This commit is contained in:
parent
350f5beb05
commit
78196b4ca3
|
@ -532,6 +532,9 @@ impl RawPile for SqliteBloblogPile {
|
||||||
.writers_reach_zero
|
.writers_reach_zero
|
||||||
.wait_while(inner, |inner| inner.writers_in_progress != 0)
|
.wait_while(inner, |inner| inner.writers_in_progress != 0)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
|
self.flush_queued_pointer_writes()?;
|
||||||
|
|
||||||
// TODO sync all files we have open first!
|
// TODO sync all files we have open first!
|
||||||
sync();
|
sync();
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in New Issue