dtm-examples icon indicating copy to clipboard operation
dtm-examples copied to clipboard

various examples for dtm

Results 6 dtm-examples issues
Sort by recently updated
recently updated
newest added

`c# saga.SetBranchHeaders(new System.Collections.Generic.Dictionary { { "x-tenant-id","1" }, { "Auhthorization","1" } }); saga.SetBranchHeaders(new System.Collections.Generic.Dictionary { { { "Auhthorization","1" } });//直接覆盖了x-tenant-id ` 需要更灵活地控制BranchHeader

使用go-zero 加gorm xa模式报错 no trans with gid: 5tHc638HuemiecVeFkxmLQ status: prepared found FAILURE

![image](https://user-images.githubusercontent.com/25274977/197930850-f9d88c70-661e-45f6-9596-af17eacd77c0.png) app.POST(BusiAPI+"/SagaBTransOutGorm", dtmutil.WrapHandler(func(c *gin.Context) interface{} { req := reqFrom(c) barrier := MustBarrierFromGin(c) tx := dbGet().DB.Begin() return barrier.Call(tx.Statement.ConnPool.(*sql.Tx), func(tx1 *sql.Tx) error { return tx.Exec("update dtm_busi.user_account set balance = balance + ?...

hi It is my first time working with DTM for transactions in a microservice architecture. Using mongodb in my services, I need more examples of distributed transactions. MongoDB has transaction...

$ go run main.go # github.com/dtm-labs/dtm-examples/examples examples/grpc_headers.go:50:10: undefined: dtmcli.SetPassthroughHeaders 如上,提示dtmcli.SetPassthroughHeaders 未定义