@@ -478,7 +478,7 @@ func releaseProtectedTimestamp(
478
478
if errors .Is (err , protectedts .ErrNotExists ) {
479
479
// No reason to return an error which might cause problems if it doesn't
480
480
// seem to exist.
481
- log .Warningf (ctx , "failed to release protected which seems not to exist: %v" , err )
481
+ log .Dev . Warningf (ctx , "failed to release protected which seems not to exist: %v" , err )
482
482
err = nil
483
483
}
484
484
return err
@@ -500,7 +500,7 @@ func getTableStatsForBackup(
500
500
tableDesc := tabledesc .NewBuilder (tbl ).BuildImmutableTable ()
501
501
tableStatisticsAcc , err := stats .GetTableStatsProtosFromDB (ctx , tableDesc , executor )
502
502
if err != nil {
503
- log .Warningf (
503
+ log .Dev . Warningf (
504
504
ctx , "failed to collect stats for table: %s, table ID: %d during a backup: %s" ,
505
505
tableDesc .GetName (), tableDesc .GetID (), err ,
506
506
)
@@ -771,7 +771,7 @@ func (b *backupResumer) Resume(ctx context.Context, execCtx interface{}) error {
771
771
return jobs .MarkAsRetryJobError (errors .Wrapf (err , "job encountered retryable error on draining node" ))
772
772
}
773
773
774
- log .Warningf (ctx , "encountered retryable error: %+v" , err )
774
+ log .Dev . Warningf (ctx , "encountered retryable error: %+v" , err )
775
775
776
776
// Reload the backup manifest to pick up any spans we may have completed on
777
777
// previous attempts.
@@ -789,7 +789,7 @@ func (b *backupResumer) Resume(ctx context.Context, execCtx interface{}) error {
789
789
if ctx .Err () != nil {
790
790
return ctx .Err ()
791
791
}
792
- log .Warningf (ctx , "BACKUP job %d could not reload job progress when retrying: %+v" ,
792
+ log .Dev . Warningf (ctx , "BACKUP job %d could not reload job progress when retrying: %+v" ,
793
793
b .job .ID (), reloadErr )
794
794
} else {
795
795
curProgress := reloadedJob .FractionCompleted ()
@@ -1947,7 +1947,7 @@ func (b *backupResumer) processScheduledBackupCompletion(
1947
1947
if _ , err := maybeStartCompactionJob (
1948
1948
ctx , execCtx .ExecCfg (), execCtx .User (), details ,
1949
1949
); err != nil {
1950
- log .Warningf (ctx , "failed to trigger backup compaction for schedule %d: %v" , scheduleID , err )
1950
+ log .Dev . Warningf (ctx , "failed to trigger backup compaction for schedule %d: %v" , scheduleID , err )
1951
1951
}
1952
1952
}
1953
1953
return nil
@@ -2028,19 +2028,19 @@ func (b *backupResumer) deleteCheckpoint(
2028
2028
// backups, and then from the progress directory.
2029
2029
err = exportStore .Delete (ctx , backupinfo .BackupManifestCheckpointName )
2030
2030
if err != nil {
2031
- log .Warningf (ctx , "unable to delete checkpointed backup descriptor file in base directory: %+v" , err )
2031
+ log .Dev . Warningf (ctx , "unable to delete checkpointed backup descriptor file in base directory: %+v" , err )
2032
2032
}
2033
2033
err = exportStore .Delete (ctx , backupinfo .BackupManifestCheckpointName + backupinfo .BackupManifestChecksumSuffix )
2034
2034
if err != nil {
2035
- log .Warningf (ctx , "unable to delete checkpoint checksum file in base directory: %+v" , err )
2035
+ log .Dev . Warningf (ctx , "unable to delete checkpoint checksum file in base directory: %+v" , err )
2036
2036
}
2037
2037
// Delete will not delete a nonempty directory, so we have to go through
2038
2038
// all files and delete each file one by one.
2039
2039
return exportStore .List (ctx , backupinfo .BackupProgressDirectory , "" , func (p string ) error {
2040
2040
return exportStore .Delete (ctx , backupinfo .BackupProgressDirectory + p )
2041
2041
})
2042
2042
}(); err != nil {
2043
- log .Warningf (ctx , "unable to delete checkpointed backup descriptor file in progress directory: %+v" , err )
2043
+ log .Dev . Warningf (ctx , "unable to delete checkpointed backup descriptor file in progress directory: %+v" , err )
2044
2044
}
2045
2045
}
2046
2046
0 commit comments