mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 14:10:25 +03:00
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:
@@ -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"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user