minio/cmd
Harshavardhana b7c5e45fff
heal: isObjectDangling should return false when it cannot decide (#14053)
In a multi-pool setup when disks are coming up, or in a single pool
setup let's say with 100's of erasure sets with a slow network.

It's possible when healing is attempted on `.minio.sys/config`
folder, it can lead to healing unexpectedly deleting some policy
files as dangling due to a mistake in understanding when `isObjectDangling`
is considered to be 'true'.

This issue happened in commit 30135eed86
when we assumed the validMeta with empty ErasureInfo is considered
to be fully dangling. This implementation issue gets exposed when
the server is starting up.

This is most easily seen with multiple-pool setups because of the
disconnected fashion pools that come up. The decision to purge the
object as dangling is taken incorrectly prior to the correct state
being achieved on each pool, when the corresponding drive let's say
returns 'errDiskNotFound', a 'delete' is triggered. At this point,
the 'drive' comes online because this is part of the startup sequence
as drives can come online lazily.

This kind of situation exists because we allow (totalDisks/2) number
of drives to be online when the server is being restarted.

Implementation made an incorrect assumption here leading to policies
getting deleted.

Added tests to capture the implementation requirements.
2022-01-07 19:11:54 -08:00
..
gateway run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
testdata Improve performance on multiple versions (#13573) 2021-11-18 12:15:22 -08:00
acl-handlers.go Remove HTTP flushes for returning handlers (#13528) 2021-10-28 07:36:34 -07:00
admin-bucket-handlers.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
admin-handler-utils.go fix: error handling cases in site-replication (#13901) 2021-12-14 14:09:57 -08:00
admin-handlers_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
admin-handlers-config-kv.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
admin-handlers-site-replication.go Add internal IDP and OIDC users support for site-replication (#14041) 2022-01-06 15:52:43 -08:00
admin-handlers-users_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
admin-handlers-users-race_test.go Add CI for etcd IAM backend (#13614) 2021-11-09 09:25:13 -08:00
admin-handlers-users.go fix: progagation of service accounts for site replication (#14054) 2022-01-07 17:41:43 -08:00
admin-handlers.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
admin-heal-ops.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
admin-router.go Add API for cluster replication status visibility (#13885) 2022-01-05 02:44:08 -08:00
admin-server-info.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -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_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
api-errors.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
api-headers_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
api-headers.go Add new site config sub-system intended to replace region (#13672) 2021-11-25 13:06:25 -08:00
api-resources_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
api-resources.go update license change for MinIO 2021-04-23 11:58:53 -07:00
api-response_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
api-response.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
api-router.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
api-utils_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
api-utils.go update license change for MinIO 2021-04-23 11:58:53 -07:00
apierrorcode_string.go return meaningful error for disabled users (#13968) 2021-12-22 11:40:21 -08:00
auth-handler_test.go Move IAM notifications into IAM system functions (#13780) 2021-11-29 14:38:57 -08:00
auth-handler.go Map policy to parent for STS (#13884) 2021-12-17 00:46:30 -08:00
background-heal-ops.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
background-newdisks-heal-ops_gen_test.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -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.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
benchmark-utils_test.go fix: remove all unused code (#12360) 2021-05-24 09:28:19 -07:00
bitrot_test.go Fix hanging erasure writes (#12253) 2021-05-17 08:32:28 -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 run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
bootstrap-peer-server.go add configurable delta for skipping shards (#13967) 2021-12-22 11:43:01 -08:00
bucket-encryption_test.go sse: add support for SSE-KMS bucket configurations (#12295) 2021-05-14 00:59:05 -07:00
bucket-encryption-handlers.go Add new site replication feature (#13311) 2021-10-06 16:36:31 -07:00
bucket-encryption.go allow S3 gateway to support object locked buckets (#13257) 2021-09-21 09:02:15 -07:00
bucket-handlers_test.go fix: audit log to support object names in multipleObjectNames() handler (#14017) 2022-01-03 01:28:52 -08:00
bucket-handlers.go fix: DeleteMultipleObjects to finish even if cancelled + concurrent sets (#14038) 2022-01-06 10:47:49 -08:00
bucket-lifecycle_test.go Use ObjectInfo.ToLifecycleOpts instead of literal values (#12772) 2021-07-21 19:12:44 -07:00
bucket-lifecycle-handlers_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
bucket-lifecycle-handlers.go Newer noncurrent versions (#13815) 2021-12-14 09:41:44 -08:00
bucket-lifecycle.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
bucket-listobjects-handlers.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
bucket-metadata_gen_test.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
bucket-metadata_gen.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
bucket-metadata-sys.go fix: support existing folders in single drive mode (#13254) 2021-09-20 17:41:01 -07:00
bucket-metadata.go use readConfig/saveConfig to simplify I/O on usage/tracker info (#14019) 2022-01-03 10:22:58 -08:00
bucket-notification-handlers.go use readConfig/saveConfig to simplify I/O on usage/tracker info (#14019) 2022-01-03 10:22:58 -08:00
bucket-object-lock.go enforceRetentionForDeletion should return false early for delete-marker (#14033) 2022-01-05 17:05:28 -08:00
bucket-policy-handlers_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
bucket-policy-handlers.go Add new site replication feature (#13311) 2021-10-06 16:36:31 -07:00
bucket-policy.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
bucket-quota.go enforceRetentionForDeletion should return false early for delete-marker (#14033) 2022-01-05 17:05:28 -08:00
bucket-replication_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
bucket-replication-stats.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
bucket-replication-utils_gen_test.go Add support for multi site replication (#12880) 2021-09-18 13:31:35 -07:00
bucket-replication-utils_gen.go Add support for multi site replication (#12880) 2021-09-18 13:31:35 -07:00
bucket-replication-utils_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
bucket-replication-utils.go fix: audit log to support object names in multipleObjectNames() handler (#14017) 2022-01-03 01:28:52 -08:00
bucket-replication.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
bucket-stats_gen_test.go metrics: Add replication latency metrics (#13515) 2021-11-17 12:10:57 -08:00
bucket-stats_gen.go metrics: Add replication latency metrics (#13515) 2021-11-17 12:10:57 -08:00
bucket-stats.go fix; race in bucket replication stats (#13942) 2021-12-17 15:33:13 -08:00
bucket-targets.go move gofumpt to golang-ci 2022-01-06 13:08:21 -08:00
bucket-versioning-handler.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
bucket-versioning.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
build-constants.go update license change for MinIO 2021-04-23 11:58:53 -07:00
common-main_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
common-main.go fix: DeleteMultipleObjects to finish even if cancelled + concurrent sets (#14038) 2022-01-06 10:47:49 -08: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_test.go Add new site config sub-system intended to replace region (#13672) 2021-11-25 13:06:25 -08:00
config-current.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
config-dir.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
config-encrypted_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
config-encrypted.go allow resetting and reapply config on broken clusters (#12554) 2021-06-24 16:24:12 -07:00
config-migrate_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
config-migrate.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 run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
consolelogger.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
copy-part-range_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
copy-part-range.go feat: Deprecate embedded browser and import console (#12460) 2021-06-17 20:27:04 -07:00
crossdomain-xml-handler_test.go use ParseForm() to allow query param lookups once (#12900) 2021-08-07 22:43:01 -07:00
crossdomain-xml-handler.go reduce number of middleware handlers (#13546) 2021-11-01 08:04:03 -07:00
data-scanner.go use readConfig/saveConfig to simplify I/O on usage/tracker info (#14019) 2022-01-03 10:22:58 -08:00
data-update-tracker_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
data-update-tracker.go Improve listing consistency with version merging (#13723) 2021-12-02 11:29:16 -08:00
data-usage_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -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-cache_gen.go ilm: Make per-tier stats available via admin-tier-info (#13381) 2021-10-23 18:38:33 -07:00
data-usage-cache.go use readConfig/saveConfig to simplify I/O on usage/tracker info (#14019) 2022-01-03 10:22:58 -08:00
data-usage-utils.go ilm: Make per-tier stats available via admin-tier-info (#13381) 2021-10-23 18:38:33 -07:00
data-usage.go use readConfig/saveConfig to simplify I/O on usage/tracker info (#14019) 2022-01-03 10:22:58 -08:00
disk-cache_test.go Avoid cache GC of writebacks before commit syncs (#13860) 2021-12-08 14:52:31 -08:00
disk-cache-backend.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08: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_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
disk-cache-utils.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
disk-cache.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -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_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
dynamic-timeouts.go update license change for MinIO 2021-04-23 11:58:53 -07:00
encryption-v1_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
encryption-v1.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -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
endpoint-ellipses_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
endpoint-ellipses.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
endpoint.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
erasure_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
erasure-bucket.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
erasure-coding.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
erasure-common.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
erasure-decode_test.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
erasure-decode.go fix padding error and compatible with uploaded objects (#13803) 2021-12-03 09:26:30 -08:00
erasure-encode_test.go Fix hanging erasure writes (#12253) 2021-05-17 08:32:28 -07:00
erasure-encode.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -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_test.go heal: isObjectDangling should return false when it cannot decide (#14053) 2022-01-07 19:11:54 -08: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-common.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
erasure-healing.go heal: isObjectDangling should return false when it cannot decide (#14053) 2022-01-07 19:11:54 -08:00
erasure-metadata_test.go re-implement pickValidInfo dataDir, move to quorum calculation (#13681) 2021-11-21 10:41:30 -08:00
erasure-metadata-utils_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
erasure-metadata-utils.go re-implement pickValidInfo dataDir, move to quorum calculation (#13681) 2021-11-21 10:41:30 -08:00
erasure-metadata.go add configurable delta for skipping shards (#13967) 2021-12-22 11:43:01 -08:00
erasure-multipart.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
erasure-object_test.go fix: audit log to support object names in multipleObjectNames() handler (#14017) 2022-01-03 01:28:52 -08:00
erasure-object.go fix: DeleteMultipleObjects to finish even if cancelled + concurrent sets (#14038) 2022-01-06 10:47:49 -08:00
erasure-server-pool.go use readConfig/saveConfig to simplify I/O on usage/tracker info (#14019) 2022-01-03 10:22:58 -08:00
erasure-sets_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
erasure-sets.go fix: DeleteMultipleObjects to finish even if cancelled + concurrent sets (#14038) 2022-01-06 10:47: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 run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
etcd.go etcd: Add logs for unusual failures (#13460) 2021-10-18 08:43:04 -07:00
format_string.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
format-disk-cache_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
format-disk-cache.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
format-erasure_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
format-erasure.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-fs.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
format-meta.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-tree-walk-pool.go update license change for MinIO 2021-04-23 11:58:53 -07:00
fs-v1_test.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-helpers.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-metadata.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08: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-multipart.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-rwpool.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
fs-v1.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
gateway-common_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
gateway-common.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
gateway-env.go update license change for MinIO 2021-04-23 11:58:53 -07:00
gateway-interface.go fix: use madmin.Credentials for gateway interface (#12493) 2021-06-14 12:53:49 -07:00
gateway-main_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
gateway-main.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
gateway-metrics.go update license change for MinIO 2021-04-23 11:58:53 -07:00
gateway-startup-msg_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
gateway-startup-msg.go fix: --console-address when specified endpoints missing (#12534) 2021-06-20 23:04:47 -07:00
gateway-unsupported.go Add support for multi site replication (#12880) 2021-09-18 13:31:35 -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
generic-handlers.go fix: make sure to log panic in handlers (#13611) 2021-11-08 09:28:13 -08:00
global-heal.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
globals.go Add small client TLS PSK cache (#14039) 2022-01-06 11:34:02 -08:00
handler-api.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
handler-utils_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
handler-utils.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
hasher.go update license change for MinIO 2021-04-23 11:58:53 -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 run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
http-tracer_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
http-tracer.go feat: Add RX/TX to audit logging (#13382) 2021-10-07 19:03:46 -07:00
httprange_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
httprange.go update license change for MinIO 2021-04-23 11:58:53 -07: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_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
iam-etcd-store.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
iam-object-store.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
iam-store.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
iam.go Add internal IDP and OIDC users support for site-replication (#14041) 2022-01-06 15:52:43 -08:00
jwt_test.go Reduce JWT overhead for internode tokens (#13738) 2021-11-23 09:51:53 -08:00
jwt.go Reduce JWT overhead for internode tokens (#13738) 2021-11-23 09:51:53 -08:00
last-minute_gen_test.go metrics: Add replication latency metrics (#13515) 2021-11-17 12:10:57 -08:00
last-minute_gen.go metrics: Add replication latency metrics (#13515) 2021-11-17 12:10:57 -08:00
last-minute.go fix; race in bucket replication stats (#13942) 2021-12-17 15:33:13 -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_test.go add missing Copyright header 2021-11-08 09:13:15 -08:00
local-locker.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
lock-rest-client_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
lock-rest-client.go Reduce JWT overhead for internode tokens (#13738) 2021-11-23 09:51:53 -08:00
lock-rest-server_test.go Locker: Improve Refresh speed (#13430) 2021-10-15 03:12:13 -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-common.go internode lockArgs should use messagepack (#13329) 2021-09-30 11:53:01 -07:00
lock-rest-server.go Locker: Improve Refresh speed (#13430) 2021-10-15 03:12:13 -07:00
main.go move the dependency to minio/pkg for common libraries (#12397) 2021-05-28 15:17:01 -07:00
metacache_gen_test.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
metacache_gen.go re-arrange metacache struct to be optimal (#13609) 2021-11-08 10:26:08 -08:00
metacache_test.go Stop async listing earlier (#13160) 2021-09-08 11:06:45 -07:00
metacache-bucket_test.go feat: Implement listing version 3.0 (#12605) 2021-07-05 15:34:41 -07:00
metacache-bucket.go Stop async listing earlier (#13160) 2021-09-08 11:06:45 -07:00
metacache-entries_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
metacache-entries.go fix: do not list delete-marked objects (#13864) 2021-12-08 17:34:52 -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 Check for nil RPC in listing (#13917) 2021-12-15 09:19:11 -08:00
metacache-set.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-stream.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
metacache-walk.go storage: Use request.Form and avoid mux matching (#13858) 2021-12-09 08:38:46 -08:00
metacache.go re-arrange metacache struct to be optimal (#13609) 2021-11-08 10:26:08 -08:00
metrics-router.go add support for customizing redirect_uri for IDP (#12607) 2021-06-30 16:08:20 -07:00
metrics-v2.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
metrics.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
mrf.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
namespace-lock_test.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
namespace-lock.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
naughty-disk_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
net_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
net.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 run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
object_api_suite_test.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
object-api-common.go Add single drive support for directory prefixes in Listing (#13829) 2021-12-03 18:08:40 -08:00
object-api-datatypes.go ilm: Make per-tier stats available via admin-tier-info (#13381) 2021-10-23 18:38:33 -07: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: DeleteMultipleObjects to finish even if cancelled + concurrent sets (#14038) 2022-01-06 10:47: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 run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
object-api-listobjects_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08: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 run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
object-api-putobject_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
object-api-utils_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
object-api-utils.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
object-handlers_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
object-handlers-common_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
object-handlers-common.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
object-handlers.go fix: audit log to support object names in multipleObjectNames() handler (#14017) 2022-01-03 01:28:52 -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_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-readdir-common.go Add option in readDir to enable symlink following of dirs (#12668) 2021-07-09 16:20:51 -07:00
os-reliable_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
os-reliable.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 Add timeinfo to health data (#14013) 2022-01-06 01:51:10 -08:00
peer-rest-common.go fix: totalDrives reported in speedTest for multiple-pools (#13770) 2021-11-29 09:05:46 -08:00
peer-rest-server.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
policy_test.go move to iam, bucket policy from minio/pkg (#12400) 2021-05-29 21:16:42 -07:00
post-policy_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
postpolicyform_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
postpolicyform.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
prepare-storage.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
routers.go reduce number of middleware handlers (#13546) 2021-11-01 08:04:03 -07:00
s3-zip-handlers.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
server_test.go fix: audit log to support object names in multipleObjectNames() handler (#14017) 2022-01-03 01:28:52 -08:00
server-main_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
server-main.go Add small client TLS PSK cache (#14039) 2022-01-06 11:34:02 -08:00
server-rlimit.go fix: remove deprecated LDAP username format support (#13165) 2021-09-08 13:31:51 -07:00
server-startup-msg_test.go fix: simplify APIEndpoints() usage (#12893) 2021-08-05 15:01:19 -07:00
server-startup-msg.go Add new site config sub-system intended to replace region (#13672) 2021-11-25 13:06:25 -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_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
signature-v2.go remove "expires" header from presign v2 as metadata (#13718) 2021-11-22 16:07:23 -08:00
signature-v4_test.go Add new site config sub-system intended to replace region (#13672) 2021-11-25 13:06:25 -08:00
signature-v4-parser_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-utils_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
signature-v4-utils.go return meaningful error for disabled users (#13968) 2021-12-22 11:40:21 -08:00
signature-v4.go Add new site config sub-system intended to replace region (#13672) 2021-11-25 13:06:25 -08:00
site-replication_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
site-replication.go Add internal IDP and OIDC users support for site-replication (#14041) 2022-01-06 15:52:43 -08:00
storage-datatypes_gen_test.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
storage-datatypes_gen.go skip inconsistent shards if possible (#13945) 2021-12-21 10:08:26 -08:00
storage-datatypes_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
storage-datatypes.go skip inconsistent shards if possible (#13945) 2021-12-21 10:08:26 -08: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 run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
storage-rest_test.go add more tests to cover areas for weird object names (#13873) 2021-12-09 17:52:53 -08:00
storage-rest-client.go fix: DeleteMultipleObjects to finish even if cancelled + concurrent sets (#14038) 2022-01-06 10:47:49 -08:00
storage-rest-common.go skip inconsistent shards if possible (#13945) 2021-12-21 10:08:26 -08:00
storage-rest-server.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
storagemetric_string.go Improve listing consistency with version merging (#13723) 2021-12-02 11:29:16 -08:00
streaming-signature-v4_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
streaming-signature-v4.go Add new site config sub-system intended to replace region (#13672) 2021-11-25 13:06:25 -08:00
sts-datatypes.go sts: add support for certificate-based authentication (#12748) 2021-09-07 19:03:48 -07:00
sts-errors.go sts: add support for certificate-based authentication (#12748) 2021-09-07 19:03:48 -07:00
sts-handlers_test.go fix: progagation of service accounts for site replication (#14054) 2022-01-07 17:41:43 -08:00
sts-handlers.go Add internal IDP and OIDC users support for site-replication (#14041) 2022-01-06 15:52:43 -08:00
stserrorcode_string.go sts: add support for certificate-based authentication (#12748) 2021-09-07 19:03:48 -07:00
test-utils_test.go move gofumpt to golang-ci 2022-01-06 13:08:21 -08:00
tier_gen_test.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
tier_gen.go move madmin to github.com/minio/madmin-go (#12239) 2021-05-06 08:52:02 -07:00
tier-handlers.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
tier-journal_gen_test.go [Tiering] Support remote tiers with object versioning (#12342) 2021-06-03 14:26:51 -07:00
tier-journal_gen.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-journal.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08: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 run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
tree-walk_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
tree-walk.go update license change for MinIO 2021-04-23 11:58:53 -07:00
typed-errors.go Add option to policy info API to return create/mod timestamps (#13796) 2021-12-11 09:03:39 -08:00
untar.go snowball: return errors on failures (#13836) 2021-12-06 09:45:23 -08: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 run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
update-notifier_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
update-notifier.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
update.go Add small client TLS PSK cache (#14039) 2022-01-06 11:34:02 -08:00
url_test.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
utils_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
utils.go fix: progagation of service accounts for site replication (#14054) 2022-01-07 17:41:43 -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-s3.go fix: support startAfter with S3 gateway 2021-07-05 18:44:04 -07:00
warm-backend.go fix: backend not reachable should be more descriptive (#13634) 2021-11-10 22:33:17 -08: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 run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08: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
xl-storage-disk-id-check.go Improve listing consistency with version merging (#13723) 2021-12-02 11:29:16 -08:00
xl-storage-errors_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00
xl-storage-errors.go Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
xl-storage-format_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -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-utils.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08: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-v1_gen.go Inspect: Preserve permission flags (#13490) 2021-10-21 11:20:13 -07:00
xl-storage-format-v1.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -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_gen.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 run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
xl-storage-format-v2-legacy.go Improve performance on multiple versions (#13573) 2021-11-18 12:15:22 -08:00
xl-storage-format-v2.go heal: isObjectDangling should return false when it cannot decide (#14053) 2022-01-07 19:11:54 -08:00
xl-storage-free-version_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
xl-storage-free-version.go Improve performance on multiple versions (#13573) 2021-11-18 12:15:22 -08:00
xl-storage-meta-inline.go Improve performance on multiple versions (#13573) 2021-11-18 12:15:22 -08:00
xl-storage.go fix: DeleteMultipleObjects to finish even if cancelled + concurrent sets (#14038) 2022-01-06 10:47:49 -08:00