Commit 869a7fc
authored
fix: stabilize FetchDispatchable_RespectsScheduledAt against CRDB SKIP LOCKED flakiness (#2046)
CockroachDB's FOR UPDATE SKIP LOCKED under READ COMMITTED can skip
rows with unresolved write intents from recently-committed transactions.
Wrap the assertion in await.Until to retry until intent resolution
completes.
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>1 parent 5e8d1f8 commit 869a7fc
1 file changed
Lines changed: 17 additions & 6 deletions
Lines changed: 17 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
212 | 213 | | |
213 | 214 | | |
214 | 215 | | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
221 | 232 | | |
222 | 233 | | |
223 | 234 | | |
| |||
0 commit comments