mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-25 09:00:37 +00:00
@@ -1947,6 +1947,7 @@ impl Timeline {
|
||||
.unwrap_or(self.conf.default_tenant_conf.lsn_lease_length_for_ts)
|
||||
}
|
||||
|
||||
/// TODO(chi): remove after retiring aux read path
|
||||
#[allow(dead_code)]
|
||||
pub(crate) fn get_switch_aux_file_policy(&self) -> AuxFilePolicy {
|
||||
let tenant_conf = self.tenant_conf.load();
|
||||
|
||||
@@ -243,6 +243,7 @@ pub(crate) fn apply_in_neon(
|
||||
clear,
|
||||
will_init,
|
||||
} => {
|
||||
use bytes::BufMut;
|
||||
if *will_init {
|
||||
assert!(*clear, "init record must be clear to ensure correctness");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user