mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-05 12:32:54 +00:00
Fix bug in do_gc
This commit is contained in:
@@ -3,7 +3,6 @@ use control_plane::compute::ComputeControlPlane;
|
||||
use control_plane::local_env;
|
||||
use control_plane::local_env::PointInTime;
|
||||
use control_plane::storage::TestStorageControlPlane;
|
||||
use std::{thread, time};
|
||||
|
||||
// XXX: force all redo at the end
|
||||
// -- restart + seqscan won't read deleted stuff
|
||||
@@ -113,9 +112,6 @@ fn test_pageserver_two_timelines() {
|
||||
node1.start().unwrap();
|
||||
node2.start().unwrap();
|
||||
|
||||
//give walreceiver time to connect
|
||||
thread::sleep(time::Duration::from_secs(3));
|
||||
|
||||
// check node1
|
||||
node1.safe_psql(
|
||||
"postgres",
|
||||
|
||||
@@ -463,7 +463,9 @@ impl PageCache {
|
||||
self.db.delete_range_cf(cf, &minbuf[..], &maxbuf[..])?;
|
||||
|
||||
maxkey = minkey;
|
||||
}
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user