File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Methods
18
18
.. class :: Transaction
19
19
20
20
Initialize multi-record transaction (MRT), assign random transaction id and initialize
21
- reads/writes hashmaps with default capacities. The default MRT timeout is 10 seconds.
21
+ reads/writes hashmaps with default capacities.
22
22
23
23
For both parameters, an unsigned 32-bit integer must be passed and the minimum value should be 16.
24
24
@@ -50,6 +50,14 @@ Methods
50
50
:type: int
51
51
.. py :attribute :: timeout
52
52
53
+ MRT timeout in seconds. The timer starts when the MRT monitor record is created.
54
+ This occurs when the first command in the MRT is executed. If the timeout is reached before
55
+ :py:meth: `~aerospike.Client.commit ` or :py:meth: `aerospike.Client.abort ` is called, the server will expire and
56
+ rollback the MRT.
57
+
58
+ The default client MRT timeout is zero. This means use the server configuration ``mrt-duration ``
59
+ as the MRT timeout. The default ``mrt-duration `` is 10 seconds.
60
+
53
61
This attribute can be read and written to.
54
62
55
63
:type: int
You can’t perform that action at this time.
0 commit comments