Commit ba76a26
committed
kvnemesis: fix CPut read validation in weak isolation levels
Previously, kvnemesis would attempt to validate the timestamp associated
with a CPut's read regardless of the isolation level. Since the read
component of CPut is non-locking, this validation is not correct
because the CPut's read is not refreshed in weak-isolation
transactions.
This commit treats the read of CPut similarly to other non-locking
reads; they are validated only for serializable transctions.
Part of: #64810
Release note: None1 parent 220787d commit ba76a26
1 file changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
| 492 | + | |
492 | 493 | | |
493 | 494 | | |
494 | 495 | | |
495 | 496 | | |
496 | 497 | | |
| 498 | + | |
497 | 499 | | |
498 | 500 | | |
499 | 501 | | |
| |||
504 | 506 | | |
505 | 507 | | |
506 | 508 | | |
507 | | - | |
| 509 | + | |
508 | 510 | | |
509 | 511 | | |
510 | 512 | | |
| |||
517 | 519 | | |
518 | 520 | | |
519 | 521 | | |
520 | | - | |
| 522 | + | |
521 | 523 | | |
522 | 524 | | |
523 | 525 | | |
524 | 526 | | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
525 | 537 | | |
526 | 538 | | |
527 | 539 | | |
| |||
0 commit comments