diff --git a/bindings/c/fdb_c.cpp b/bindings/c/fdb_c.cpp index 12eb749aeb..40f948e691 100644 --- a/bindings/c/fdb_c.cpp +++ b/bindings/c/fdb_c.cpp @@ -78,7 +78,7 @@ fdb_bool_t fdb_error_predicate( int predicate_test, fdb_error_t code ) { return code == error_code_not_committed || code == error_code_transaction_too_old || code == error_code_future_version || code == error_code_database_locked || code == error_code_proxy_memory_limit_exceeded || code == error_code_batch_transaction_throttled || - code == error_code_process_behind; + code == error_code_process_behind || code == error_code_tag_throttled; } return false; } diff --git a/fdbclient/NativeAPI.actor.cpp b/fdbclient/NativeAPI.actor.cpp index 93a8a9bb4e..55ce025781 100644 --- a/fdbclient/NativeAPI.actor.cpp +++ b/fdbclient/NativeAPI.actor.cpp @@ -2899,8 +2899,11 @@ ACTOR static Future tryCommit( Database cx, Reference && e.code() != error_code_not_committed && e.code() != error_code_database_locked && e.code() != error_code_proxy_memory_limit_exceeded - && e.code() != error_code_batch_transaction_throttled) + && e.code() != error_code_batch_transaction_throttled + && e.code() != error_code_tag_throttled) + { TraceEvent(SevError, "TryCommitError").error(e); + } if (trLogInfo) trLogInfo->addLog(FdbClientLogEvents::EventCommitError(startTime, static_cast(e.code()), req)); throw;