save MinIO version with each version (8-bytes extra) (#15170)

store MinIO version along with each version in 'xl.meta'
for future purposes, can be used as ways to add specific
code for bug fixes if any.
This commit is contained in:
Harshavardhana
2022-06-27 03:59:41 -07:00
committed by GitHub
parent 7b9b7cef11
commit 6722f58668
10 changed files with 92 additions and 25 deletions
+4
View File
@@ -176,6 +176,10 @@ type FileInfo struct {
// File mode bits.
Mode uint32 `msg:"m"`
// WrittenByVersion is the unix time stamp of the MinIO
// version that created this version of the object.
WrittenByVersion uint64 `msg:"wv"`
// File metadata
Metadata map[string]string `msg:"meta"`