minio/cmd/config/storageclass
Harshavardhana d46386246f
api: Introduce metadata update APIs to update only metadata (#11962)
Current implementation heavily relies on readAllFileInfo
but with the advent of xl.meta inlined with data, we cannot
easily avoid reading data when we are only interested is
updating metadata, this leads to invariably write
amplification during metadata updates, repeatedly reading
data when we are only interested in updating metadata.

This PR ensures that we implement a metadata only update
API at storage layer, that handles updates to metadata alone
for any given version - given the version is valid and
present.

This helps reduce the chattiness for following calls..

- PutObjectTags
- DeleteObjectTags
- PutObjectLegalHold
- PutObjectRetention
- ReplicateObject (updates metadata on replication status)
2021-04-04 13:32:31 -07:00
..
help.go fix: move list quorum ENV to config (#10804) 2020-11-02 17:21:56 -08:00
legacy.go Final changes to config sub-system (#8600) 2019-12-04 15:32:37 -08:00
storage-class_test.go tolerate listing with only readQuorum disks (#10357) 2020-08-26 19:29:35 -07:00
storage-class.go api: Introduce metadata update APIs to update only metadata (#11962) 2021-04-04 13:32:31 -07:00