Change SevWarn to SevInfo for injected errors
This commit is contained in:
parent
012465ec26
commit
2361acbe22
|
@ -829,7 +829,7 @@ ACTOR Future<Void> preresolutionProcessing(CommitBatchContext* self) {
|
|||
SERVER_KNOBS->PROXY_REJECT_BATCH_QUEUED_TOO_LONG && canReject(trs)) {
|
||||
// Disabled for the recovery transaction. otherwise, recovery can't finish and keeps doing more recoveries.
|
||||
CODE_PROBE(true, "Reject transactions in the batch");
|
||||
TraceEvent(SevWarnAlways, "ProxyReject", pProxyCommitData->dbgid)
|
||||
TraceEvent(g_network->isSimulated() ? SevInfo : SevWarnAlways, "ProxyReject", pProxyCommitData->dbgid)
|
||||
.suppressFor(0.1)
|
||||
.detail("QDelay", queuingDelay)
|
||||
.detail("Transactions", trs.size())
|
||||
|
|
|
@ -446,11 +446,14 @@ void proxyGRVThresholdExceeded(const GetReadVersionRequest* req, GrvProxyStats*
|
|||
++stats->txnRequestErrors;
|
||||
req->reply.sendError(grv_proxy_memory_limit_exceeded());
|
||||
if (req->priority == TransactionPriority::IMMEDIATE) {
|
||||
TraceEvent(SevWarnAlways, "ProxyGRVThresholdExceededSystem").suppressFor(60);
|
||||
TraceEvent(g_network->isSimulated() ? SevInfo : SevWarnAlways, "ProxyGRVThresholdExceededSystem")
|
||||
.suppressFor(60);
|
||||
} else if (req->priority == TransactionPriority::DEFAULT) {
|
||||
TraceEvent(SevWarnAlways, "ProxyGRVThresholdExceededDefault").suppressFor(60);
|
||||
TraceEvent(g_network->isSimulated() ? SevInfo : SevWarnAlways, "ProxyGRVThresholdExceededDefault")
|
||||
.suppressFor(60);
|
||||
} else {
|
||||
TraceEvent(SevWarnAlways, "ProxyGRVThresholdExceededBatch").suppressFor(60);
|
||||
TraceEvent(g_network->isSimulated() ? SevInfo : SevWarnAlways, "ProxyGRVThresholdExceededBatch")
|
||||
.suppressFor(60);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue