bobhan1 opened a new pull request, #23702: URL: https://github.com/apache/doris/pull/23702
## Proposed changes currently, doris only support updating one config in a request. This PR allows updating multiple configs in one request. The updates are performed **one by one** and it's guaranteed these updates are atomic. The results of every update will be returned. Example: ``` curl -X POST "http://127.0.0.1:8049/api/update_config?agent_task_trace_threshold_sec=2&enable_segcompaction=false&eable_time_lut=false" ``` ``` [ { "config_name": "agent_task_trace_threshold_sec", "status": "OK", "msg": "" }, { "config_name": "enable_segcompaction", "status": "BAD", "msg": "set enable_segcompaction=false failed, reason: [NOT_IMPLEMENTED_ERROR]'enable_segcompaction' is not support to modify." }, { "config_name": "enable_time_lut", "status": "BAD", "msg": "set enable_time_lut=false failed, reason: [NOT_IMPLEMENTED_ERROR]'enable_time_lut' is not support to modify." } ] ``` ## Further comments If this is a relatively large or complex change, kick off the discussion at [d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc... -- 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