summaryrefslogtreecommitdiff
path: root/tests/dpif-netdev.at
diff options
context:
space:
mode:
authorBodo Petermann <b.petermann@syseleven.de>2021-06-16 12:32:14 +0200
committerIlya Maximets <i.maximets@ovn.org>2021-07-07 22:48:05 +0200
commit154983c592da8cf4ea6289b8b271176d0ad962b7 (patch)
treec08c7182e963817c46b964b341e0bc7d8a9eb660 /tests/dpif-netdev.at
parentb57b062f5d514f33ba843884c4a3a8aad80b6b04 (diff)
downloadopenvswitch-154983c592da8cf4ea6289b8b271176d0ad962b7.tar.gz
python: Fix Idl.run change_seqno update.
Fix an issue where Idl.run() returned False even if there was a change. If Idl.run() reads multiple messages from the database server, some may constitute changes and some may not. Changed the way change_seqno is reset: if a message is not a change, reset change_seqno only to the value before reading this message, not to the value before reading the first message. This will fix the return value in a scenario where some message was a change and the last one wasn't. The new change_seqno will now be the value after handling the message with the last change. Fixes: c39751e44539 ("python: Monitor Database table to manage lifecycle of IDL client.") Signed-off-by: Bodo Petermann <b.petermann@syseleven.de> Acked-by: Alin Gabriel Serdean <aserdean@ovn.org> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'tests/dpif-netdev.at')
0 files changed, 0 insertions, 0 deletions