remove unused DiskMTime (#18965)

This commit is contained in:
Harshavardhana
2024-02-05 01:04:26 -08:00
committed by GitHub
parent 100c35c281
commit fec13b0ec1
5 changed files with 18 additions and 84 deletions

View File

@@ -163,11 +163,6 @@ func (f *FileInfoVersions) findVersionIndex(v string) int {
type RawFileInfo struct {
// Content of entire xl.meta (may contain data depending on what was requested by the caller.
Buf []byte `msg:"b,allownil"`
// DiskMTime indicates the mtime of the xl.meta on disk
// This is mainly used for detecting a particular issue
// reported in https://github.com/minio/minio/pull/13803
DiskMTime time.Time `msg:"dmt"`
}
// FileInfo - represents file stat information.
@@ -248,11 +243,6 @@ type FileInfo struct {
// usage in other calls in undefined please avoid.
Idx int `msg:"i"`
// DiskMTime indicates the mtime of the xl.meta on disk
// This is mainly used for detecting a particular issue
// reported in https://github.com/minio/minio/pull/13803
DiskMTime time.Time `msg:"dmt"`
// Combined checksum when object was uploaded.
Checksum []byte `msg:"cs,allownil"`