You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a `--sel1-writes` option to the kv workload. Similar to
`--sfu-writes`, this option executes `SELECT 1;` before the mutation
statement in an explicit transaction, in order to prevent the mutation
statement (or the `SELECT FOR UPDATE` statement if `--sfu-writes` is
also used) from using automatic transaction-level retries. This is
useful when testing the behavior of automatic statement-level retries
under read committed isolation.
When all three of `--sel1-writes`, `--sfu-writes`, and `--sfu-wait-delay` are
used, the transaction looks like:
```
BEGIN;
SELECT 1;
SELECT k, v FROM kv WHERE k IN ($1) FOR UPDATE;
-- sfu-wait-delay
-- mutation statement
COMMIT;
```
Informs: #145377
Release note: None
0 commit comments