chore: disable new ack code

This commit is contained in:
nathan 2024-03-25 16:17:20 +08:00
parent d4e45efd6a
commit 80899722bf
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ fn ack_code_from_error(error: &Error) -> AckCode {
match error { match error {
Error::YrsTransaction(_) => AckCode::Retry, Error::YrsTransaction(_) => AckCode::Retry,
Error::YrsApplyUpdate(_) => AckCode::CannotApplyUpdate, Error::YrsApplyUpdate(_) => AckCode::CannotApplyUpdate,
Error::YrsEncodeState(_) => AckCode::EncodeState, // Error::YrsEncodeState(_) => AckCode::EncodeState,
_ => AckCode::Internal, _ => AckCode::Internal,
} }
} }