toxicteddy00077 commented on code in PR #422:
URL: https://github.com/apache/fluss-rust/pull/422#discussion_r2916012299
##########
bindings/cpp/include/fluss.hpp:
##########
@@ -180,6 +180,18 @@ struct ErrorCode {
static constexpr int INVALID_ALTER_TABLE_EXCEPTION = 56;
/// Deletion operations are disabled on this table.
static constexpr int DELETION_DISABLED_EXCEPTION = 57;
+
+ /// Returns true if retrying the request may succeed. Mirrors Java's
RetriableException hierarchy.
+ static constexpr bool IsRetriable(int32_t code) {
+ return code == NETWORK_EXCEPTION || code == CORRUPT_MESSAGE ||
Review Comment:
yeah thats why I asked you to have a look. Just wanted to confirm if this
was fine. Now I'll make the updates ASAP thanks
--
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]