Comments (5)
管理后台会显示失败的原因,如果你没有找到,帮忙给个复现的例子,我看看如何修复
from dtm.
{
"branches": [
{
"id": 11,
"create_time": "2023-08-16T04:24:47Z",
"update_time": "2023-08-16T04:24:47Z",
"gid": "hqL8CUsXh7YaUzBYhTXCVk",
"url": "https://xxxxx:8443/womata-wms/v1/wol/syncOrder",
"bin_data": "eyJvcmRlcklkcyI6WzIzNjddfQ==",
"branch_id": "01",
"op": "action",
"status": "prepared"
}
],
"transaction": {
"id": 7,
"create_time": "2023-08-16T04:24:47Z",
"update_time": "2023-08-16T04:40:56Z",
"gid": "hqL8CUsXh7YaUzBYhTXCVk",
"trans_type": "msg",
"status": "failed",
"protocol": "http",
"rollback_time": "2023-08-16T04:40:56Z",
"options": "{\"branch_headers\":{\"token\":\"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImRpYW4xMjZAZm94bWFpbC5jb20iLCJleHAiOjE2OTI2MDc4OTYsImV4cFN0ciI6IjIwMjMtMDgtMjEgMDk6NTE6MzYiLCJpYXQiOjE2ODM5Njc4OTYsImlkIjoxMDE4LCJpc3MiOiJEVEJwOENCQzJoV2lvZmxPRk1NVjd0SkF5enBPZGp6UyIsIm5hbWUiOiJkaWFud2FuZyIsInBob25lIjoiKzg2MTMxMDAwMDAwMSJ9.PerCSbHc7Vg7bppSUmG15U2bi5PjGV7VzrrxIamACh0\"},\"concurrent\":false}",
"next_cron_interval": 640,
"next_cron_time": "2023-08-16T04:46:15Z",
"owner": "YxcxvYESqRWrhdV2uFhL45",
"concurrent": false
}
}
如上所示,只返回了status是failed,但是没有具体服务的异常信息,只能到对应服务去查调用记录才行,我使用的版本是DTM admin v1.17.3,试用了sage和msg两种模式
from dtm.
目前项目使用的是go-zero + loki日志系统 + garafa管理后台,dtm接入loki的方法有没有案例可以参考,方便查询日志和调用链路
from dtm.
能否把复现的例子代码给一下,这样我可以快速的定位问题
from dtm.
测试了各种模式,发现好像系统本身的设计就是这样,所以我这里仅仅只是一个建议,如果能在后台的调用详情体现出来调用的异常,会很方便来检查异常信息,由于不是bug,我这里关闭这个issue
from dtm.
Related Issues (20)
- timeout_to_fail=999999 但 dtm报错Client.Timeout exceeded while awaiting headers
- XA事务使用demo测试显示submit成功了,mysql中实际并没有提交事务 HOT 1
- 有没有接入polaris的demo HOT 1
- C#客户端 saga执行事务时,demo设置了延时超过2秒之后,事务状态并没有更改为成功,反复重试 HOT 1
- The sql for creating the TDSql table is incorrect
- http_workflow_tcc_barrier 某种异常情况下,子事务 rollback 之后又会走到 commit 步骤 HOT 26
- saga grpc 加上ctx入参 HOT 5
- dtm真有管理后台? HOT 4
- 子事务屏障和幂等的问题?
- 能否将BranchBarrier中Call的提交和回滚提取出来 HOT 4
- clone run的时候出现的错误 HOT 5
- grpc_saga_passthroughHeaders 中间件设置header后接口中无法获取 HOT 5
- Can I provide a demo for accessing XA transactions in the go-zero framework HOT 1
- Azure MySQL SSL-mode requird
- XA全局事务成功后,DTM Admin 显示正常,但是本地数据库XA事务未提交,要修改的数据未变动,需要手动执行XA事务提交才生效 HOT 2
- Expect the Server to support SqlServer storage
- Lua not supported? HOT 1
- mod\github.com\dtm-labs\[email protected]\dtmimp\vars.go:48:22: undefined: dtmdriver.GetHTTPDriver HOT 2
- 并发情况下 偶尔会出现死锁 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dtm.