[cherry-pick](branch-2.0) Pick "[Enhancement](full compaction) Add run status support for full compaction (#34043)"#37607
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run buildall |
…tion (apache#34043) * The usage is `curl http://{ip}:{host}/api/compaction/run_status?tablet_id={tablet_id}` e.g. `curl http://127.0.0.1:8040/api/compaction/run_status?tablet_id=10084` If full compaction is running, the output will be ``` { "status" : "Success", "run_status" : true, "msg" : "compaction task for this tablet is running", "tablet_id" : 10084, "compact_type" : "full" } ``` else the ouput will be ``` { "status" : "Success", "run_status" : false, "msg" : "compaction task for this tablet is not running", "tablet_id" : 10084, "compact_type" : "full" } ``` * 2
29a0539 to
d621860
Compare
|
run buildall |
| : Compaction(tablet, "FullCompaction:" + std::to_string(tablet->tablet_id())) {} | ||
|
|
||
| FullCompaction::~FullCompaction() {} | ||
| FullCompaction::~FullCompaction() { |
There was a problem hiding this comment.
warning: use '= default' to define a trivial destructor [modernize-use-equals-default]
FullCompaction::~FullCompaction() {
^
TPC-H: Total hot run time: 49959 ms |
|
TeamCity be ut coverage result: |
TPC-DS: Total hot run time: 202814 ms |
ClickBench: Total hot run time: 30.5 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
…n status support for full compaction (apache#34043)" (apache#37607) Pick apache#34043 The usage is `curl http://{ip}:{host}/api/compaction/run_status?tablet_id={tablet_id}` e.g. `curl http://127.0.0.1:8040/api/compaction/run_status?tablet_id=10084` If full compaction is running, the output will be ``` { "status" : "Success", "run_status" : true, "msg" : "compaction task for this tablet is running", "tablet_id" : 10084, "compact_type" : "full" } ``` else the ouput will be ``` { "status" : "Success", "run_status" : false, "msg" : "compaction task for this tablet is not running", "tablet_id" : 10084, "compact_type" : "full" } ``` ## Proposed changes Issue Number: close #xxx <!--Describe your changes.-->
Pick #34043
The usage is
curl http://{ip}:{host}/api/compaction/run_status?tablet_id={tablet_id}e.g.curl http://127.0.0.1:8040/api/compaction/run_status?tablet_id=10084If full compaction is running, the output will be
else the ouput will be
Proposed changes
Issue Number: close #xxx