diff options
author | Ben Pfaff <blp@ovn.org> | 2019-04-25 12:42:46 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2019-04-25 13:21:39 -0700 |
commit | c15a5dcf575fb0e3790759e79eb68fcedf45b8c4 (patch) | |
tree | 0003a5c60cfac79973542c945708cf540f6eeb49 /Documentation/ref | |
parent | bcbc52615d1cffa0695ae7cc3d752f3207d4596a (diff) | |
download | openvswitch-c15a5dcf575fb0e3790759e79eb68fcedf45b8c4.tar.gz |
ovsdb-server.7: Describe message ordering between "update" and "transact".
This comes up sometime and it's best to document it.
Acked-by: Han Zhou <hzhou8@ebay.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'Documentation/ref')
-rw-r--r-- | Documentation/ref/ovsdb-server.7.rst | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Documentation/ref/ovsdb-server.7.rst b/Documentation/ref/ovsdb-server.7.rst index 4bbe2325a..bc533611c 100644 --- a/Documentation/ref/ovsdb-server.7.rst +++ b/Documentation/ref/ovsdb-server.7.rst @@ -1,5 +1,5 @@ .. - Copyright (c) 2017 Nicira, Inc. + Copyright (c) 2017, 2019 Nicira, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain @@ -146,6 +146,15 @@ notifications (see below) to the request, it must be unique among all active monitors. ``ovsdb-server`` rejects attempt to create two monitors with the same identifier. +When a given client sends a ``transact`` request that changes a table that the +same client is monitoring, ``ovsdb-server`` always sends the ``update`` (or +``update2`` or ``update3``) for these changes before it sends the reply to the +``transact`` request. Thus, when a client receives a ``transact`` reply, it +can know immediately what changes (if any) the transaction made. (If +ovsdb-server might use the other order, then a client that wishes to act on +based on the results of its own transactions would not know when this was +guaranteed to have taken place.) + 4.1.7 Monitor Cancellation -------------------------- |