We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5720401 commit ab8cefcCopy full SHA for ab8cefc
pageserver/src/pgdatadir_mapping.rs
@@ -778,16 +778,16 @@ impl Timeline {
778
.await?;
779
let mut rels = HashSet::new();
780
for (key, val) in results {
781
+ if key == REL_DIR_MIGRATION_KEY {
782
+ // The key that determines the current migration status, skip it.
783
+ continue;
784
+ }
785
let val = RelDirExists::decode(&val?).map_err(|_| {
786
PageReconstructError::Other(anyhow::anyhow!(
787
"invalid reldir key: decode failed, {}",
788
key
789
))
790
})?;
- if key.field6 == 0 {
- // The key that determines the current migration status, skip it.
- continue;
- }
791
if key.field6 != 1 {
792
return Err(PageReconstructError::Other(anyhow::anyhow!(
793
"invalid reldir key: field6 != 1, {}",
0 commit comments