Skip to content

Conversation

@wangbo
Copy link
Contributor

@wangbo wangbo commented Jun 5, 2024

Proposed changes

pick #35662

mysql [information_schema]>select * from workload_policy;
+-------+------------------+------------------------------------+--------------+----------+---------+---------+----------------+
| ID | NAME | CONDITION | ACTION | PRIORITY | ENABLED | VERSION | WORKLOAD_GROUP |
+-------+------------------+------------------------------------+--------------+----------+---------+---------+----------------+
| 11020 | cancel_query_mem | query_be_memory_bytes >= 524288000 | cancel_query | 0 | 0 | 1 | |
+-------+------------------+------------------------------------+--------------+----------+---------+---------+----------------+
1 row in set (0.01 sec)

{
"TxnId": 2,
"Label": "hits",
"Comment": "",
"TwoPhaseCommit": "false",
"Status": "Fail",
"Message": "[INTERNAL_ERROR]cancelled: query 1e483ee97b04d9ec-5bdd0aa1b40ab799 cancelled by workload policy: cancel_query_mem, id:11020",
"NumberTotalRows": 463296,
"NumberLoadedRows": 463296,
"NumberFilteredRows": 0,
"NumberUnselectedRows": 0,
"LoadBytes": 398295040,
"LoadTimeMs": 130281,
"BeginTxnTimeMs": 16,
"StreamLoadPutTimeMs": 190,
"ReadDataTimeMs": 3349,
"WriteDataTimeMs": 3480,
"CommitAndPublishTimeMs": 0
}

I20240605 15:13:37.930701 3512264 query_context.cpp:122] Query 1e483ee97b04d9ec-5bdd0aa1b40ab799 deconstructed, , deregister query/load memory tracker, queryId=1e483ee97b04d9ec-5bdd0aa1b40ab799, Limit=2.00 GB, CurrUsed=460.71 MB, PeakUsed=551.86 MB

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 5, 2024

clang-tidy review says "All clean, LGTM! 👍"

@HappenLee HappenLee merged commit 5cecbfc into apache:branch-2.1 Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants