Closed Ghostbaby closed 7 months ago
@Ghostbaby hello 可以先通过这些步骤排查一下
Distributed Tracing
面板上,过滤 request_resource = SET autocommit=1 看能否找到对应的 commit & set autocommit & commit 之前的 dml 语句,先确认这些语句有被正常采集到;syscall_trace_id_request
+ syscall_trace_id_resepon
+ req_tcp_seq
+ resp_tcp_seq
如操作有阻碍请告知,我找你远程看下
@taloric Hi
已沟通
set autocommit=1
之前的查询/执行语句set autocommit=1
不正常地时延高与研发沟通,问题为请求响应合并不对,ebpf capseq 同方向的记录有问题导致上层合并错了,已在 649 前修复,升级到 v.6.4.9 确认问题解决
Search before asking
DeepFlow Component
Grafana Dashbaord
What you expected to happen
java 服务在用 jdbc 客户端操作 mysql 的时候,使用事务之后只能记录 SET autocommit=0 执行时间慢,无法跟真正执行 insert 语句关联起来,查询慢查询、慢写入的时候只能看到一堆的 SET autocommit=0 语句。
How to reproduce
java 程序使用 jdbc 使用事务操作数据库
DeepFlow version
DeepFlow agent list
No response
Kubernetes CNI
No response
Operation-System/Kernel version
No response
Anything else
No response
Are you willing to submit a PR?
Code of Conduct