Skip to content

Commit eb08af1

Browse files
committed
Implement binary protocol in libdtm.
1 parent 0ae8347 commit eb08af1

File tree

2 files changed

+145
-183
lines changed

2 files changed

+145
-183
lines changed

contrib/pg_dtm/README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Communication scheme
1616
│ ┏━━━━━━━━━┓ │
1717
└──┬─────┨ Backend ┠───────┬──┘
1818
┆ ┗━━━━━━━━━┛ ┆
19-
libarbiter libpq + xtm procs
19+
libdtm + libsockhub libpq + xtm procs
2020

2121
-----------------------
2222
Coordinator-Backend API
@@ -98,7 +98,7 @@ The commands:
9898
Joins the global transaction identified by the given 'xid', if not
9999
joined already.
100100

101-
The arbiter replies with [gxmin, xmin, xmax, xcnt, xip[0], xip[1]...],
101+
The arbiter replies with [RES_OK, gxmin, xmin, xmax, xcnt, xip[0], xip[1]...],
102102
where 'gxmin' is the smallest xmin among all available snapshots.
103103

104104
In case of a failure, the arbiter replies with [RES_FAILED].

0 commit comments

Comments
 (0)