reduce unnecessary logging during speedtest (#14387)

- speedtest logs calls that were canceled
  spuriously, in situations where it should
  be ignored.

- all errors of interest are always sent back
  to the client there is no need to log them
  on the server console.

- PUT failures should negate the increments
  such that GET is not attempted on unsuccessful
  calls.

- do not attempt MRF on speedtest objects.
This commit is contained in:
Harshavardhana
2022-02-23 11:59:13 -08:00
committed by GitHub
parent 1ef8babfef
commit 9d7648f02f
6 changed files with 32 additions and 18 deletions

View File

@@ -2281,7 +2281,7 @@ func (s *xlStorage) RenameData(ctx context.Context, srcVolume, srcPath string, f
// Any failed rename calls un-roll previous transaction.
s.deleteFile(dstVolumeDir, legacyDataPath, true)
}
return err
return osErrToFileErr(err)
}
// renameAll only for objects that have xl.meta not saved inline.