如何启动编译出的debug版本的observer

【 使用环境 】测试环境
【 OB or 其他组件 】observer 部署
【 使用版本 】4.0
【问题描述】如何使用源码编译出的debug版本的observer进行部署。

  1. 官方3.1提供教程可以编译出debug版本的observer
  2. 教程中部署oceanbase使用了obd+rpm包,没有说明如何使用编译出的debug版本的observer如何启动数据库。
  3. 教程可以编译出observer的rpm包,但是不是debug版本的。
  4. 尝试通过obd启动了observer,然后ps ef|grep ob找到ob的启动命令。然后将命令中的observer替换为/build_debug/src/observer/observer但无效,用obclient连接报错:Tenant not in this server
  5. 请教如何使用源码编译出的/build_debug/src/observer/observer 对ob进行部署。

【复现路径】在github上clone4.0代码,编译出observer
【问题现象及影响】

【附件】

请参考: Deploy Compiled ObServer CN · oceanbase/oceanbase Wiki (github.com)