SelectDB Enterprise
管控指南
Open API
BE HTTP
重置连接缓存

重置连接缓存

Request

GET /api/reset_rpc_channel/{endpoints}

Description

该功能用于重置 brpc 的连接缓存。

Path parameters

  • endpoints 支持如下形式:

    • all

    • host1:port1,host2:port2

Request body

Response

```json
{
    "msg":"success",
    "code":0,
    "data": "no cached channel.",
    "count":0
}
```

Examples

```shell
curl http://127.0.0.1:8040/api/reset_rpc_channel/all
```

```shell
curl http://127.0.0.1:8040/api/reset_rpc_channel/1.1.1.1:8080,2.2.2.2:8080
```
© 2025 北京飞轮数据科技有限公司 京ICP备2022004029号 | Apache、Apache Doris 以及相关开源项目名称均为 Apache 基金会商标