gavinchou commented on code in PR #66969:
URL: https://github.com/apache/doris/pull/66969#discussion_r3819944270
##########
cloud/src/meta-service/meta_service_helper.h:
##########
@@ -346,17 +346,24 @@ inline MetaServiceCode cast_as(TxnErrorCode code) {
[[maybe_unused]] bool drop_request = false;
\
[[maybe_unused]] KVStats stats;
\
[[maybe_unused]] MsStressDecision ms_stress_decision;
\
- if (config::enable_ms_rate_limit ||
config::enable_ms_rate_limit_injection) { \
+ const bool reject_ms_rate_limited_request =
\
+ config::enable_ms_rate_limit ||
config::enable_ms_rate_limit_injection; \
+ if (reject_ms_rate_limited_request ||
config::enable_ms_rate_limit_dry_run) { \
Review Comment:
```suggestion
if (reject_ms_rate_limited_request) { \
```
--
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]