minio/cmd
Harshavardhana 5792be71fa
fix: add timeouts to avoid goroutine leaks in net/http (#14995)
Following code can reproduce an unending go-routine buildup,
while keeping connections established due to lack of client
not closing the connections.

https://gist.github.com/harshavardhana/2d00e6f909054d2d2524c71485ad02e1

Without this PR all MinIO deployments can be put into
denial of service attacks, causing entire service to be
unavailable.

We bring in two timeouts at this stage to control such
go-routine build ups, new change

- IdleTimeout (to kill off idle connections)
- ReadHeaderTimeout (to kill off connections that are too slow)

This new change also brings two hidden options to make any
additional relevant changes if desired in some setups.
2022-05-30 06:24:51 -07:00
..
gateway avoid concurrent reads and writes to opts.UserDefined (#14862) 2022-05-05 04:14:41 -07:00
testdata Do not use inline data size in xl.meta quorum calculation (#14831) 2022-05-24 06:26:38 -07:00
acl-handlers.go Remove HTTP flushes for returning handlers (#13528) 2021-10-28 07:36:34 -07:00
admin-bucket-handlers.go Add support for site replication healing (#14572) 2022-04-24 02:36:31 -07:00
admin-handler-utils.go use BadRequest HTTP status instead of Conflict for certain errors (#14900) 2022-05-11 13:44:16 -07:00
admin-handlers-config-kv.go Add support for Identity Management Plugin (#14913) 2022-05-26 17:58:09 -07:00
admin-handlers-pools.go resume/start decommission on the first node of the pool under decommission (#14705) 2022-04-06 23:42:05 -07:00
admin-handlers-site-replication.go allow versioning config changes under site replication (#14876) 2022-05-07 18:39:40 -07:00
admin-handlers-users-race_test.go allow IAM cache load to be granular and capture missed state (#14930) 2022-05-17 19:58:47 -07:00
admin-handlers-users.go Relax site replication syncing of service accounts (#14955) 2022-05-20 19:09:11 -07:00
admin-handlers-users_test.go make sure to ignore expected errors and dirname deletes (#14945) 2022-05-18 17:58:19 -07:00
admin-handlers.go fix: timer usage across codebase (#14935) 2022-05-17 22:42:59 -07:00
admin-handlers_test.go fix: rename some function names to avoid confusion (#14262) 2022-02-07 11:49:07 -08:00
admin-heal-ops.go fix: timer usage across codebase (#14935) 2022-05-17 22:42:59 -07:00
admin-router.go Combine profiling start/stop APIs into one (#14662) 2022-04-08 12:44:35 -07:00
admin-server-info.go re-use transport for AdminInfo() call (#14571) 2022-03-17 16:20:10 -07:00
api-datatypes.go fix: audit log to support object names in multipleObjectNames() handler (#14017) 2022-01-03 01:28:52 -08:00
api-errors.go use BadRequest HTTP status instead of Conflict for certain errors (#14900) 2022-05-11 13:44:16 -07:00
api-errors_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
api-headers.go skip object-lock headers without values (#14430) 2022-03-01 11:04:47 -08:00
api-headers_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
api-resources.go update license change for MinIO 2021-04-23 11:58:53 -07:00
api-resources_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
api-response.go Check error status codes (#14850) 2022-05-02 10:36:29 -07:00
api-response_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
api-router.go Add GetObject gzip option (#14226) 2022-02-14 09:19:01 -08:00
api-utils.go update license change for MinIO 2021-04-23 11:58:53 -07:00
api-utils_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
apierrorcode_string.go fix: site removal API error handling (#14870) 2022-05-06 12:40:34 -07:00
auth-handler.go fix: some races when accessing ldap/openid config globally (#14978) 2022-05-25 18:32:53 -07:00
auth-handler_test.go update gofumpt -w - new changes 2022-04-13 12:00:11 -07:00
background-heal-ops.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
background-newdisks-heal-ops.go fix: timer usage across codebase (#14935) 2022-05-17 22:42:59 -07:00
background-newdisks-heal-ops_gen.go heal: Add MRF metrics to background heal API response (#12398) 2021-07-15 22:32:06 -07:00
background-newdisks-heal-ops_gen_test.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
benchmark-utils_test.go fix: remove all unused code (#12360) 2021-05-24 09:28:19 -07:00
bitrot-streaming.go fix: hanging operations on PUT with slow IO (#13087) 2021-08-27 09:16:36 -07:00
bitrot-whole.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
bitrot.go use crypto/sha256 only for FIPS 140-2 compliance (#14983) 2022-05-27 06:00:19 -07:00
bitrot_test.go Fix hanging erasure writes (#12253) 2021-05-17 08:32:28 -07:00
bootstrap-peer-server.go improve logs, fix banner formatting (#14456) 2022-03-03 13:21:16 -08:00
bucket-encryption-handlers.go Add support for site replication healing (#14572) 2022-04-24 02:36:31 -07:00
bucket-encryption.go Add support for site replication healing (#14572) 2022-04-24 02:36:31 -07:00
bucket-encryption_test.go sse: add support for SSE-KMS bucket configurations (#12295) 2021-05-14 00:59:05 -07:00
bucket-handlers.go Tighten enforcement of object retention (#14993) 2022-05-28 02:21:19 -07:00
bucket-handlers_test.go update gofumpt -w - new changes 2022-04-13 12:00:11 -07:00
bucket-lifecycle-handlers.go Add quota usage as part of prometheus metrics (#14222) 2022-01-31 17:27:43 -08:00
bucket-lifecycle-handlers_test.go update gofumpt -w - new changes 2022-04-13 12:00:11 -07:00
bucket-lifecycle.go feat: implement prefix-level versioning exclusion (#14828) 2022-05-06 19:05:28 -07:00
bucket-lifecycle_test.go restore: Add quotes some fields in x-amz-restore header (#14281) 2022-02-09 13:17:41 -08:00
bucket-listobjects-handlers.go listing: improve listing of encrypted objects (#14667) 2022-04-04 11:42:03 -07:00
bucket-metadata-sys.go feat: implement prefix-level versioning exclusion (#14828) 2022-05-06 19:05:28 -07:00
bucket-metadata.go Add support for site replication healing (#14572) 2022-04-24 02:36:31 -07:00
bucket-metadata_gen.go Add support for site replication healing (#14572) 2022-04-24 02:36:31 -07:00
bucket-metadata_gen_test.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
bucket-notification-handlers.go Add quota usage as part of prometheus metrics (#14222) 2022-01-31 17:27:43 -08:00
bucket-object-lock.go Add support for site replication healing (#14572) 2022-04-24 02:36:31 -07:00
bucket-policy-handlers.go Add quota usage as part of prometheus metrics (#14222) 2022-01-31 17:27:43 -08:00
bucket-policy-handlers_test.go update gofumpt -w - new changes 2022-04-13 12:00:11 -07:00
bucket-policy.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
bucket-quota.go Add support for site replication healing (#14572) 2022-04-24 02:36:31 -07:00
bucket-replication-stats.go fetch bucket replication stats across peers in single call (#14956) 2022-05-23 09:15:30 -07:00
bucket-replication-utils.go feat: implement prefix-level versioning exclusion (#14828) 2022-05-06 19:05:28 -07:00
bucket-replication-utils_gen.go Refactor replication resync to be an active process (#14266) 2022-02-10 10:16:52 -08:00
bucket-replication-utils_gen_test.go Refactor replication resync to be an active process (#14266) 2022-02-10 10:16:52 -08:00
bucket-replication-utils_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
bucket-replication.go site replication: heal missing/invalid replication config (#14979) 2022-05-26 17:57:23 -07:00
bucket-replication_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
bucket-stats.go fetch bucket replication stats across peers in single call (#14956) 2022-05-23 09:15:30 -07:00
bucket-stats_gen.go fetch bucket replication stats across peers in single call (#14956) 2022-05-23 09:15:30 -07:00
bucket-stats_gen_test.go fetch bucket replication stats across peers in single call (#14956) 2022-05-23 09:15:30 -07:00
bucket-targets.go Disallow deletion of ARN when under active replication (#14972) 2022-05-24 19:40:45 -07:00
bucket-versioning-handler.go use BadRequest HTTP status instead of Conflict for certain errors (#14900) 2022-05-11 13:44:16 -07:00
bucket-versioning.go feat: implement prefix-level versioning exclusion (#14828) 2022-05-06 19:05:28 -07:00
build-constants.go update license change for MinIO 2021-04-23 11:58:53 -07:00
common-main.go add support for extra prometheus labels (#14899) 2022-05-11 13:04:53 -07:00
common-main_test.go Skip commented lines when parsing MinIO configuration file (#14710) 2022-04-07 16:02:51 -07:00
config-common.go use readConfig/saveConfig to simplify I/O on usage/tracker info (#14019) 2022-01-03 10:22:58 -08:00
config-current.go Add support for Identity Management Plugin (#14913) 2022-05-26 17:58:09 -07:00
config-current_test.go Add new `site` config sub-system intended to replace `region` (#13672) 2021-11-25 13:06:25 -08:00
config-dir.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
config-encrypted.go improve logs, fix banner formatting (#14456) 2022-03-03 13:21:16 -08:00
config-encrypted_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
config-migrate.go Add support for multiple OpenID providers with role policies (#14223) 2022-04-28 18:27:09 -07:00
config-migrate_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
config-versions.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
config.go speed up startup sequence for all operations (#14148) 2022-01-24 11:28:45 -08:00
consolelogger.go Make audit webhook and kafka config dynamic (#14390) 2022-02-24 09:05:33 -08:00
copy-part-range.go feat: Deprecate embedded browser and import console (#12460) 2021-06-17 20:27:04 -07:00
copy-part-range_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
crossdomain-xml-handler.go reduce number of middleware handlers (#13546) 2021-11-01 08:04:03 -07:00
crossdomain-xml-handler_test.go use ParseForm() to allow query param lookups once (#12900) 2021-08-07 22:43:01 -07:00
data-scanner.go fix: timer usage across codebase (#14935) 2022-05-17 22:42:59 -07:00
data-update-tracker.go speed up startup sequence for all operations (#14148) 2022-01-24 11:28:45 -08:00
data-update-tracker_test.go Make audit webhook and kafka config dynamic (#14390) 2022-02-24 09:05:33 -08:00
data-usage-cache.go Add number of versions in server info API (#14812) 2022-04-25 22:04:10 -07:00
data-usage-cache_gen.go cached diskIDs are not needed for scanner healing (#14170) 2022-01-26 08:34:56 -08:00
data-usage-cache_gen_test.go ilm: Make per-tier stats available via admin-tier-info (#13381) 2021-10-23 18:38:33 -07:00
data-usage-utils.go Add number of versions in server info API (#14812) 2022-04-25 22:04:10 -07:00
data-usage.go heal: Enable periodic bitrot scan configuration (#14464) 2022-04-07 08:10:40 -07:00
data-usage_test.go heal: Enable periodic bitrot scan configuration (#14464) 2022-04-07 08:10:40 -07:00
disk-cache-backend.go fix: timer usage across codebase (#14935) 2022-05-17 22:42:59 -07:00
disk-cache-check-support_contrib_windows.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
disk-cache-check-support_other.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
disk-cache-stats.go update license change for MinIO 2021-04-23 11:58:53 -07:00
disk-cache-utils.go etag: add `Format` and `Decrypt` functions (#14659) 2022-04-03 13:29:13 -07:00
disk-cache-utils_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
disk-cache.go avoid concurrent reads and writes to opts.UserDefined (#14862) 2022-05-05 04:14:41 -07:00
disk-cache_test.go Avoid cache GC of writebacks before commit syncs (#13860) 2021-12-08 14:52:31 -08:00
dummy-data-generator_test.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
dummy-handlers.go Remove HTTP flushes for returning handlers (#13528) 2021-10-28 07:36:34 -07:00
dynamic-timeouts.go update license change for MinIO 2021-04-23 11:58:53 -07:00
dynamic-timeouts_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
encryption-v1.go listing: improve listing of encrypted objects (#14667) 2022-04-04 11:42:03 -07:00
encryption-v1_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
endpoint-ellipses.go feat: decommission feature for pools (#14012) 2022-01-10 09:07:49 -08:00
endpoint-ellipses_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
endpoint.go use dnscache resolver for resolving command line endpoints (#14135) 2022-01-20 13:03:15 -08:00
endpoint_contrib_test.go Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00
endpoint_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
erasure-bucket.go allow forcibly creating metadata on buckets (#14820) 2022-04-27 04:44:07 -07:00
erasure-coding.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
erasure-common.go do not skip healing disks during deletes (#14394) 2022-02-23 14:30:46 -08:00
erasure-decode.go fix: make sure to avoid calling RenameData() on disconnected disks. (#14094) 2022-01-12 18:49:01 -08:00
erasure-decode_test.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
erasure-encode.go fix: make sure to avoid calling RenameData() on disconnected disks. (#14094) 2022-01-12 18:49:01 -08:00
erasure-encode_test.go Fix hanging erasure writes (#12253) 2021-05-17 08:32:28 -07:00
erasure-errors.go update license change for MinIO 2021-04-23 11:58:53 -07:00
erasure-heal_test.go fix padding error and compatible with uploaded objects (#13803) 2021-12-03 09:26:30 -08:00
erasure-healing-common.go attempt to real resolve when there is a quorum failure on reads (#14613) 2022-04-20 12:49:05 -07:00
erasure-healing-common_test.go add healing for invalid shards by skipping the blocks (#13978) 2021-12-23 23:01:46 -08:00
erasure-healing.go do not heal outdated disks > parityBlocks (#14976) 2022-05-25 15:17:10 -07:00
erasure-healing_test.go attempt to real resolve when there is a quorum failure on reads (#14613) 2022-04-20 12:49:05 -07:00
erasure-metadata-utils.go Do not use inline data size in xl.meta quorum calculation (#14831) 2022-05-24 06:26:38 -07:00
erasure-metadata-utils_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
erasure-metadata.go use crypto/sha256 only for FIPS 140-2 compliance (#14983) 2022-05-27 06:00:19 -07:00
erasure-metadata_test.go re-implement pickValidInfo dataDir, move to quorum calculation (#13681) 2021-11-21 10:41:30 -08:00
erasure-multipart.go avoid concurrent reads and writes to opts.UserDefined (#14862) 2022-05-05 04:14:41 -07:00
erasure-object.go fix: copyObject on versioned bucket when updating metadata (#14971) 2022-05-24 17:27:45 -07:00
erasure-object_test.go Do not use inline data size in xl.meta quorum calculation (#14831) 2022-05-24 06:26:38 -07:00
erasure-server-pool-decom.go make sure to ignore expected errors and dirname deletes (#14945) 2022-05-18 17:58:19 -07:00
erasure-server-pool-decom_gen.go fix: simplify usage calculation and progress (#14086) 2022-01-11 18:48:43 -08:00
erasure-server-pool-decom_gen_test.go fix: simplify usage calculation and progress (#14086) 2022-01-11 18:48:43 -08:00
erasure-server-pool-decom_test.go reject changing pools when there are pending decommissions in-progress (#14102) 2022-01-14 10:32:35 -08:00
erasure-server-pool.go Ignore disks with 0 total space (#14981) 2022-05-26 06:01:50 -07:00
erasure-sets.go fix: timer usage across codebase (#14935) 2022-05-17 22:42:59 -07:00
erasure-sets_test.go feat: decommission feature for pools (#14012) 2022-01-10 09:07:49 -08:00
erasure-utils.go re-use io.Copy buffers with 32k pools (#13553) 2021-11-02 08:11:50 -07:00
erasure.go heal: Enable periodic bitrot scan configuration (#14464) 2022-04-07 08:10:40 -07:00
erasure_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
etcd.go etcd: Add logs for unusual failures (#13460) 2021-10-18 08:43:04 -07:00
format-disk-cache.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
format-disk-cache_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
format-erasure.go speedup getFormatErasureInQuorum use driveCount (#14239) 2022-02-04 12:21:21 -08:00
format-erasure_test.go speedup getFormatErasureInQuorum use driveCount (#14239) 2022-02-04 12:21:21 -08:00
format-fs.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
format-fs_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
format-meta.go update license change for MinIO 2021-04-23 11:58:53 -07:00
format_string.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
fs-tree-walk-pool.go update license change for MinIO 2021-04-23 11:58:53 -07:00
fs-tree-walk-pool_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
fs-v1-helpers.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
fs-v1-helpers_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
fs-v1-metadata.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
fs-v1-metadata_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
fs-v1-multipart.go fix: timer usage across codebase (#14935) 2022-05-17 22:42:59 -07:00
fs-v1-multipart_test.go allow disabling strict sha256 validation with some broken clients (#13383) 2021-10-08 12:40:34 -07:00
fs-v1-rwpool.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
fs-v1-rwpool_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
fs-v1.go update gofumpt -w - new changes 2022-04-13 12:00:11 -07:00
fs-v1_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
gateway-common.go Add support for tier-remove and tier-verify (#14382) 2022-02-23 13:34:25 -08:00
gateway-common_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
gateway-env.go update license change for MinIO 2021-04-23 11:58:53 -07:00
gateway-interface.go Remove Azure gateway implementation (#14418) 2022-04-29 12:51:23 -07:00
gateway-main.go improve logs, fix banner formatting (#14456) 2022-03-03 13:21:16 -08:00
gateway-main_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
gateway-metrics.go update license change for MinIO 2021-04-23 11:58:53 -07:00
gateway-startup-msg.go improve logs, fix banner formatting (#14456) 2022-03-03 13:21:16 -08:00
gateway-startup-msg_test.go Remove Azure gateway implementation (#14418) 2022-04-29 12:51:23 -07:00
gateway-unsupported.go update gofumpt -w - new changes 2022-04-13 12:00:11 -07:00
generic-handlers.go fix: reject invalid r.Host headers (#14846) 2022-05-02 04:42:41 -07:00
generic-handlers_contrib.go Revert "deprecate embedded browser (#12163)" 2021-04-30 08:50:39 -07:00
generic-handlers_test.go reduce number of middleware handlers (#13546) 2021-11-01 08:04:03 -07:00
global-heal.go heal: Enable periodic bitrot scan configuration (#14464) 2022-04-07 08:10:40 -07:00
globals.go Add support for Identity Management Plugin (#14913) 2022-05-26 17:58:09 -07:00
handler-api.go Use S3 client for uplooads/downloads during perf test (#14570) 2022-04-07 21:20:40 -07:00
handler-utils.go Log Range Header if present in the request (#14851) 2022-05-02 10:37:26 -07:00
handler-utils_test.go fix: panic in browser redirect handler for unexpected r.Host (#14844) 2022-05-01 13:45:45 -07:00
hasher.go use crypto/sha256 only for FIPS 140-2 compliance (#14983) 2022-05-27 06:00:19 -07:00
healthcheck-handler.go reduce number of middleware handlers (#13546) 2021-11-01 08:04:03 -07:00
healthcheck-router.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
healthinfo.go update madmin-go dependency, update related code (#12669) 2021-07-12 10:16:10 -07:00
http-stats.go align 32bit integers with atomic values in structs (#14344) 2022-02-17 15:22:26 -08:00
http-tracer.go feat: Add RX/TX to audit logging (#13382) 2021-10-07 19:03:46 -07:00
http-tracer_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
httprange.go fix: consistent replies for incorrect range requests on replicated buckets (#14345) 2022-03-08 13:58:55 -08:00
httprange_test.go fix: consistent replies for incorrect range requests on replicated buckets (#14345) 2022-03-08 13:58:55 -08:00
iam-dummy-store.go Add option to policy info API to return create/mod timestamps (#13796) 2021-12-11 09:03:39 -08:00
iam-etcd-store.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
iam-etcd-store_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
iam-object-store.go fix: IAM reload should only list at config/iam/ precisely (#14753) 2022-04-15 12:12:45 -07:00
iam-store.go Fix listing of service and sts accounts (#14977) 2022-05-25 15:28:54 -07:00
iam.go Add support for Identity Management Plugin (#14913) 2022-05-26 17:58:09 -07:00
jwt.go decouple service accounts from root credentials (#14534) 2022-03-14 09:09:22 -07:00
jwt_test.go decouple service accounts from root credentials (#14534) 2022-03-14 09:09:22 -07:00
last-minute.go publish storage API latency through node metrics (#14117) 2022-01-25 16:31:44 -08:00
last-minute_gen.go publish storage API latency through node metrics (#14117) 2022-01-25 16:31:44 -08:00
last-minute_gen_test.go publish storage API latency through node metrics (#14117) 2022-01-25 16:31:44 -08:00
leak-detect_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
listen-notification-handlers.go use ParseForm() to allow query param lookups once (#12900) 2021-08-07 22:43:01 -07:00
local-locker.go Optimize read locker cleanup (#14200) 2022-01-27 14:10:57 -08:00
local-locker_test.go tests: Add localLocker RUnlock test (#14882) 2022-05-09 09:55:52 -07:00
lock-rest-client.go Reduce JWT overhead for internode tokens (#13738) 2021-11-23 09:51:53 -08:00
lock-rest-client_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
lock-rest-server-common.go internode lockArgs should use messagepack (#13329) 2021-09-30 11:53:01 -07:00
lock-rest-server-common_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
lock-rest-server.go fix: timer usage across codebase (#14935) 2022-05-17 22:42:59 -07:00
lock-rest-server_test.go Locker: Improve Refresh speed (#13430) 2021-10-15 03:12:13 -07:00
main.go improve logs, fix banner formatting (#14456) 2022-03-03 13:21:16 -08:00
metacache-bucket.go Stop async listing earlier (#13160) 2021-09-08 11:06:45 -07:00
metacache-bucket_test.go askDisks for strict quorum to be equal to read quorum (#14623) 2022-03-25 16:29:45 -07:00
metacache-entries.go request only 1 best version for latest version resolution (#14625) 2022-03-25 08:50:07 -07:00
metacache-entries_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
metacache-manager.go Stop async listing earlier (#13160) 2021-09-08 11:06:45 -07:00
metacache-marker.go feat: Implement listing version 3.0 (#12605) 2021-07-05 15:34:41 -07:00
metacache-server-pool.go fetch bucket retention config once for ILM evalAction (#14727) 2022-04-11 13:25:32 -07:00
metacache-set.go Fix WalkDir fallback hot loop (#14961) 2022-05-23 06:28:46 -07:00
metacache-stream.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
metacache-stream_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
metacache-walk.go Add local disk health checks (#14447) 2022-03-09 11:38:54 -08:00
metacache.go re-arrange metacache struct to be optimal (#13609) 2021-11-08 10:26:08 -08:00
metacache_gen.go re-arrange metacache struct to be optimal (#13609) 2021-11-08 10:26:08 -08:00
metacache_gen_test.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
metacache_test.go Stop async listing earlier (#13160) 2021-09-08 11:06:45 -07:00
metrics-router.go add support for customizing redirect_uri for IDP (#12607) 2021-06-30 16:08:20 -07:00
metrics-v2.go fetch bucket replication stats across peers in single call (#14956) 2022-05-23 09:15:30 -07:00
metrics.go Remove Azure gateway implementation (#14418) 2022-04-29 12:51:23 -07:00
mrf.go mrf: Fix stale MRF data showed in heal info (#14953) 2022-05-20 07:33:18 -07:00
namespace-lock.go return correct context errors for locking operations (#14569) 2022-03-18 15:32:45 -07:00
namespace-lock_test.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
naughty-disk_test.go attempt to real resolve when there is a quorum failure on reads (#14613) 2022-04-20 12:49:05 -07:00
net.go use dnscache resolver for resolving command line endpoints (#14135) 2022-01-20 13:03:15 -08:00
net_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
notification-summary.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
notification.go fetch bucket replication stats across peers in single call (#14956) 2022-05-23 09:15:30 -07:00
object-api-common.go fs: Return prefix as listing marker if no objects (#14143) 2022-01-20 10:55:18 -08:00
object-api-datatypes.go fix: simplify usage calculation and progress (#14086) 2022-01-11 18:48:43 -08:00
object-api-deleteobject_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
object-api-errors.go fix: regression from range GET proxy on replicated buckets #14345 (#14532) 2022-03-11 15:56:49 -08:00
object-api-getobjectinfo_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
object-api-input-checks.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
object-api-interface.go fix: multiple fixes in prefix exclude implementation (#14877) 2022-05-07 22:06:44 -07:00
object-api-listobjects_test.go feat: implement prefix-level versioning exclusion (#14828) 2022-05-06 19:05:28 -07:00
object-api-multipart_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
object-api-options.go avoid replication proxy on version excluded paths (#14878) 2022-05-08 16:50:31 -07:00
object-api-putobject_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
object-api-utils.go listing: improve listing of encrypted objects (#14667) 2022-04-04 11:42:03 -07:00
object-api-utils_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
object-handlers-common.go fix: multiple fixes in prefix exclude implementation (#14877) 2022-05-07 22:06:44 -07:00
object-handlers-common_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
object-handlers.go Tighten enforcement of object retention (#14993) 2022-05-28 02:21:19 -07:00
object-handlers_test.go update gofumpt -w - new changes 2022-04-13 12:00:11 -07:00
object_api_suite_test.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
os-dirent_fileino.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
os-dirent_ino.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
os-dirent_namelen_bsd.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
os-dirent_namelen_linux.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
os-instrumented.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
os-readdir-common.go Add option in readDir to enable symlink following of dirs (#12668) 2021-07-09 16:20:51 -07:00
os-readdir_other.go fix: build on illumos (Solaris) (#13097) 2021-08-30 08:40:16 -07:00
os-readdir_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
os-readdir_unix.go use O_DIRECT for all ReadFileStream (#13324) 2021-09-29 16:40:28 -07:00
os-readdir_windows.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
os-reliable.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
os-reliable_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
osmetric_string.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
peer-rest-client.go fetch bucket replication stats across peers in single call (#14956) 2022-05-23 09:15:30 -07:00
peer-rest-common.go fetch bucket replication stats across peers in single call (#14956) 2022-05-23 09:15:30 -07:00
peer-rest-server.go fetch bucket replication stats across peers in single call (#14956) 2022-05-23 09:15:30 -07:00
perf-tests.go Use S3 client for uplooads/downloads during perf test (#14570) 2022-04-07 21:20:40 -07:00
policy_test.go do not remove Sid from svcaccount policies (#14064) 2022-01-10 14:26:26 -08:00
post-policy_test.go update gofumpt -w - new changes 2022-04-13 12:00:11 -07:00
postpolicyform.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
postpolicyform_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
prepare-storage.go tests: Fix sporadic failure of TestXLStorageDeleteFile (#14911) 2022-05-12 15:24:58 -07:00
routers.go Fix adding bucket forwarder handler in server mode (#14288) 2022-02-10 08:49:36 -08:00
s3-zip-handlers.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
server-main.go fix: add timeouts to avoid goroutine leaks in net/http (#14995) 2022-05-30 06:24:51 -07:00
server-main_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
server-rlimit.go warn issues about large block I/O performance for Linux older than 4.0.0 (#14524) 2022-03-10 17:36:13 -08:00
server-startup-msg.go improve logs, fix banner formatting (#14456) 2022-03-03 13:21:16 -08:00
server-startup-msg_test.go fix: simplify APIEndpoints() usage (#12893) 2021-08-05 15:01:19 -07:00
server_test.go fix: audit log to support object names in multipleObjectNames() handler (#14017) 2022-01-03 01:28:52 -08:00
service.go fix: atomic.Value should be a concrete type to avoid panics (#13740) 2021-11-23 16:09:28 -08:00
setup-type.go update license change for MinIO 2021-04-23 11:58:53 -07:00
signals.go do not flush if Write() failed (#13597) 2021-11-18 17:19:58 -08:00
signature-v2.go remove "expires" header from presign v2 as metadata (#13718) 2021-11-22 16:07:23 -08:00
signature-v2_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
signature-v4-parser.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
signature-v4-parser_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
signature-v4-utils.go use crypto/sha256 only for FIPS 140-2 compliance (#14983) 2022-05-27 06:00:19 -07:00
signature-v4-utils_test.go fix: rename some function names to avoid confusion (#14262) 2022-02-07 11:49:07 -08:00
signature-v4.go use crypto/sha256 only for FIPS 140-2 compliance (#14983) 2022-05-27 06:00:19 -07:00
signature-v4_test.go Add new `site` config sub-system intended to replace `region` (#13672) 2021-11-25 13:06:25 -08:00
site-replication.go site-repl: Fix deadlock after an IAM loading error (#14990) 2022-05-27 10:26:38 -07:00
site-replication_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
speedtest.go Include speedtest as part of healthinfo api (#14696) 2022-04-12 13:17:44 -07:00
storage-datatypes.go attempt to real resolve when there is a quorum failure on reads (#14613) 2022-04-20 12:49:05 -07:00
storage-datatypes_gen.go attempt to real resolve when there is a quorum failure on reads (#14613) 2022-04-20 12:49:05 -07:00
storage-datatypes_gen_test.go attempt to real resolve when there is a quorum failure on reads (#14613) 2022-04-20 12:49:05 -07:00
storage-datatypes_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
storage-errors.go Print log when EINVALID is encountered in storage layer (#13341) 2021-10-04 09:01:52 -07:00
storage-interface.go attempt to real resolve when there is a quorum failure on reads (#14613) 2022-04-20 12:49:05 -07:00
storage-rest-client.go attempt to real resolve when there is a quorum failure on reads (#14613) 2022-04-20 12:49:05 -07:00
storage-rest-common.go attempt to real resolve when there is a quorum failure on reads (#14613) 2022-04-20 12:49:05 -07:00
storage-rest-server.go attempt to real resolve when there is a quorum failure on reads (#14613) 2022-04-20 12:49:05 -07:00
storage-rest_test.go add more tests to cover areas for weird object names (#13873) 2021-12-09 17:52:53 -08:00
storagemetric_string.go attempt to real resolve when there is a quorum failure on reads (#14613) 2022-04-20 12:49:05 -07:00
streaming-signature-v4.go use crypto/sha256 only for FIPS 140-2 compliance (#14983) 2022-05-27 06:00:19 -07:00
streaming-signature-v4_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
sts-datatypes.go Add support for Identity Management Plugin (#14913) 2022-05-26 17:58:09 -07:00
sts-errors.go Add support for Identity Management Plugin (#14913) 2022-05-26 17:58:09 -07:00
sts-handlers.go use crypto/sha256 only for FIPS 140-2 compliance (#14983) 2022-05-27 06:00:19 -07:00
sts-handlers_test.go Add Access Management Plugin tests with OpenID (#14919) 2022-05-13 12:48:02 -07:00
stserrorcode_string.go Add support for Identity Management Plugin (#14913) 2022-05-26 17:58:09 -07:00
test-utils_test.go Do not use inline data size in xl.meta quorum calculation (#14831) 2022-05-24 06:26:38 -07:00
tier-handlers.go Add support for tier-remove and tier-verify (#14382) 2022-02-23 13:34:25 -08:00
tier-journal.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
tier-journal_gen.go [Tiering] Support remote tiers with object versioning (#12342) 2021-06-03 14:26:51 -07:00
tier-journal_gen_test.go [Tiering] Support remote tiers with object versioning (#12342) 2021-06-03 14:26:51 -07:00
tier-journal_test.go [Tiering] Support remote tiers with object versioning (#12342) 2021-06-03 14:26:51 -07:00
tier-last-day-stats.go enable go1.18.x builds (#14746) 2022-04-13 14:21:55 -07:00
tier-mem-journal.go Add a 'free' version to track deletion of tiered object content (#12470) 2021-06-30 19:32:07 -07:00
tier-sweeper.go fix: various performance improvements to tiering (#12965) 2021-08-17 07:50:00 -07:00
tier.go Add support for minio tier type (#14468) 2022-04-11 13:24:40 -07:00
tier_gen.go move madmin to github.com/minio/madmin-go (#12239) 2021-05-06 08:52:02 -07:00
tier_gen_test.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
tree-walk.go update license change for MinIO 2021-04-23 11:58:53 -07:00
tree-walk_test.go speed up startup sequence for all operations (#14148) 2022-01-24 11:28:45 -08:00
typed-errors.go do not remove Sid from svcaccount policies (#14064) 2022-01-10 14:26:26 -08:00
untar.go snowball: return errors on failures (#13836) 2021-12-06 09:45:23 -08:00
update-notifier.go improve logs, fix banner formatting (#14456) 2022-03-03 13:21:16 -08:00
update-notifier_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
update.go Do not allow parallel upgrade in one server (#14782) 2022-04-20 06:18:21 -07:00
update_fips.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
update_nofips.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
update_test.go start using t.SetEnv instead of os.Setenv (#14787) 2022-04-23 15:33:45 -07:00
url_test.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
utils.go avoid concurrent reads and writes to opts.UserDefined (#14862) 2022-05-05 04:14:41 -07:00
utils_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
version_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
warm-backend-azure.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
warm-backend-gcs.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
warm-backend-minio.go Add support for minio tier type (#14468) 2022-04-11 13:24:40 -07:00
warm-backend-s3.go Use custom transport for site replication (#14391) 2022-02-23 11:50:40 -08:00
warm-backend.go Add support for minio tier type (#14468) 2022-04-11 13:24:40 -07:00
xl-storage-disk-id-check.go tracing: Add disk path to storage tracing (#14883) 2022-05-10 07:48:07 -07:00
xl-storage-errors.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
xl-storage-errors_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
xl-storage-format-utils.go fix: deleteVersions causing xl.meta to have empty Versions[] slice (#14483) 2022-03-04 20:01:26 -08:00
xl-storage-format-utils_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
xl-storage-format-v1.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
xl-storage-format-v1_gen.go Inspect: Preserve permission flags (#13490) 2021-10-21 11:20:13 -07:00
xl-storage-format-v1_gen_test.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
xl-storage-format-v2-legacy.go Fix inconsistent metadata after healing (#14125) 2022-01-19 10:48:00 -08:00
xl-storage-format-v2.go request only 1 best version for latest version resolution (#14625) 2022-03-25 08:50:07 -07:00
xl-storage-format-v2_gen.go Improve performance on multiple versions (#13573) 2021-11-18 12:15:22 -08:00
xl-storage-format-v2_gen_test.go Improve performance on multiple versions (#13573) 2021-11-18 12:15:22 -08:00
xl-storage-format-v2_string.go Improve listing consistency with version merging (#13723) 2021-12-02 11:29:16 -08:00
xl-storage-format-v2_test.go Tweak listing quorum (#14703) 2022-04-06 12:24:21 -07:00
xl-storage-format_test.go fix: deleteVersions causing xl.meta to have empty Versions[] slice (#14483) 2022-03-04 20:01:26 -08:00
xl-storage-free-version.go Improve performance on multiple versions (#13573) 2021-11-18 12:15:22 -08:00
xl-storage-free-version_test.go fix: deleteVersions causing xl.meta to have empty Versions[] slice (#14483) 2022-03-04 20:01:26 -08:00
xl-storage-meta-inline.go Improve performance on multiple versions (#13573) 2021-11-18 12:15:22 -08:00
xl-storage.go tests: Fix sporadic failure of TestXLStorageDeleteFile (#14911) 2022-05-12 15:24:58 -07:00
xl-storage_noatime_notsupported.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
xl-storage_noatime_supported.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
xl-storage_test.go tests: Fix sporadic failure of TestXLStorageDeleteFile (#14911) 2022-05-12 15:24:58 -07:00
xl-storage_unix_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
xl-storage_windows_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00