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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to