mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-22 07:30:37 +00:00
move to a separate key instead of reusing dbdir
Signed-off-by: Alex Chi Z <chi@neon.tech>
This commit is contained in:
@@ -519,6 +519,15 @@ pub fn rel_dir_to_key(spcnode: Oid, dbnode: Oid) -> Key {
|
||||
}
|
||||
}
|
||||
|
||||
pub const REL_DIR_MIGRATION_KEY: Key = Key {
|
||||
field1: REL_DIR_KEY_PREFIX,
|
||||
field2: 0,
|
||||
field3: 0,
|
||||
field4: 0,
|
||||
field5: 0,
|
||||
field6: 0,
|
||||
};
|
||||
|
||||
#[inline(always)]
|
||||
pub fn rel_tag_sparse_key(spcnode: Oid, dbnode: Oid, relnode: Oid, forknum: u8) -> Key {
|
||||
Key {
|
||||
|
||||
@@ -945,7 +945,9 @@ impl TenantConfig {
|
||||
patch
|
||||
.basebackup_cache_enabled
|
||||
.apply(&mut basebackup_cache_enabled);
|
||||
patch.rel_size_v1_access_disabled.apply(&mut rel_size_v1_access_disabled);
|
||||
patch
|
||||
.rel_size_v1_access_disabled
|
||||
.apply(&mut rel_size_v1_access_disabled);
|
||||
|
||||
Ok(Self {
|
||||
checkpoint_distance,
|
||||
|
||||
Reference in New Issue
Block a user