minio/cmd
Andreas Auernhammer 838d4dafbd
gateway: don't use encrypted ETags for If-Match (#11400)
This commit fixes a bug in the S3 gateway that causes
GET requests to fail when the object is encrypted by the
gateway itself.

The gateway was not able to GET the object since it always
specified a `If-Match` pre-condition checking that the object
ETag matches an expected ETag - even for encrypted ETags.

The problem is that an encrypted ETag will never match the ETag
computed by the backend causing the `If-Match` pre-condition
to fail.

This commit fixes this by not sending an `If-Match` header when
the ETag is encrypted. This is acceptable because:
  1. A gateway-encrypted object consists of two objects at the backend
     and there is no way to provide a concurrency-safe implementation
     of two consecutive S3 GETs in the deployment model of the S3
     gateway.
     Ref: S3 gateways are self-contained and isolated - and there may
          be multiple instances at the same time (no lock across
          instances).
  2. Even if the data object changes (concurrent PUT) while gateway
     A has download the metadata object (but not issued the GET to
     the data object => data race) then we don't return invalid data
     to the client since the decryption (of the currently uploaded data)
     will fail - given the metadata of the previous object.
2021-02-01 23:02:08 -08:00
..
config fix: regression introduced in federated listing buckets 2021-02-01 12:06:58 -08:00
crypto validate storage class across pools when setting config (#11320) 2021-01-22 12:09:24 -08:00
gateway gateway: don't use encrypted ETags for If-Match (#11400) 2021-02-01 23:02:08 -08:00
http fix: replication regression due to proxying requests (#11356) 2021-01-27 11:22:34 -08:00
jwt fix: send valid claims in AuditLogs for browser requests (#9713) 2020-05-27 12:38:44 -07:00
logger fix: rename audit log docs and datastructure 2021-01-26 13:39:55 -08:00
rest Reduce logging when peer is offline (#11184) 2020-12-30 14:38:54 -08:00
testdata fix: enable xl.json to xl.meta only if legacy drive is found (#11255) 2021-01-11 02:27:04 -08:00
acl-handlers.go audit: per object send pool number, set number and servers per operation (#11233) 2021-01-26 13:21:51 -08:00
admin-bucket-handlers.go fix: replication regression due to proxying requests (#11356) 2021-01-27 11:22:34 -08:00
admin-handlers-config-kv.go audit: per object send pool number, set number and servers per operation (#11233) 2021-01-26 13:21:51 -08:00
admin-handlers-users.go audit: per object send pool number, set number and servers per operation (#11233) 2021-01-26 13:21:51 -08:00
admin-handlers.go crypto: deprecate native Hashicorp Vault support (#11352) 2021-01-29 17:55:37 -08:00
admin-handlers_test.go rename last remaining Zone->Pool 2021-01-26 20:47:42 -08:00
admin-heal-ops.go honor maxWait heal config when maxIO hits (#11338) 2021-01-25 07:53:12 -08:00
admin-router.go fix: expire locks only on participating lockers (#11335) 2021-01-25 10:01:27 -08:00
admin-server-info.go fix: expire locks only on participating lockers (#11335) 2021-01-25 10:01:27 -08:00
api-datatypes.go fix: avoid sending errors on missing objects on locked buckets (#10994) 2020-11-28 21:15:45 -08:00
api-errors.go fix: LoginSTS should be an inline implementation (#11337) 2021-01-25 10:15:03 -08:00
api-errors_test.go Move etcd, logger, crypto into their own packages (#8366) 2019-10-08 11:17:56 +05:30
api-headers.go validate storage class across pools when setting config (#11320) 2021-01-22 12:09:24 -08:00
api-headers_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
api-resources.go listV2: Continuation and NextContinuation tokens are encoded with base64 (#8337) 2019-10-02 01:39:29 +05:30
api-resources_test.go Increase maximum 1000 List keys to 10000 (#8444) 2019-10-28 10:36:15 -07:00
api-response.go update x/net/http2 to address few bugs (#11144) 2020-12-21 21:42:38 -08:00
api-response_test.go fix: obtain correct location string with DNS style buckets (#10060) 2020-07-16 13:28:29 -07:00
api-router.go feat: Small object optimization read data in single bulk call (#11207) 2021-01-03 11:27:57 -08:00
api-utils.go Make Encoding URL more compliant to S3 spec (#7360) 2019-04-12 12:02:37 -07:00
api-utils_test.go Make Encoding URL more compliant to S3 spec (#7360) 2019-04-12 12:02:37 -07:00
auth-handler.go handlers: Avoid initializing a struct in each handler call (#11217) 2021-01-04 09:54:22 -08:00
auth-handler_test.go Profiling does not required object layer to be initialized (#11133) 2020-12-18 11:51:15 -08:00
background-heal-ops.go honor maxWait heal config when maxIO hits (#11338) 2021-01-25 07:53:12 -08:00
background-newdisks-heal-ops.go rename last remaining Zone->Pool 2021-01-26 20:47:42 -08:00
background-newdisks-heal-ops_gen.go add '.healing.bin' for tracking currently healing disk (#10573) 2020-09-28 19:39:32 -07:00
background-newdisks-heal-ops_gen_test.go add '.healing.bin' for tracking currently healing disk (#10573) 2020-09-28 19:39:32 -07:00
benchmark-utils_test.go avoid a crash in crawler when lifecycle is not initialized (#11170) 2020-12-26 22:58:06 -08:00
bitrot-streaming.go fix: trigger heal if one of the parts are not found (#11358) 2021-01-27 10:21:14 -08:00
bitrot-whole.go fix: ignore faulty drives and continue (#10511) 2020-09-18 12:09:05 -07:00
bitrot.go fix: readData in bulk call using messagepack byte wrappers (#11228) 2021-01-07 19:27:31 -08:00
bitrot_test.go fix: readData in bulk call using messagepack byte wrappers (#11228) 2021-01-07 19:27:31 -08:00
bootstrap-peer-server.go rename server sets to server pools 2020-12-01 13:50:33 -08:00
bucket-encryption-handlers.go audit: per object send pool number, set number and servers per operation (#11233) 2021-01-26 13:21:51 -08:00
bucket-encryption.go remove safeMode behavior in startup (#10645) 2020-10-09 09:59:52 -07:00
bucket-encryption_test.go Add support for bucket encryption feature (#8890) 2020-02-05 15:12:34 +05:30
bucket-handlers.go ilm: Remove object in HEAD/GET if having an applicable ILM rule (#11296) 2021-02-01 09:52:11 -08:00
bucket-handlers_test.go avoid a crash in crawler when lifecycle is not initialized (#11170) 2020-12-26 22:58:06 -08:00
bucket-lifecycle-handlers.go audit: per object send pool number, set number and servers per operation (#11233) 2021-01-26 13:21:51 -08:00
bucket-lifecycle-handlers_test.go feat: Add notification support for bucketCreates and removal (#10075) 2020-07-20 12:52:49 -07:00
bucket-lifecycle.go ilm: Remove object in HEAD/GET if having an applicable ILM rule (#11296) 2021-02-01 09:52:11 -08:00
bucket-listobjects-handlers.go audit: per object send pool number, set number and servers per operation (#11233) 2021-01-26 13:21:51 -08:00
bucket-metadata-sys.go tests: Fix occasional data race (#11223) 2021-01-05 10:45:26 -08:00
bucket-metadata.go Encrypt remote target if kms is configured (#11034) 2020-12-21 16:21:33 -08:00
bucket-metadata_gen.go Encrypt remote target if kms is configured (#11034) 2020-12-21 16:21:33 -08:00
bucket-metadata_gen_test.go migrate all bucket metadata into a single file (#9586) 2020-05-19 13:53:54 -07:00
bucket-notification-handlers.go audit: per object send pool number, set number and servers per operation (#11233) 2021-01-26 13:21:51 -08:00
bucket-object-lock.go Ignore ObjectNotFound errors in delete api while enforcing locking (#11114) 2020-12-15 11:15:49 -08:00
bucket-policy-handlers.go audit: per object send pool number, set number and servers per operation (#11233) 2021-01-26 13:21:51 -08:00
bucket-policy-handlers_test.go feat: Add notification support for bucketCreates and removal (#10075) 2020-07-20 12:52:49 -07:00
bucket-policy.go support 'ldap:user' variable replacement properly (#10391) 2020-09-01 12:26:22 +05:30
bucket-quota.go remove safeMode behavior in startup (#10645) 2020-10-09 09:59:52 -07:00
bucket-replication.go fix: replication regression due to proxying requests (#11356) 2021-01-27 11:22:34 -08:00
bucket-targets.go fix: replication regression due to proxying requests (#11356) 2021-01-27 11:22:34 -08:00
bucket-versioning-handler.go audit: per object send pool number, set number and servers per operation (#11233) 2021-01-26 13:21:51 -08:00
bucket-versioning.go tests: Fix occasional data race (#11223) 2021-01-05 10:45:26 -08:00
build-constants.go Add support for minioreleaser a fork for goreleaser (#9890) 2020-06-22 08:26:40 -07:00
common-main.go fix: verify overlapping domains when > 1 2021-01-28 13:08:53 -08:00
config-common.go Remove erasureSets and erasureObjects from ObjectLayer (#10442) 2020-09-10 09:18:19 -07:00
config-current.go crypto: deprecate native Hashicorp Vault support (#11352) 2021-01-29 17:55:37 -08:00
config-current_test.go Revert "Support variable server sets (#10314)" 2020-12-01 12:02:29 -08:00
config-dir.go fix: unwrapping issues with os.Is* functions (#10949) 2020-11-23 08:36:49 -08:00
config-encrypted.go feat: migrate to ROOT_USER/PASSWORD from ACCESS/SECRET_KEY (#11185) 2021-01-05 10:22:57 -08:00
config-encrypted_test.go Config migration should handle plain-text (#8506) 2019-11-11 12:01:21 -08:00
config-migrate.go Revert "Support variable server sets (#10314)" 2020-12-01 12:02:29 -08:00
config-migrate_test.go Revert "Support variable server sets (#10314)" 2020-12-01 12:02:29 -08:00
config-versions.go Migrate config to KV data format (#8392) 2019-10-22 22:59:13 -07:00
config.go Revert "Support variable server sets (#10314)" 2020-12-01 12:02:29 -08:00
consolelogger.go tracing: NumSubscribers() to use atomic instead of mutex (#11219) 2021-01-04 09:40:30 -08:00
copy-part-range.go Support bucket versioning (#9377) 2020-06-12 20:04:01 -07:00
copy-part-range_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
crossdomain-xml-handler.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
crossdomain-xml-handler_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
data-crawler.go ilm: Remove object in HEAD/GET if having an applicable ILM rule (#11296) 2021-02-01 09:52:11 -08:00
data-update-tracker.go fix: enhance logging in crawler use console.Debug instead of logger.Info (#11179) 2020-12-29 01:57:28 -08:00
data-update-tracker_test.go avoid a crash in crawler when lifecycle is not initialized (#11170) 2020-12-26 22:58:06 -08:00
data-usage-cache.go fix: crawler to skip healing the drives in a set being healed (#11274) 2021-01-19 02:40:52 -08:00
data-usage-cache_gen.go fix: crawler to skip healing the drives in a set being healed (#11274) 2021-01-19 02:40:52 -08:00
data-usage-cache_gen_test.go fix: preserve cache calculated previously while moving from v2 to v3 (#11269) 2021-01-13 09:58:08 -08:00
data-usage.go remove/deprecate crawler disable environment (#11214) 2021-01-04 09:43:31 -08:00
data-usage_test.go crawler: Stream bucket usage cache data (#11068) 2020-12-10 13:03:22 -08:00
disk-cache-backend.go refactor cmd/crypto code for SSE handling and parsing (#11045) 2020-12-22 09:19:32 -08:00
disk-cache-check-support_other.go Use registry to check Atime support on Windows (#9741) 2020-05-30 09:47:42 -07:00
disk-cache-check-support_windows.go Use registry to check Atime support on Windows (#9741) 2020-05-30 09:47:42 -07:00
disk-cache-stats.go Updated Prometheus metrics (#11141) 2021-01-18 20:35:38 -08:00
disk-cache-utils.go cache: Only start at high watermark (#10403) 2020-09-02 17:48:44 -07:00
disk-cache-utils_test.go cache: Only start at high watermark (#10403) 2020-09-02 17:48:44 -07:00
disk-cache.go Add cache usage, total capacity to prometheus metrics (#11026) 2020-12-07 16:35:11 -08:00
disk-cache_test.go add ruleguard support, fix all the reported issues (#10335) 2020-08-24 12:11:20 -07:00
dummy-data-generator_test.go avoid a crash in crawler when lifecycle is not initialized (#11170) 2020-12-26 22:58:06 -08:00
dummy-handlers.go audit: per object send pool number, set number and servers per operation (#11233) 2021-01-26 13:21:51 -08:00
dynamic-timeouts.go Tweaks to dynamic locks (#10508) 2020-09-18 09:18:18 -07:00
dynamic-timeouts_test.go Tweaks to dynamic locks (#10508) 2020-09-18 09:18:18 -07:00
encryption-v1.go Allow Compression + encryption (#11103) 2021-01-05 20:08:35 -08:00
encryption-v1_test.go refactor cmd/crypto code for SSE handling and parsing (#11045) 2020-12-22 09:19:32 -08:00
endpoint-ellipses.go rename last remaining Zone->Pool 2021-01-26 20:47:42 -08:00
endpoint-ellipses_test.go fix: make sure to use uniform drive count calculation (#10208) 2020-08-05 13:31:12 -07:00
endpoint.go rename last remaining Zone->Pool 2021-01-26 20:47:42 -08:00
endpoint_test.go rename last remaining Zone->Pool 2021-01-26 20:47:42 -08:00
erasure-bucket.go fix: remove the requirement for healing buckets in ListBucketsHeal (#11098) 2020-12-14 12:07:07 -08:00
erasure-coding.go add ruleguard support, fix all the reported issues (#10335) 2020-08-24 12:11:20 -07:00
erasure-common.go fix: crawler to skip healing the drives in a set being healed (#11274) 2021-01-19 02:40:52 -08:00
erasure-common_test.go fix: optimize parentDirIsObject by moving isObject to storage layer (#11291) 2021-01-18 12:25:22 -08:00
erasure-decode.go fix: trigger heal if one of the parts are not found (#11358) 2021-01-27 10:21:14 -08:00
erasure-decode_test.go fix: trigger heal if one of the parts are not found (#11358) 2021-01-27 10:21:14 -08:00
erasure-encode.go Support bucket versioning (#9377) 2020-06-12 20:04:01 -07:00
erasure-encode_test.go ListObjects Metadata Caching (#10648) 2020-10-28 09:18:35 -07:00
erasure-errors.go Support bucket versioning (#9377) 2020-06-12 20:04:01 -07:00
erasure-heal_test.go fix: readData in bulk call using messagepack byte wrappers (#11228) 2021-01-07 19:27:31 -08:00
erasure-healing-common.go fix: IAM store fallback to list users and policies from disk (#10787) 2020-11-02 17:52:13 -08:00
erasure-healing-common_test.go fix: readData in bulk call using messagepack byte wrappers (#11228) 2021-01-07 19:27:31 -08:00
erasure-healing.go fix: healBucket across sets should capture results properly (#11341) 2021-01-25 09:45:09 -08:00
erasure-healing_test.go rename last remaining Zone->Pool 2021-01-26 20:47:42 -08:00
erasure-lowlevel-heal.go fix: trigger heal if one of the parts are not found (#11358) 2021-01-27 10:21:14 -08:00
erasure-metadata-utils.go fix: healBucket across sets should capture results properly (#11341) 2021-01-25 09:45:09 -08:00
erasure-metadata-utils_test.go rename last remaining Zone->Pool 2021-01-26 20:47:42 -08:00
erasure-metadata.go ilm: Remove object in HEAD/GET if having an applicable ILM rule (#11296) 2021-02-01 09:52:11 -08:00
erasure-metadata_test.go fix: add more protection distribution to match EcIndex (#10772) 2020-10-28 00:09:15 -07:00
erasure-multipart.go fix: make sure parentDirIsObject is used at set level (#11280) 2021-01-17 01:11:48 -08:00
erasure-object.go tagging: Add event notif for PUT object tagging (#11366) 2021-02-01 13:52:51 -08:00
erasure-object_test.go Support variable server pools (#11256) 2021-01-16 12:08:02 -08:00
erasure-server-pool.go tagging: Add event notif for PUT object tagging (#11366) 2021-02-01 13:52:51 -08:00
erasure-sets.go tagging: Add event notif for PUT object tagging (#11366) 2021-02-01 13:52:51 -08:00
erasure-sets_test.go fix: allow expansion with newer constraints for older setups (#11372) 2021-01-29 11:40:55 -08:00
erasure-utils.go do not use large buffers if not necessary (#11220) 2021-01-04 18:51:52 -08:00
erasure.go audit: per object send pool number, set number and servers per operation (#11233) 2021-01-26 13:21:51 -08:00
erasure_test.go Add storage layer contexts (#10321) 2020-09-04 09:45:06 -07:00
etcd.go fix: etcd import paths again depend on v3.4.14 release (#11020) 2020-12-03 11:35:18 -08:00
fallocate.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
fallocate_linux.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
fallocate_linux_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
fastwalk.go fix: unwrapping issues with os.Is* functions (#10949) 2020-11-23 08:36:49 -08:00
format-disk-cache.go fix: unwrapping issues with os.Is* functions (#10949) 2020-11-23 08:36:49 -08:00
format-disk-cache_test.go Return appropriate errors API versions changes across REST APIs (#8480) 2019-11-04 09:30:59 -08:00
format-erasure.go fix: allow expansion with newer constraints for older setups (#11372) 2021-01-29 11:40:55 -08:00
format-erasure_test.go fix: allow expansion with newer constraints for older setups (#11372) 2021-01-29 11:40:55 -08:00
format-fs.go fix: unwrapping issues with os.Is* functions (#10949) 2020-11-23 08:36:49 -08:00
format-fs_test.go Return appropriate errors API versions changes across REST APIs (#8480) 2019-11-04 09:30:59 -08:00
format-meta.go Fix writing 'format.json' and make it atomic (#8296) 2019-09-24 18:47:26 -07:00
fs-tree-walk-pool.go fix: use internode data for DisksInfo, VolsInfo in message pack (#10821) 2020-11-04 10:10:54 -08:00
fs-tree-walk-pool_test.go fix: use internode data for DisksInfo, VolsInfo in message pack (#10821) 2020-11-04 10:10:54 -08:00
fs-v1-helpers.go fix: use buffers only when necessary for io.Copy() (#11229) 2021-01-06 09:36:55 -08:00
fs-v1-helpers_test.go fix: use buffers only when necessary for io.Copy() (#11229) 2021-01-06 09:36:55 -08:00
fs-v1-metadata.go fix: allow CopyObject/PutObjecTags on pre-existing content (#10485) 2020-09-15 09:18:41 -07:00
fs-v1-metadata_test.go Support bucket versioning (#9377) 2020-06-12 20:04:01 -07:00
fs-v1-multipart.go fix: use buffers only when necessary for io.Copy() (#11229) 2021-01-06 09:36:55 -08:00
fs-v1-multipart_test.go fix: dangling objects on actual namespace (#10822) 2020-11-05 11:48:55 -08:00
fs-v1-rwpool.go fix: unwrapping issues with os.Is* functions (#10949) 2020-11-23 08:36:49 -08:00
fs-v1-rwpool_test.go Support bucket versioning (#9377) 2020-06-12 20:04:01 -07:00
fs-v1.go tagging: Add event notif for PUT object tagging (#11366) 2021-02-01 13:52:51 -08:00
fs-v1_test.go Support bucket versioning (#9377) 2020-06-12 20:04:01 -07:00
gateway-common.go Updated Prometheus metrics (#11141) 2021-01-18 20:35:38 -08:00
gateway-common_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
gateway-env.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
gateway-interface.go Use constants for gateway names to avoid bugs caused by spelling. (#10355) 2020-08-26 08:52:46 -07:00
gateway-main.go validate storage class across pools when setting config (#11320) 2021-01-22 12:09:24 -08:00
gateway-main_test.go [Bugfix] duplicating flag registration (#7853) 2019-07-03 14:31:19 -07:00
gateway-metrics.go Updated Prometheus metrics (#11141) 2021-01-18 20:35:38 -08:00
gateway-startup-msg.go fix: server/gateway banner formatting (#11230) 2021-01-06 10:38:07 -08:00
gateway-startup-msg_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
gateway-unsupported.go tagging: Add event notif for PUT object tagging (#11366) 2021-02-01 13:52:51 -08:00
generic-handlers.go avoid double CORS headers in federation (#11334) 2021-01-23 18:27:23 -08:00
generic-handlers_test.go refactor cmd/crypto code for SSE handling and parsing (#11045) 2020-12-22 09:19:32 -08:00
global-heal.go fix: trigger heal if one of the parts are not found (#11358) 2021-01-27 10:21:14 -08:00
globals.go initialize forwarder after init() to avoid crashes (#11330) 2021-01-22 15:37:41 -08:00
handler-api.go validate storage class across pools when setting config (#11320) 2021-01-22 12:09:24 -08:00
handler-utils.go tracing: NumSubscribers() to use atomic instead of mutex (#11219) 2021-01-04 09:40:30 -08:00
handler-utils_test.go avoid a crash in crawler when lifecycle is not initialized (#11170) 2020-12-26 22:58:06 -08:00
hasher.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
healthcheck-handler.go re-route requests if IAM is not initialized (#10850) 2020-11-07 21:03:06 -08:00
healthcheck-router.go fix: readiness needs to be like liveness (#9941) 2020-06-30 11:28:27 -07:00
healthinfo.go rename server sets to server pools 2020-12-01 13:50:33 -08:00
healthinfo_linux.go Rename OBD to Health (#10842) 2020-11-20 12:52:53 -08:00
healthinfo_nonlinux.go Rename OBD to Health (#10842) 2020-11-20 12:52:53 -08:00
http-stats.go Updated Prometheus metrics (#11141) 2021-01-18 20:35:38 -08:00
http-tracer.go add audit/admin trace support for browser requests (#10947) 2020-11-20 22:52:17 -08:00
httprange.go Cache only the range requested for range GETs (#8599) 2019-12-08 13:58:04 -08:00
httprange_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
iam-etcd-store.go fix: load credentials from etcd directly when possible (#11339) 2021-01-25 20:01:49 -08:00
iam-object-store.go fix: load credentials from etcd directly when possible (#11339) 2021-01-25 20:01:49 -08:00
iam.go fix: load credentials from etcd directly when possible (#11339) 2021-01-25 20:01:49 -08:00
jwt.go initialize IAM as soon as object layer is initialized (#10700) 2020-10-19 09:54:40 -07:00
jwt_test.go jwt: Simplify JWT parsing (#8802) 2020-01-31 08:29:22 +05:30
leak-detect_test.go
listen-notification-handlers.go Send bucket name to peers when bucket notification is enabled (#11351) 2021-01-26 13:48:28 -08:00
local-locker.go fix: expire locks only on participating lockers (#11335) 2021-01-25 10:01:27 -08:00
lock-rest-client.go Don't mark remotes online when shutting down (#11368) 2021-01-28 13:38:12 -08:00
lock-rest-client_test.go re-use remote transports in Peer,Storage,Locker clients (#10788) 2020-11-02 07:43:11 -08:00
lock-rest-server-common.go fix: expire locks only on participating lockers (#11335) 2021-01-25 10:01:27 -08:00
lock-rest-server-common_test.go fix: add lock ownership to expire locks (#10571) 2020-09-25 19:21:52 -07:00
lock-rest-server.go fix: expire locks only on participating lockers (#11335) 2021-01-25 10:01:27 -08:00
main.go fix: [fs] CompleteMultipart use trie structure for partMatch (#10522) 2020-09-21 01:18:13 -07:00
metacache-bucket.go rename last remaining Zone->Pool 2021-01-26 20:47:42 -08:00
metacache-bucket_gen.go ListObjects Metadata Caching (#10648) 2020-10-28 09:18:35 -07:00
metacache-bucket_gen_test.go ListObjects Metadata Caching (#10648) 2020-10-28 09:18:35 -07:00
metacache-bucket_test.go Don't copy interesting ids, clean up logging (#11102) 2020-12-14 13:13:33 -08:00
metacache-entries.go fix: issues with handling delete markers in metacache (#11150) 2020-12-22 09:16:43 -08:00
metacache-entries_test.go ListObjects Metadata Caching (#10648) 2020-10-28 09:18:35 -07:00
metacache-manager.go metadata: Invalidate cache if unreadable and not updating (#10844) 2020-11-06 08:54:09 -08:00
metacache-marker.go ListObjects Metadata Caching (#10648) 2020-10-28 09:18:35 -07:00
metacache-server-pool.go listing with prefix prefixed with '/' should be ignored (#11268) 2021-01-13 09:44:11 -08:00
metacache-set.go validate storage class across pools when setting config (#11320) 2021-01-22 12:09:24 -08:00
metacache-stream.go fix: re-use bytes.Buffer using sync.Pool (#11156) 2020-12-22 23:22:37 -08:00
metacache-stream_test.go avoid a crash in crawler when lifecycle is not initialized (#11170) 2020-12-26 22:58:06 -08:00
metacache-walk.go fix: heal optimizations in crawler to avoid multiple healing attempts (#11173) 2020-12-28 10:31:00 -08:00
metacache.go add _MINIO_SERVER_DEBUG env for enabling debug messages (#11128) 2020-12-17 16:52:47 -08:00
metacache_gen.go metacache: Allow prefix filtering (#10920) 2020-11-18 10:44:18 -08:00
metacache_gen_test.go ListObjects Metadata Caching (#10648) 2020-10-28 09:18:35 -07:00
metacache_test.go metacache: Add option for life extension (#10837) 2020-11-05 11:49:56 -08:00
metrics-router.go Updated Prometheus metrics (#11141) 2021-01-18 20:35:38 -08:00
metrics-v2.go Add open FD and FD limit to cluster metrics (#11328) 2021-01-22 18:30:16 -08:00
metrics.go Updated Prometheus metrics (#11141) 2021-01-18 20:35:38 -08:00
namespace-lock.go fix: refactor locks to apply them uniquely per node (#11052) 2020-12-10 07:28:37 -08:00
namespace-lock_test.go validate storage class across pools when setting config (#11320) 2021-01-22 12:09:24 -08:00
naughty-disk_test.go fix: readData in bulk call using messagepack byte wrappers (#11228) 2021-01-07 19:27:31 -08:00
net.go update x/net/http2 to address few bugs (#11144) 2020-12-21 21:42:38 -08:00
net_test.go update for smartos build (solaris too) (#10378) 2020-08-31 10:19:25 -07:00
notification-summary.go validate storage class across pools when setting config (#11320) 2021-01-22 12:09:24 -08:00
notification.go fix: log notification errors only once (#11350) 2021-01-28 13:40:31 -08:00
object-api-common.go fix: use buffers only when necessary for io.Copy() (#11229) 2021-01-06 09:36:55 -08:00
object-api-datatypes.go ilm: Remove object in HEAD/GET if having an applicable ILM rule (#11296) 2021-02-01 09:52:11 -08:00
object-api-deleteobject_test.go avoid a crash in crawler when lifecycle is not initialized (#11170) 2020-12-26 22:58:06 -08:00
object-api-errors.go fix: avoid sending errors on missing objects on locked buckets (#10994) 2020-11-28 21:15:45 -08:00
object-api-getobject_test.go Support variable server pools (#11256) 2021-01-16 12:08:02 -08:00
object-api-getobjectinfo_test.go Support bucket versioning (#9377) 2020-06-12 20:04:01 -07:00
object-api-input-checks.go fix: cleanup old directory handling code (#10633) 2020-10-06 12:03:57 -07:00
object-api-interface.go tagging: Add event notif for PUT object tagging (#11366) 2021-02-01 13:52:51 -08:00
object-api-listobjects_test.go listing with prefix prefixed with '/' should be ignored (#11268) 2021-01-13 09:44:11 -08:00
object-api-multipart_test.go Allow Compression + encryption (#11103) 2021-01-05 20:08:35 -08:00
object-api-options.go fix: replication regression due to proxying requests (#11356) 2021-01-27 11:22:34 -08:00
object-api-putobject_test.go Support variable server pools (#11256) 2021-01-16 12:08:02 -08:00
object-api-utils.go validate storage class across pools when setting config (#11320) 2021-01-22 12:09:24 -08:00
object-api-utils_test.go validate storage class across pools when setting config (#11320) 2021-01-22 12:09:24 -08:00
object-handlers-common.go validate storage class across pools when setting config (#11320) 2021-01-22 12:09:24 -08:00
object-handlers-common_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
object-handlers.go tagging: Add event notif for PUT object tagging (#11366) 2021-02-01 13:52:51 -08:00
object-handlers_test.go validate storage class across pools when setting config (#11320) 2021-01-22 12:09:24 -08:00
object_api_suite_test.go validate storage class across pools when setting config (#11320) 2021-01-22 12:09:24 -08:00
os-dirent_fileino.go allow large buffer to list more entries per directory (#9785) 2020-06-09 09:44:50 -07:00
os-dirent_ino.go add ruleguard support, fix all the reported issues (#10335) 2020-08-24 12:11:20 -07:00
os-dirent_namelen_bsd.go allow large buffer to list more entries per directory (#9785) 2020-06-09 09:44:50 -07:00
os-dirent_namelen_linux.go allow large buffer to list more entries per directory (#9785) 2020-06-09 09:44:50 -07:00
os-readdir_other.go update for smartos build (solaris too) (#10378) 2020-08-31 10:19:25 -07:00
os-readdir_test.go Support bucket versioning (#9377) 2020-06-12 20:04:01 -07:00
os-readdir_unix.go fix: unwrapping issues with os.Is* functions (#10949) 2020-11-23 08:36:49 -08:00
os-readdir_windows.go Fix crash on Windows when crawling (#10385) 2020-09-01 09:33:16 -07:00
os-reliable.go fix: unwrapping issues with os.Is* functions (#10949) 2020-11-23 08:36:49 -08:00
os-reliable_test.go Support bucket versioning (#9377) 2020-06-12 20:04:01 -07:00
peer-rest-client.go Don't mark remotes online when shutting down (#11368) 2021-01-28 13:38:12 -08:00
peer-rest-common.go validate storage class across pools when setting config (#11320) 2021-01-22 12:09:24 -08:00
peer-rest-server.go validate storage class across pools when setting config (#11320) 2021-01-22 12:09:24 -08:00
policy_test.go Move dependency from minio-go v6 to v7 (#10042) 2020-07-14 09:38:05 -07:00
post-policy_test.go Allow region errors to be dynamic (#10323) 2020-08-23 22:06:22 -07:00
postpolicyform.go Remove unusued params and functions (#8399) 2019-10-15 18:35:41 -07:00
postpolicyform_test.go Move dependency from minio-go v6 to v7 (#10042) 2020-07-14 09:38:05 -07:00
prepare-storage.go fix: allow expansion with newer constraints for older setups (#11372) 2021-01-29 11:40:55 -08:00
routers.go handlers: Avoid initializing a struct in each handler call (#11217) 2021-01-04 09:54:22 -08:00
server-main.go ilm: Remove object in HEAD/GET if having an applicable ILM rule (#11296) 2021-02-01 09:52:11 -08:00
server-main_test.go rename last remaining Zone->Pool 2021-01-26 20:47:42 -08:00
server-rlimit.go add '.healing.bin' for tracking currently healing disk (#10573) 2020-09-28 19:39:32 -07:00
server-startup-msg.go fix: server/gateway banner formatting (#11230) 2021-01-06 10:38:07 -08:00
server-startup-msg_test.go admin: ServerInfo returns info without object layer initialized (#11142) 2020-12-21 09:35:19 -08:00
server_test.go Support for "directory" objects (#10499) 2020-09-19 08:39:41 -07:00
service.go fix: heal bucket metadata right before healing bucket (#11097) 2020-12-13 11:57:08 -08:00
setup-type.go Support bucket versioning (#9377) 2020-06-12 20:04:01 -07:00
signals.go remove safeMode behavior in startup (#10645) 2020-10-09 09:59:52 -07:00
signature-v2.go Copy metadata before spawning goroutine + prealloc maps (#10458) 2020-09-10 11:37:22 -07:00
signature-v2_test.go Migrate config to KV data format (#8392) 2019-10-22 22:59:13 -07:00
signature-v4-parser.go Allow region errors to be dynamic (#10323) 2020-08-23 22:06:22 -07:00
signature-v4-parser_test.go add ruleguard support, fix all the reported issues (#10335) 2020-08-24 12:11:20 -07:00
signature-v4-utils.go initialize IAM as soon as object layer is initialized (#10700) 2020-10-19 09:54:40 -07:00
signature-v4-utils_test.go refactor cmd/crypto code for SSE handling and parsing (#11045) 2020-12-22 09:19:32 -08:00
signature-v4.go Adds "x-amz-usr-agent" and "x-id" params to be used in authentication of presignedURL (#10792) 2020-12-02 02:02:49 -08:00
signature-v4_test.go Allow region errors to be dynamic (#10323) 2020-08-23 22:06:22 -07:00
storage-datatypes.go ilm: Remove object in HEAD/GET if having an applicable ILM rule (#11296) 2021-02-01 09:52:11 -08:00
storage-datatypes_gen.go ilm: Remove object in HEAD/GET if having an applicable ILM rule (#11296) 2021-02-01 09:52:11 -08:00
storage-datatypes_gen_test.go fix: use internode data for DisksInfo, VolsInfo in message pack (#10821) 2020-11-04 10:10:54 -08:00
storage-datatypes_test.go feat: Small object optimization read data in single bulk call (#11207) 2021-01-03 11:27:57 -08:00
storage-errors.go parentDirIsObject() to return quickly with inexistant parent (#11204) 2021-01-02 12:01:29 -08:00
storage-interface.go fix: readData in bulk call using messagepack byte wrappers (#11228) 2021-01-07 19:27:31 -08:00
storage-rest-client.go Don't mark remotes online when shutting down (#11368) 2021-01-28 13:38:12 -08:00
storage-rest-common.go ilm: Remove object in HEAD/GET if having an applicable ILM rule (#11296) 2021-02-01 09:52:11 -08:00
storage-rest-server.go fix: enable xl.json to xl.meta only if legacy drive is found (#11255) 2021-01-11 02:27:04 -08:00
storage-rest_test.go rename last remaining Zone->Pool 2021-01-26 20:47:42 -08:00
streaming-signature-v4.go re-implement data usage crawler to be more efficient (#9075) 2020-03-18 16:19:29 -07:00
streaming-signature-v4_test.go add ruleguard support, fix all the reported issues (#10335) 2020-08-24 12:11:20 -07:00
sts-datatypes.go Fix LDAP responseXML to be named appropriately (#8285) 2019-09-24 03:51:16 +05:30
sts-errors.go add ruleguard support, fix all the reported issues (#10335) 2020-08-24 12:11:20 -07:00
sts-handlers.go audit: per object send pool number, set number and servers per operation (#11233) 2021-01-26 13:21:51 -08:00
test-utils_test.go rename last remaining Zone->Pool 2021-01-26 20:47:42 -08:00
tree-walk.go heal: Remove empty directories (#11354) 2021-01-27 02:19:28 -08:00
tree-walk_test.go Add storage layer contexts (#10321) 2020-09-04 09:45:06 -07:00
typed-errors.go fix: optimize IAM users load, add fallback (#9809) 2020-06-11 14:11:30 -07:00
update-notifier.go Refactor config and split them in packages (#8351) 2019-10-04 23:05:33 +05:30
update-notifier_test.go Refactor config and split them in packages (#8351) 2019-10-04 23:05:33 +05:30
update.go fix: unwrapping issues with os.Is* functions (#10949) 2020-11-23 08:36:49 -08:00
update_test.go add ruleguard support, fix all the reported issues (#10335) 2020-08-24 12:11:20 -07:00
utils.go fix: allow updated domain names in federation (#11365) 2021-01-28 11:44:48 -08:00
utils_test.go fix: allow updated domain names in federation (#11365) 2021-01-28 11:44:48 -08:00
version_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
web-handler-context.go use GlobalContext whenever possible (#9280) 2020-04-09 09:30:02 -07:00
web-handler-context_test.go Pass on web-handler arguments properly to log entries (#7894) 2019-07-11 22:37:13 +01:00
web-handlers.go ilm: Remove object in HEAD/GET if having an applicable ILM rule (#11296) 2021-02-01 09:52:11 -08:00
web-handlers_test.go rename server sets to server pools 2020-12-01 13:50:33 -08:00
web-router.go audit: per object send pool number, set number and servers per operation (#11233) 2021-01-26 13:21:51 -08:00
xl-storage-disk-id-check.go fix: readData in bulk call using messagepack byte wrappers (#11228) 2021-01-07 19:27:31 -08:00
xl-storage-errors.go fix: unwrapping issues with os.Is* functions (#10949) 2020-11-23 08:36:49 -08:00
xl-storage-errors_test.go Support bucket versioning (#9377) 2020-06-12 20:04:01 -07:00
xl-storage-format-utils.go Show Delete replication status header (#10946) 2020-11-21 23:48:50 -08:00
xl-storage-format-v1.go fix possible crashes on deleteMarker replication (#11308) 2021-01-20 13:12:12 -08:00
xl-storage-format-v1_gen.go Support bucket versioning (#9377) 2020-06-12 20:04:01 -07:00
xl-storage-format-v1_gen_test.go Support bucket versioning (#9377) 2020-06-12 20:04:01 -07:00
xl-storage-format-v2.go ilm: Remove object in HEAD/GET if having an applicable ILM rule (#11296) 2021-02-01 09:52:11 -08:00
xl-storage-format-v2_gen.go Revert "Revert "Add delete marker replication support (#10396)"" 2020-11-19 18:43:58 -08:00
xl-storage-format-v2_gen_test.go Support bucket versioning (#9377) 2020-06-12 20:04:01 -07:00
xl-storage-format_test.go Support bucket versioning (#9377) 2020-06-12 20:04:01 -07:00
xl-storage.go xl: Create a delete-marker when no other version exists (#11362) 2021-02-01 13:23:50 -08:00
xl-storage_test.go fix: check for O_DIRECT support for reads and writes (#11331) 2021-01-22 15:38:21 -08:00
xl-storage_unix_test.go Add storage layer contexts (#10321) 2020-09-04 09:45:06 -07:00
xl-storage_windows_test.go ListObjects Metadata Caching (#10648) 2020-10-28 09:18:35 -07:00