Commit 738c039
Merge cockroachdb#155358
155358: sql/inspect: serialize inspect progress metadata pushes r=spilchen a=spilchen
Concurrent inspect processors were racing when calling DistSQLReceiver.Push, which is not concurrency-safe. This commit introduces a per-processor mutex to serialize all Push calls.
Resolves: cockroachdb#155309, resolves cockroachdb#155311, resolves cockroachdb#155312, resolves cockroachdb#155313, resolves cockroachdb#155314, resolves cockroachdb#155315
Epic: CRDB-30356
Release note: none
Co-authored-by: Matt Spilchen <[email protected]>1 file changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
92 | 99 | | |
93 | 100 | | |
94 | 101 | | |
| |||
329 | 336 | | |
330 | 337 | | |
331 | 338 | | |
332 | | - | |
| 339 | + | |
333 | 340 | | |
334 | 341 | | |
335 | 342 | | |
| |||
369 | 376 | | |
370 | 377 | | |
371 | 378 | | |
372 | | - | |
| 379 | + | |
373 | 380 | | |
374 | 381 | | |
375 | 382 | | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
376 | 394 | | |
377 | 395 | | |
378 | 396 | | |
| |||
0 commit comments