Commit 8b9e545
Merge #158212
158212: jobs: respect server queiscing in maybeDumpTrace r=yuzefovich a=yuzefovich
Previously, we ignored the context cancellation function in `maybeDumpTrace` that is returned by `makeCtx`, which made it so that we could stuck indefinitely on the server shutdown. We now include the cancellation function to be called on Queisce.
Fixes: #158167.
Release note: None
Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | 72 | | |
76 | 73 | | |
77 | 74 | | |
| |||
82 | 79 | | |
83 | 80 | | |
84 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
85 | 87 | | |
86 | | - | |
| 88 | + | |
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| |||
0 commit comments