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
155795: workload/schemachange: remove FK violation prediction for INSERT operations r=rafiss a=rafiss
Previously, the random schema workload attempted to predict whether INSERT operations would violate foreign key constraints by analyzing the database state and constraint definitions. This prediction logic involved:
- Querying the database to check if FK violations would occur
- Checking for ongoing FK constraint mutations
- Distinguishing between expected and potential FK violations
This commit removes all FK violation prediction logic and makes ForeignKeyViolation unconditionally a potential execution and commit error for INSERT operations. This aligns with the existing pattern used for adding FK constraints, where FK violations are always treated as potential errors due to the asynchronous validation job.
This change simplifies the code by removing ~200 lines of complex prediction logic and deflakes tests that depend on accurate error handling during concurrent schema changes.
Resolves: #155686Resolves: #154715Resolves: #152402
Epic: None
Release note: None
🤖 Generated with [Claude Code](https://claude.com/claude-code)
155798: kvnemesis: log a metrics report r=stevendanna a=miraradeva
This commit adds logging of some key metrics at the end of each kvnemesis run.
Fixes: #153793
Release note: None
----
This is what the report looks like for a run of `TestKVNemesisMultiNode`:
```
Metric | Node 1 | Node 2 | Node 3 | Node 4
------------------------------------+----------------------+----------------------+----------------------+---------------------
raft.commands.proposed | 2906 | 117 | 273 | 118
raft.commands.reproposed.new-lai | 0 | 1 | 12 | 0
raft.commands.reproposed.unchanged | 78 | 0 | 0 | 0
txn.server_side.1PC.success | 84 | 0 | 1 | 0
txnrecovery.successes.committed | 0 | 0 | 0 | 0
txnwaitqueue.deadlocks_total | 0 | 0 | 4 | 0
txn.aborts | 13 | 10 | 8 | 12
txn.durations | μ=25ms p99=260ms | μ=82ms p99=671ms | μ=81ms p99=1.476s | μ=224ms p99=4.832s
txn.restarts.writetooold | 8 | 1 | 2 | 1
txn.restarts.serializable | 1 | 0 | 0 | 0
txn.restarts.readwithinuncertainty | 0 | 0 | 0 | 0
```
155850: kvserver/rangefeed: move from log.KvDistribution to log.KvExec r=stevendanna a=wenyihu6
Epic: none
Release note: none
155853: roachprod: fix label propagation on workload machines r=DarrylWong,golgeek a=herkolategan
Previously, label propagation did not take the boot-disk-only parameter of workload machines into account. This change fixes the propagation to skip trying to add labels to non-existent persistent disks if the boot-disk-only flag has been passed to the provider.
Epic: None
Release note: None
Co-authored-by: Rafi Shamim <[email protected]>
Co-authored-by: Mira Radeva <[email protected]>
Co-authored-by: wenyihu6 <[email protected]>
Co-authored-by: Herko Lategan <[email protected]>
0 commit comments