You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[MOD-12418] Track OOM errors and warnings in info (#7452)
* Track timeout in sendchunk resp2
* Track timeout warning in sendSearchResults
* Track timeout error in searchResultReducer
(cherry picked from commit fafe1dc)
* Track timeout in sendChunk_hybrid
(cherry picked from commit 8529cb9)
* test timeout metrics
(cherry picked from commit c56a0d9)
* fix isCoord check
* Add query warning code and add function and fields needed to track
(cherry picked from commit a414641)
* Track timeout in sendchunk resp3
(cherry picked from commit 6853bb9)
* readd skip
* Update syntax and args error to new SA as cluster
* format and enrico comment
* Track OOM
(cherry picked from commit de1a285aac27c73d4feca50abe3c2328f6959ce2)
* fix warnings double counting
* fix missing skip and logic
* Change test to N=0 with Internal only (not working so revert afterwards)
* Revert "Change test to N=0 with Internal only (not working so revert afterwards)"
This reverts commit 829ac53.
* meirav comments
* Stablize tests
* Add resp3 test
* _disable_ hybrid sa timeout
* Make test robust
* fixup! Make test robust
* remove limits
* comments
* Refactor warning tracking loop for clarity
* Add test for warnings metric count with timeout
* fix flaky
if (QueryError_GetCode(&ctx->errors[i]) ==QUERY_ERROR_CODE_OUT_OF_MEMORY&&oomPolicy==OomPolicy_Return ) {
221
222
QueryError_SetQueryOOMWarning(status);
222
223
} else {
223
-
QueryError_SetWithoutUserDataFmt(status, QUERY_ERROR_CODE_GENERIC, "Failed to process shard responses, first error: %s, total error count: %zu",
224
+
QueryError_SetWithoutUserDataFmt(status, QueryError_GetCode(&ctx->errors[i]), "Failed to process shard responses, first error: %s, total error count: %zu",
0 commit comments