Improve recommendation for how to form transaction IDs (#1888)
Fixes: #1706 Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
parent
7820771fdd
commit
7eda6ad299
2 changed files with 5 additions and 3 deletions
|
@ -0,0 +1 @@
|
|||
Improve recommendation for how to form transaction IDs.
|
|
@ -251,9 +251,10 @@ the request idempotent.
|
|||
|
||||
The transaction ID should **only** be used for this purpose.
|
||||
|
||||
From the client perspective, after the request has finished, the `{txnId}`
|
||||
value should be changed by for the next request (how is not specified; a
|
||||
monotonically increasing integer is recommended).
|
||||
After the request has finished, clients should change the `{txnId}` value for
|
||||
the next request. How this is achieved, is left as an implementation detail.
|
||||
It is recommended that clients use either version 4 UUIDs or a concatenation
|
||||
of the current timestamp and a monotonically increasing integer.
|
||||
|
||||
The homeserver should identify a request as a retransmission if the
|
||||
transaction ID is the same as a previous request, and the path of the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue