Compare commits

...

1 Commits

Author SHA1 Message Date
Arthur Petukhovsky
84f7d0ac92 Disable XLP_FIRST_IS_CONTRECORD check 2022-08-15 19:38:12 +00:00

View File

@@ -84,11 +84,11 @@ impl WalStreamDecoder {
}
match self.state {
State::WaitingForRecord => {
if hdr.xlp_info & XLP_FIRST_IS_CONTRECORD != 0 {
return Err(
"invalid xlog page header: unexpected XLP_FIRST_IS_CONTRECORD".into(),
);
}
// if hdr.xlp_info & XLP_FIRST_IS_CONTRECORD != 0 {
// return Err(
// "invalid xlog page header: unexpected XLP_FIRST_IS_CONTRECORD".into(),
// );
// }
if hdr.xlp_rem_len != 0 {
return Err(format!(
"invalid xlog page header: xlp_rem_len={}, but it's not a contrecord",