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
This test determines what events occur by parsing the trace. In some cases, the
parsing it was using to determine a "local read followed by remote leaseholder
read" didn't account for changes in the potential trace messages encountered
when leader leases are enabled.
Here, I widen the scope of the trace parsing. Locally under stress this
elliminated the previously encountered failure:
```
datadriven.go:357: ... SNIP ... boundedstaleness/single_row:24: still running after 10.000889738s
... SNIP ...
boundedstaleness_test.go:405: condition failed to evaluate within 45s: from boundedstaleness_test.go:436: not yet a match, output:
1
events (1 found):
* event 1: colbatchscan trace on node_idx 2: local read
datadriven.go:343:
```
Fixes#154710
Release note: None
notLeaseHolderError:=tracing.LogsContainMsg(sp, "[NotLeaseHolderError] lease held by different store;")
264
+
notLeaseHolderError=notLeaseHolderError||tracing.LogsContainMsg(sp, "[NotLeaseHolderError] leader lease is not held locally, cannot determine validity;")
0 commit comments