Commit e08ad3b
committed
backupsink: drop pretty.Formatter log that crashes on Azure errors
When closing the underlying writer in FileSSTSink.Flush failed, we
logged the error via pretty.Formatter, whose reflection walk dereferences
unexported fields. With Azure SDK errors that embed *http.Response and
internal buffers released by the SDK, this can dereference freed memory
and SIGSEGV. The error is already wrapped and returned to the caller, so
the warning was redundant.
Drop the warning (and the now-unused kr/pretty import).
Fixes #169668.
Release note (bug fix): Fixed a possible SIGSEGV when a backup encountered
a transient error writing to Azure Blob Storage.1 parent 7e511cc commit e08ad3b
2 files changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
280 | 279 | | |
281 | 280 | | |
282 | 281 | | |
283 | | - | |
284 | 282 | | |
285 | 283 | | |
286 | 284 | | |
| |||
0 commit comments