Uh oh!
There was an error while loading. Please reload this page.
[chore](http) Merge ms and recycler http skeleton - #61502
Conversation
Thearas
commented
Mar 19, 2026
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
wyxxxcat
commented
Mar 19, 2026
run buildall |
f8e2b7e to
0521bc4Comparewyxxxcat
commented
Mar 24, 2026
run buildall |
0521bc4 to
a9b5cc1Comparewyxxxcat
commented
Apr 1, 2026
run buildall |
1 similar comment
wyxxxcat
commented
Apr 1, 2026
run buildall |
hello-stephen
commented
Apr 1, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
cd3c674 to
efdcaddComparewyxxxcat
commented
Apr 2, 2026
run buildall |
hello-stephen
commented
Apr 2, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
90872fb to
6e7be19Comparewyxxxcat
commented
Apr 14, 2026
run buildall |
hello-stephen
commented
Apr 14, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
w41ter
commented
Apr 15, 2026
/review |
PR approved by at least one committer and no changes requested. |
hello-stephen
commented
Apr 17, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
gavinchou
commented
Apr 19, 2026
/review |
OpenCode automated review failed and did not complete. Error: Review step was failure (possibly timeout or cancelled) Please inspect the workflow logs and rerun the review after the underlying issue is resolved. |
Uh oh!
There was an error while loading. Please reload this page.
### What problem does this PR solve?
Problem Summary: Meta service and recycler maintained duplicated HTTP
parsing, routing, and config handling logic, which made it harder to
reuse handlers and keep versioned endpoints consistent. This change
extracts the shared HTTP helper layer into `cloud/src/common/
http_helper.*`, introduces role-based handler registration for
MetaService and Recycler, reuses common config show/update helpers, and
adds versioned cluster HTTP test coverage.
If you want to expand the interface version
```
{"add_cluster",
{.handler = [](void* s, brpc::Controller* c) { return process_alter_cluster((MS*)s, c); },
.versioned_handlers =
{{"v2",
[](void* s, brpc::Controller* c) {
return process_alter_cluster_v2((MS*)s, c);
}}},
.role = HttpRole::META_SERVICE}},
```Problem Summary: Meta service and recycler maintained duplicated HTTP
parsing, routing, and config handling logic, which made it harder to
reuse handlers and keep versioned endpoints consistent. This change
extracts the shared HTTP helper layer into `cloud/src/common/
http_helper.*`, introduces role-based handler registration for
MetaService and Recycler, reuses common config show/update helpers, and
adds versioned cluster HTTP test coverage.
If you want to expand the interface version
```
{"add_cluster",
{.handler = [](void* s, brpc::Controller* c) { return process_alter_cluster((MS*)s, c); },
.versioned_handlers =
{{"v2",
[](void* s, brpc::Controller* c) {
return process_alter_cluster_v2((MS*)s, c);
}}},
.role = HttpRole::META_SERVICE}},
```Problem Summary: Meta service and recycler maintained duplicated HTTP
parsing, routing, and config handling logic, which made it harder to
reuse handlers and keep versioned endpoints consistent. This change
extracts the shared HTTP helper layer into `cloud/src/common/
http_helper.*`, introduces role-based handler registration for
MetaService and Recycler, reuses common config show/update helpers, and
adds versioned cluster HTTP test coverage.
If you want to expand the interface version
```
{"add_cluster",
{.handler = [](void* s, brpc::Controller* c) { return process_alter_cluster((MS*)s, c); },
.versioned_handlers =
{{"v2",
[](void* s, brpc::Controller* c) {
return process_alter_cluster_v2((MS*)s, c);
}}},
.role = HttpRole::META_SERVICE}},
```### What problem does this PR solve?
Problem Summary: Meta service and recycler maintained duplicated HTTP
parsing, routing, and config handling logic, which made it harder to
reuse handlers and keep versioned endpoints consistent. This change
extracts the shared HTTP helper layer into `cloud/src/common/
http_helper.*`, introduces role-based handler registration for
MetaService and Recycler, reuses common config show/update helpers, and
adds versioned cluster HTTP test coverage.
If you want to expand the interface version
```
{"add_cluster",
{.handler = [](void* s, brpc::Controller* c) { return process_alter_cluster((MS*)s, c); },
.versioned_handlers =
{{"v2",
[](void* s, brpc::Controller* c) {
return process_alter_cluster_v2((MS*)s, c);
}}},
.role = HttpRole::META_SERVICE}},
```
What problem does this PR solve?
Problem Summary: Meta service and recycler maintained duplicated HTTP parsing, routing, and config handling logic, which made it harder to reuse handlers and keep versioned endpoints consistent. This change extracts the shared HTTP helper layer into
cloud/src/common/ http_helper.*, introduces role-based handler registration for MetaService and Recycler, reuses common config show/update helpers, and adds versioned cluster HTTP test coverage.If you want to expand the interface version
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)