Improve recommendation for how to form transaction IDs (#1888)

Fixes: #1706
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
pull/1892/head
Johannes Marbach 5 months ago committed by GitHub
parent 7820771fdd
commit 7eda6ad299
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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. The transaction ID should **only** be used for this purpose.
From the client perspective, after the request has finished, the `{txnId}` After the request has finished, clients should change the `{txnId}` value for
value should be changed by for the next request (how is not specified; a the next request. How this is achieved, is left as an implementation detail.
monotonically increasing integer is recommended). 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 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 transaction ID is the same as a previous request, and the path of the

Loading…
Cancel
Save