mirror of https://github.com/dtm-labs/dtm.git
csharpjavadistributed-transactionsdtmgogolangmicroservicenodejsphpdatabasesagaseatatcctransactiontransactionsxapythondistributed
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
223 B
4 lines
223 B
use dtm_barrier
|
|
db.barrier.drop()
|
|
db.barrier.createIndex({ gid: 1, branch_id: 1, op: 1, barrier_id: 1 }, { unique: true })
|
|
db.barrier.insert({ gid: "123", branch_id: "01", op: "action", barrier_id: "01", reason: "test" });
|
|
|