We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5efdbd3 commit 9322d67Copy full SHA for 9322d67
1 file changed
bottomless/src/replicator.rs
@@ -528,6 +528,10 @@ impl Replicator {
528
tracing::info!("bottomless replicator: shutting down...");
529
// 1. wait for all committed WAL frames to be committed locally
530
let last_frame_no = self.last_known_frame();
531
+// force flush in order to not wait for periodic wake up of local back up process
532
+ if let Some(tx) = &self.flush_trigger {
533
+ let _ = tx.send(());
534
+ }
535
self.wait_until_committed(last_frame_no).await?;
536
// 2. wait for snapshot upload to S3 to finish
537
self.wait_until_snapshotted().await?;
0 commit comments