Files
Terry Wilson 97e738dc2b Fix TRY_AGAIN handling
I believe removing wait_for_change back in the day was an error.
We can't do the exponential backoff ourselves because that will
also delay reconnecting to the the db, because idl.run() needs to
be called. Also, do_commit() doesn't ensure that idl.run() is
called if status is TRY_AGAIN. wait_for_change() will ensure that
we call idl.run() to reconnect quickly and don't try the txn again
until we have reconnected and the seqno has changed.

Revert "Don't spam retries 100s of times a second"
This reverts commit 6596164f51.

Revert "Ensure idl.run() called on TRY_AGAIN"
This reverts commit 1810faecc9.

Revert "Don't wait on TRY_AGAIN when calling commit_block()"
This reverts commit 158ae06bce.

Closes-Bug: #1988457
Change-Id: I237136262862d5117d08eb3b513a0b8658a79f05
(cherry picked from commit c3bacb3ba3)
2023-01-25 11:43:38 +00:00
..
2020-04-02 13:06:11 -04:00
2018-08-21 09:36:16 -04:00
2021-01-04 09:47:29 -05:00
2020-08-31 13:20:02 +00:00
2020-04-01 10:06:32 -04:00
2023-01-25 11:43:38 +00:00