Yukang-Lian opened a new pull request, #37607:
URL: https://github.com/apache/doris/pull/37607

   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.-->
   
   


-- 
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]

Reply via email to