kaijchen commented on code in PR #47507:
URL: https://github.com/apache/doris/pull/47507#discussion_r1955869704
##########
cloud/src/meta-service/txn_kv_error.h:
##########
@@ -52,7 +52,7 @@ inline const char* format_as(TxnErrorCode code) {
case TxnErrorCode::TXN_INVALID_ARGUMENT: return "InvalidArgument";
case TxnErrorCode::TXN_KEY_TOO_LARGE: return "Key length exceeds limit";
case TxnErrorCode::TXN_VALUE_TOO_LARGE: return "Value length exceeds
limit";
- case TxnErrorCode::TXN_BYTES_TOO_LARGE: return "Transaction exceeds byte
limit";
+ case TxnErrorCode::TXN_BYTES_TOO_LARGE: return "Too many partitions to
load. Please reduce the number of partitions involved in the load.";
Review Comment:
I think it's fine to change this message since `TXN_BYTES_TOO_LARGE` means
the transaction is too large, unless there are other reasons a transaction
might be too large.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]