ElasticSearch 异常

这个是什么日志信息呀

[2026-02-24 08:26:43.991798] [8758][T1002_L0_G0][T1002][YB42AC10121F-00064AF0C88871DA-0-0] {“trace_id”:“00064b86-f129-6f50-5c19-6d2a72d51954”,“name”:“sql_compile”,“id”:“00064b86-f129-71a1-55b7-85262a4a8914”,“start_ts”:1771892803989921,“end_ts”:1771892803991289,“parent_id”:“00064b86-f129-7195-ce58-923737f4ab80”,“is_follow”:false,“tags”:[{“sql_id”:“08B768FD4CDE1D4909FC8EEEAA3C5AA7”},{“database_id”:201001},{“sql_text”:“select /* dbdoctor_collect /\n from oceanbase.CDB_OB_DEADLOCK_EVENT_HISTORY where REPORT_TIME > ‘2025-01-01 00:00:00’ order by REPORT_TIME DESC limit 10”},{“hit_plan”:false}]}
[2026-02-24 08:26:43.991826] [8758][T1002_L0_G0][T1002][YB42AC10121F-00064AF0C88871DA-0-0] {“trace_id”:“00064b86-f129-6f50-5c19-6d2a72d51954”,“name”:“mpquery_single_stmt”,“id”:“00064b86-f129-7195-ce58-923737f4ab80”,“start_ts”:1771892803989909,“end_ts”:1771892803991645,“parent_id”:“00064b86-f129-718b-010c-5158b43d99e1”,“is_follow”:false}
[2026-02-24 08:26:43.991852] [8758][T1002_L0_G0][T1002][YB42AC10121F-00064AF0C88871DA-0-0] {“trace_id”:“00064b86-f129-6f50-5c19-6d2a72d51954”,“name”:“com_query_process”,“id”:“00064b86-f129-718b-010c-5158b43d99e1”,“start_ts”:1771892803989899,“end_ts”:1771892803991647,“parent_id”:“00000000-0000-0000-0000-000000000000”,“is_follow”:false,“tags”:[{“err_code”:-5019},{“sess_id”:3221703056},{“action_name”:""},{“module_name”:""},{“client_info”:""},{“receive_ts”:1771892803989842},{“log_trace_id”:“YB42AC10121F-00064AF0C88871DA-0-0”}]}
[admin@OBServer001 ~]$

1 个赞

这个重启一下 看着是ES 写入从 16:24 起就停了
/home/admin/ocp_agent/bin/ocp_agentctl restart

1 个赞

数据库吗还是ocp?

1 个赞

– 在 OB 节点重启 agent
是ob集群上的ocp_agent 这个重启一下 按照我发的
重启完以后 检查一下日志信息
tail -f /home/admin/ocp_agent/log/monagent.log | grep -iE “write to index|ESOutput|error”

1 个赞

这个需要晚上了 有人在测试

1 个赞

好的 没事 有时间了重启一下 估计还是ocp_agent的问题

1 个赞

辛苦了。希望他好了。周末愉快

1 个赞

一直没有太好的效果。我放弃了。

1 个赞

分析得很透彻,学到了不少新知识。

1 个赞

学习了。

1 个赞

围观学习

没有太好的效果 什么意思 意思还是不行是么?ocp上 还是查不到数据

查询不到 只有cop_log 日志 重启有时候就有其他的日志。一直重启搞得数据库没办法用。就战略放弃

意思是重启以后 这两个日志信息 也是有的是么?
curl -u “admin:密码” "http://172.16.10.204:9200/ocp_trace /count"
curl -u “admin:密码” "http://172.16.10.204:9200/ocp_trace_summary
*/_count”

作者的视角很独特,提供了一个新思路。

有时候有。还是6月的 ocp_trace_summary 一直没有

感谢分享。

逻辑清晰。