全部文档
当前文档

暂无内容

如果没有找到您期望的内容,请尝试其他搜索词

文档中心

查询全局事务

最近更新时间:2019-08-09 18:42:27

接口 method url
GET /kdtx
输入项中文名称 字段名 数据类型 输入属性 取值范围及备注
Action Action String 必输 InspectGlobalDistributeTransactions
请求页码 Page 默认为第一页
每页展示数量 Size 默认每页10条记录
事务状态 State string 选填 running/commit/rollback/error
全局事务ID Xid string 选填
全局事务名称 Name string 选填
应用ID AppId string
groupId GroupId long
header中文名 字段名 输入属性 取值范围
账户名称 X-KSC-ACCOUNT-ID
区域 X-KSC-REGION
输出项中文名称 字段名 数据类型 输出属性 取值范围及备注
msg msg String
status status int
page page int
size size int
totalPage totalPage int
totalCount totalCount int
data data 对象 xid:全局事务ID; name:全局事务名称;state:全局事务状态;stateText:分支服务状态展示文本:已提交、已回滚、运行中、异常;commit/rollback/running/error;appId:应用ID;startTime:事务开始时间;timeout:事务超时时间;msg:如果为异常状态,则记录异常信息; [ { “id”: 1, “xid”: “23429-adfas-2134-eqwrq”, “name”: “payTheBill(com.ksyun.demo.order.controller.vo.PayReq)”, “state”: “error”, “stateText”: “异常”, “appId”: “order”, “startTime”: 1561608838000, “timeout”: 6000, “msg”: “rollback timeout”, “region”: “cn-beijing-1” }, { “id”: 2, “xid”: “23429-adfas-2134-eqwrq”, “name”: “payTheBill(com.ksyun.demo.order.controller.vo.PayReq)”, “state”: “committed”, “stateText”: “已提交”, “appId”: “order”, “startTime”: 1561608838000, “timeout”: 6000, “msg”: “success”, “region”: “cn-beijing-1” }]
文档导读
纯净模式常规模式

纯净模式

点击可全屏预览文档内容
文档反馈