[doc](colocate) Fix colocate api doc inconformity with code (#31430)
```
if ("POST".equalsIgnoreCase(method)) {
colocateIndex.markGroupUnstable(groupId, "mark unstable via http api", true);
} else if ("DELETE".equalsIgnoreCase(method)) {
colocateIndex.markGroupStable(groupId, true, null);
}
```
This commit is contained in:
@ -400,7 +400,7 @@ The API is implemented on the FE side and accessed using `fe_host: fe_http_port`
|
||||
* Mark as Stable
|
||||
|
||||
```
|
||||
POST /api/colocate/group_stable?db_id=10005&group_id=10008
|
||||
DELETE /api/colocate/group_stable?db_id=10005&group_id=10008
|
||||
|
||||
Returns: 200
|
||||
```
|
||||
@ -408,7 +408,7 @@ The API is implemented on the FE side and accessed using `fe_host: fe_http_port`
|
||||
* Mark as Unstable
|
||||
|
||||
```
|
||||
DELETE /api/colocate/group_stable?db_id=10005&group_id=10008
|
||||
POST /api/colocate/group_stable?db_id=10005&group_id=10008
|
||||
|
||||
Returns: 200
|
||||
```
|
||||
|
||||
@ -401,7 +401,7 @@ Doris 提供了几个和 Colocation Join 有关的 HTTP Restful API,用于查
|
||||
- 标记为 Stable
|
||||
|
||||
```text
|
||||
POST /api/colocate/group_stable?db_id=10005&group_id=10008
|
||||
DELETE /api/colocate/group_stable?db_id=10005&group_id=10008
|
||||
|
||||
返回:200
|
||||
```
|
||||
@ -409,7 +409,7 @@ Doris 提供了几个和 Colocation Join 有关的 HTTP Restful API,用于查
|
||||
- 标记为 Unstable
|
||||
|
||||
```text
|
||||
DELETE /api/colocate/group_stable?db_id=10005&group_id=10008
|
||||
POST /api/colocate/group_stable?db_id=10005&group_id=10008
|
||||
|
||||
返回:200
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user