Harshavardhana
53aa8f5650
use typos instead of codespell ( #19088 )
1 year ago
Harshavardhana
b6e98aed01
fix: found races in accessing globalLocalDrives ( #19069 )
make a copy before accessing globalLocalDrives
Bonus: update console v0.46.0
Signed-off-by: Harshavardhana <harsha@minio.io>
1 year ago
Harshavardhana
630963fa6b
protect tracker copy properly to avoid race ( #18984 )
```
WARNING: DATA RACE
Write at 0x00c000aac1e0 by goroutine 1133:
github.com/minio/minio/cmd.(*healingTracker).updateProgress()
github.com/minio/minio/cmd/background-newdisks-heal-ops.go:183 +0x117
github.com/minio/minio/cmd.(*erasureObjects).healErasureSet.func5()
github.com/minio/minio/cmd/global-heal.go:292 +0x1d3
Previous read at 0x00c000aac1e0 by goroutine 1003:
github.com/minio/minio/cmd.(*allHealState).updateHealStatus()
github.com/minio/minio/cmd/admin-heal-ops.go:136 +0xcb
github.com/minio/minio/cmd.(*healingTracker).save()
github.com/minio/minio/cmd/background-newdisks-heal-ops.go:223 +0x424
```
1 year ago
Harshavardhana
dd2542e96c
add codespell action ( #18818 )
Original work here, #18474 , refixed and updated.
2 years ago
Daniel Valdivia
82a6ad2c10
Workflow to add issues to Tracking project ( #18771 )
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
2 years ago
Harshavardhana
f4710948c4
fix: an odd crash when deleting `null` DEL markers ( #18727 )
fixes #18724
A regression was introduced in #18547 , that attempted
to file adding a missing `null` marker however we
should not skip returning based on versionID instead
it must be based on if we are being asked to create
a DEL marker or not.
The PR also has a side-affect for replicating `null`
marker permanent delete, as it may end up adding a
`null` marker while removing one.
This PR should address both scenarios.
2 years ago
Anis Eleuch
6f97663174
yml-config: Add support of rootUser and rootPassword ( #18615 )
Users can define the root user and password in the yaml configuration
file; Root credentials defined in the environment variable still take
precedence
2 years ago
Harshavardhana
73dde66dbe
stick to go1.19 go.mod ( #18600 )
2 years ago
Harshavardhana
a4cfb5e1ed
return errors if dataDir is missing during HeadObject() ( #18477 )
Bonus: allow replication to attempt Deletes/Puts when
the remote returns quorum errors of some kind, this is
to ensure that MinIO can rewrite the namespace with the
latest version that exists on the source.
2 years ago
Sveinn
a3c2f7b0e8
small fix for the PR template ( #18443 )
2 years ago
Krishnan Parthasarathi
0a25083fdb
Tiered objects require ns locks unlike inlined ( #18409 )
2 years ago
Harshavardhana
3c2e1a87e2
fix: support dropping privileges with arbitrary users ( #18386 )
fixes #18380
2 years ago
Klaus Post
763ff085a6
Add CI tests for next branch ( #18224 )
2 years ago
Harshavardhana
6829ae5b13
completely remove drive caching layer from gateway days ( #18217 )
This has already been deprecated for close to a year now.
2 years ago
Harshavardhana
db3a9a5990
update missing mc command on multipart-tests
2 years ago
Harshavardhana
c50627ee3e
Add tests for multipart upload overwrites on versioned buckets ( #18142 )
2 years ago
Harshavardhana
ca6dd8be5e
use go1.21.1 for vulncheck
2 years ago
Harshavardhana
97f4cf48f8
update wording on PR template
2 years ago
Harshavardhana
6c59b33fb1
add community contribution credits and update PR template ( #17840 )
2 years ago
Harshavardhana
49c8e16410
update CI/CD to go1.21 ( #17828 )
2 years ago
Harshavardhana
4a4950fe41
fix: honor requested allow origin settings properly ( #17789 )
fixes #17778
2 years ago
Harshavardhana
e12ab486a2
avoid using os.Getenv for internal code, use env.Get() instead ( #17688 )
2 years ago
Harshavardhana
3e196fa7b3
fix: ILM newer noncurrent version limit must return correct versions ( #17652 )
objects/versions that are not expired via NewerNoncurrentVersions
must be properly returned to be applied under further ILM actions.
this would cause legitimately expired objects to be missed
from expiration.
2 years ago
Harshavardhana
a566bcf613
treat 0-byte objects to honor same quorum as delete marker ( #17633 )
on unversioned buckets its possible that 0-byte objects
might lose quorum on flaky systems, allow them to be same
as DELETE markers. Since practically speak they have no
content.
2 years ago
Harshavardhana
82075e8e3a
use strconv variants to improve on performance per 'op' ( #17626 )
```
BenchmarkItoa
BenchmarkItoa-8 673628088 1.946 ns/op 0 B/op 0 allocs/op
BenchmarkFormatInt
BenchmarkFormatInt-8 592919769 2.012 ns/op 0 B/op 0 allocs/op
BenchmarkSprint
BenchmarkSprint-8 26149144 49.06 ns/op 2 B/op 1 allocs/op
BenchmarkSprintBool
BenchmarkSprintBool-8 26440180 45.92 ns/op 4 B/op 1 allocs/op
BenchmarkFormatBool
BenchmarkFormatBool-8 1000000000 0.2558 ns/op 0 B/op 0 allocs/op
```
2 years ago
Harshavardhana
8522905d97
update helm linting workflow
2 years ago
Ian Martin
90c2129f44
Add helm chart linting to CI workflow ( #17606 )
2 years ago
Anis Eleuch
66bea3942a
CI/CD to stop one node per pool in the two pools mint test ( #17518 )
This is to make sure that all S3 ops work when there is enough quorum
2 years ago
Harshavardhana
6b7c98bd0f
make sure we pick up the right Go version in vulncheck ( #17388 )
2 years ago
Harshavardhana
75c6fc4f02
only allow decryption of etag for only sse-s3 ( #17335 )
2 years ago
Harshavardhana
4a425cbac1
cleanup scripts and apply shfmt ( #17284 )
2 years ago
Harshavardhana
876f51a708
remove minio-js from mint tests until next minio-js release
2 years ago
Harshavardhana
06557fe8be
allow decommissioned pools to be removed while others are finishing ( #17221 )
2 years ago
Harshavardhana
b53376a3a4
change directory objects to never create new versions ( #17109 )
2 years ago
Harshavardhana
7ae69accc0
allow root user to be disabled via config settings ( #17089 )
2 years ago
Klaus Post
62c3df0ca3
fix: directory listing on Go 1.20 windows ( #16976 )
2 years ago
Klaus Post
ae011663e8
mint: Ignore teardown errors ( #16979 )
2 years ago
Harshavardhana
f65cce4317
move mint tests to separate folders to not confuse GitHub ( #16940 )
2 years ago
Harshavardhana
13151cbb2b
[testing] add mint runner test ( #16868 )
2 years ago
Aditya Manthramurthy
c95ede35c1
Switch windows CI back to go 1.19.x ( #16755 )
2 years ago
Aditya Manthramurthy
7415e1aa56
Switch to go1.20 in CI ( #16743 )
2 years ago
Cesar Celis Hernandez
422c396d73
Removing old action that is no longer needed ( #16550 )
3 years ago
Cesar Celis Hernandez
8ca14e6267
Updating enterprise action ( #16518 )
3 years ago
Alex
1a17fc17bb
GitHub Workflows security hardening ( #15708 )
3 years ago
Harshavardhana
75faef888e
disable builds for go1.18 ( #16332 )
3 years ago
Harshavardhana
dfe73629a3
fix: delete marker discrepancies via DeleteObject() API ( #16195 )
3 years ago
Anis Elleuch
52f4124678
Remove go1.18 from Github workflow tests ( #16180 )
3 years ago
Cesar Celis Hernandez
90e37a8745
Start PR on Enterprise when there is new MinIO Version ( #16121 )
3 years ago
yanggang
d2c9a9e395
add windows port allot by "netsh dynamicport" ( #15986 )
3 years ago
Harshavardhana
07b6dce1a5
remove nancy, we rely on vulncheck from now on ( #15893 )
3 years ago