1
0
mirror of https://github.com/minio/minio.git synced 2025-03-22 21:44:15 -04:00

22 Commits

Author SHA1 Message Date
Aditya Manthramurthy
1c99fb106c
Update to minio/pkg/v2 () 2023-09-04 12:57:37 -07:00
Harshavardhana
73edd5b8fd
introduce 'mc admin config set alias/ api odirect=on' ()
change disable_odirect=off -> odirect=on to make it
easier to understand, instead of making it double
negative.
2023-07-31 00:12:53 -07:00
Harshavardhana
f13cfcb83e
allow disabling O_DIRECT for write ops ()
on really slow systems, O_DIRECT simply kills the drives
allow for a way to disable them.
2023-07-29 15:17:56 -07:00
jiuker
d118031ed6
fix: when Origin: null is set return back '*' for allow origins () 2023-07-15 12:15:06 -07:00
Harshavardhana
74759b05a5
make sure to set relevant config entries correctly ()
Bonus: also allow skipping keys properly.
2023-06-22 10:04:02 -07:00
Praveen raj Mani
7c72b25ef0
Add an option to make bucket notifications synchronous ()
With the current asynchronous behaviour in sending notification events
to the targets, we can't provide guaranteed delivery as the systems
might go for restarts.

For such event-driven use-cases, we can provide an option to enable
synchronous events where the APIs wait until the event is successfully
sent or persisted.

This commit adds 'MINIO_API_SYNC_EVENTS' env which when set to 'on'
will enable sending/persisting events to targets synchronously.
2023-06-20 17:38:59 -07:00
Harshavardhana
b829e80ecb
do not disable root for invalid API config values () 2023-06-08 15:50:06 -07:00
Harshavardhana
7ae69accc0
allow root user to be disabled via config settings () 2023-04-28 12:24:14 -07:00
Harshavardhana
0ff931dc76
fix: allow CORS to work by default () 2023-02-27 10:10:45 -08:00
Poorna
8ea6fb368d
Add auto configuration of replication workers () 2022-09-24 16:20:28 -07:00
Sidhartha Mani
fe1fbe0005
standardize config help defaults () 2022-04-26 20:11:37 -07:00
Harshavardhana
5cfedcfe33
askDisks for strict quorum to be equal to read quorum () 2022-03-25 16:29:45 -07:00
Shireesh Anjal
c1437c7b46
allow config reset api to work by overloading default values ()
The `LookupConfig` code was not using `GetWithDefault`, because of which
some of the config values were being returned as empty string, and calls
like `strconv.Atoi` and `time.ParseDuration` on these were failing.
2022-02-21 15:50:45 -08:00
Klaus Post
5ec57a9533
Add GetObject gzip option ()
Enabled with `mc admin config set alias/ api gzip_objects=on`

Standard filtering applies (1K response minimum, not compressed content 
type, not range request, gzip accepted by client).
2022-02-14 09:19:01 -08:00
Harshavardhana
70e1cbda21
allow disabling O_DIRECT in certain environments for reads ()
repeated reads on single large objects in HPC like
workloads, need the following option to disable
O_DIRECT for a more effective usage of the kernel
page-cache.

However this optional should be used in very specific
situations only, and shouldn't be enabled on all
servers.

NVMe servers benefit always from keeping O_DIRECT on.
2022-01-17 08:34:14 -08:00
David Regla
a188554fe1
Add missing keys to API config help ()
Added missing `apiClusterDeadline` and `apiListQuorum` to API config.HelpKVS structure
2021-10-10 09:52:21 -07:00
Harshavardhana
60f961dfe8
allow disabling strict sha256 validation with some broken clients ()
with some broken clients allow non-strict validation
of sha256 when ContentLength > 0, it has been found in
the wild some applications that need this behavior. This
shall be only allowed if `--no-compat` is used.
2021-10-08 12:40:34 -07:00
Harshavardhana
fabf60bc4c
fix: allow configuring cleanup of stale multipart uploads ()
allow dynamically changing cleanup of stale multipart
uploads, their expiry and how frequently its checked.

Improves 
2021-10-04 10:52:28 -07:00
Harshavardhana
495c55e6a5
fix: make sure to delete dangling objects during heal ()
heal with --remove was not removing dangling versions
on versioned buckets, this PR fixes this properly.

this is a regression introduced in PR 
2021-09-02 17:45:30 -07:00
Krishnan Parthasarathi
65b6f4aa31
Add dynamic reconfiguration of number of transition workers () 2021-08-11 22:23:56 -07:00
Klaus Post
05aebc52c2
feat: Implement listing version 3.0 ()
Co-authored-by: Harshavardhana <harsha@minio.io>
2021-07-05 15:34:41 -07:00
Harshavardhana
1f262daf6f
rename all remaining packages to internal/ ()
This is to ensure that there are no projects
that try to import `minio/minio/pkg` into
their own repo. Any such common packages should
go to `https://github.com/minio/pkg`
2021-06-01 14:59:40 -07:00