Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonLiTree committed Feb 21, 2024
1 parent b8222a0 commit 0075b4a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/en/docs/install/k8s-deploy/debug-crash.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ When the service is restarted next time, the service will detect the annotation
$ kubectl --namespace ${namespace} exec -ti ${pod_name} bash
```

**3. Manually start the service under `debug`. When the user enters the pod, manually execute the `start_xx.sh` script by modifying the HTTP port of the corresponding configuration file. The script directory is under `/opt/apache-doris/xx/bin`.**

**3. Manually start the service under `debug`. When the user enters the pod, manually execute the `start_xx.sh` script by modifying the port of the corresponding configuration file. The script directory is under `/opt/apache-doris/xx/bin`.**

FE needs to modify `query_port`, BE needs to modify `heartbeat_service_port`
The main purpose is to avoid misleading the flow by accessing the crashed node through service in `debug` mode.

## Exit Debug mode

Expand Down
5 changes: 3 additions & 2 deletions docs/zh-CN/docs/install/k8s-deploy/debug-crash.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ $ kubectl annotate pod ${pod_name} --namespace ${namespace} selectdb.com.doris/r
$ kubectl --namespace ${namespace} exec -ti ${pod_name} bash
```

**3. `debug` 下手动启动服务,当用户进入 pod 内部,通过修改对应配置文件有关 HTTP 的端口进行手动执行 `start_xx.sh` 脚本,脚本目录为 `/opt/apache-doris/xx/bin` 下。**

**3. `debug` 下手动启动服务,当用户进入 pod 内部,通过修改对应配置文件有关端口进行手动执行 `start_xx.sh` 脚本,脚本目录为 `/opt/apache-doris/xx/bin` 下。**

FE 需要修改 `query_port`,BE 需要修改 `heartbeat_service_port`
主要是避免`debug`模式下还能通过 service 访问到 crash 的节点导致误导流。

## 退出 Debug 模式

Expand Down

0 comments on commit 0075b4a

Please sign in to comment.