Commit db794d9
committed
Clarify uncertainty error keys and document randomized anchor key tuning
Fixes:
- DOC-14735
- DOC-15172
Summary of changes:
- v25.4 and below, and v26.1 and later:
- Update ReadWithinUncertaintyIntervalError docs to:
- Extend the example to include a larger `meta={key=/Table/...}` fragment
- Add randomized anchor key tuning guidance to the shared `performance/reduce-contention.md`
include:
- Describe when to consider `transaction.randomized_anchor_key.enabled` for workloads with
large concurrent UPDATE/INSERT batches that create transaction record (anchor) hotspots
- Emphasize that this setting randomizes anchor placement (not user data) to spread txn
records across ranges
- In v26.1, tie this guidance to the improved observability: contention events
and logs already report the actual contention key, so anchor randomization is a
secondary knob once true conflict locations are understood
- v25.4 and below only:
- Update ReadWithinUncertaintyIntervalError docs to:
- Add an "Interpreting log messages" callout explaining that the logged key is the
transaction record (anchor) key, not necessarily the actual conflict key
- Note that SERIALIZATION_CONFLICT contention events recorded when
`sql.contention.record_serialization_conflicts.enabled` is true also use this anchor key
- v26.1 and later only:
- Update ReadWithinUncertaintyIntervalError docs to:
- Add an "Interpreting log messages" callout clarifying that in 26.1+ the logged key
represents the actual contention key, and that earlier versions reported the anchor key
- Document that contention events now use this contention key when the
`sql.contention.record_serialization_conflicts.enabled` setting is enabled
- Update 'Troubleshoot lock contention' page to include a new section on using randomized
anchor keys1 parent 68fa5cc commit db794d9
5 files changed
Lines changed: 36 additions & 4 deletions
File tree
- src/current
- _includes
- v25.4/performance
- v26.1/performance
- v25.4
- v26.1
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | | - | |
| 19 | + | |
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | | - | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
224 | 228 | | |
225 | 229 | | |
226 | 230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
224 | 228 | | |
225 | 229 | | |
226 | 230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
274 | 294 | | |
275 | 295 | | |
276 | 296 | | |
| |||
0 commit comments