forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bulk,backupccl: log ExportRequest trace on failure
This change adds logic to fetch the trace for each ExportRequest once it has returned a response or failed with an error. If the request failed with an error, we unconditionally log the trace, otherwise we log it when the appropriate vmodule is set. This change also fixes a bug where the child context created by the tracing aggregator would not inherit its parent's RecordingMode. Today there is no mechanism to toggle a job's RecordingMode from Structured to Verbose, but when we do add the ability to do so we expect all operations in the job to collect information in accordance with that mode. Fixes: cockroachdb#86047 Release note: None
- Loading branch information
1 parent
6d22e25
commit c288e93
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters