Klaus Post
e65ed2e44f
listcache: Add path index ( #11063 )
...
Add a root path index.
```
Before:
Benchmark_bucketMetacache_findCache-32 10000 730737 ns/op
With excluded prints:
Benchmark_bucketMetacache_findCache-32 10000 207100 ns/op
With the root path:
Benchmark_bucketMetacache_findCache-32 705765 1943 ns/op
```
Benchmark used (not linear):
```Go
func Benchmark_bucketMetacache_findCache(b *testing.B) {
bm := newBucketMetacache("", false)
for i := 0; i < b.N; i++ {
bm.findCache(listPathOptions{
ID: mustGetUUID(),
Bucket: "",
BaseDir: "prefix/" + mustGetUUID(),
Prefix: "",
FilterPrefix: "",
Marker: "",
Limit: 0,
AskDisks: 0,
Recursive: false,
Separator: slashSeparator,
Create: true,
CurrentCycle: 0,
OldestCycle: 0,
})
}
}
```
Replaces #11058
4 years ago
Anis Elleuch
d90044b847
federation: Redirect Lifecycle PUT request by bucket name ( #11062 )
...
The bucket forwarder handler considers MakeBucket to be always local but
it mistakenly thinks that PUT bucket lifecycle to be a MakeBucket call.
Fix the check of the MakeBucket call by ensuring that the query is empty
in the PUT url.
4 years ago
Harshavardhana
d8c1f93de6
reject mixed drive situations with drives on root disks ( #11057 )
...
till now we used to match the inode number of the root
drive and the drive path minio would use, if they match
we knew that its a root disk.
this may not be true in all situations such as running
inside a container environment where the container might
be mounted from a different partition altogether, root
disk detection might fail.
4 years ago
Nitish Tiwari
54d243cd98
fix: grafana dashboard calculating online nodes ( #11041 )
...
Also use a generic name instead of diff names per revision
4 years ago
Harshavardhana
d74e4642e3
avoid updating nsswitch.conf for redhat UBI images ( #11056 )
4 years ago
Anis Elleuch
a51488cbaa
s3: Fix reading GET with partNumber specified ( #11032 )
...
partNumber was miscalculting the start and end of parts when partNumber
query is specified in the GET request. This commit fixes it and also
fixes the ContentRange header in that case.
4 years ago
Ritesh H Shukla
04848dfa1c
Add documentation for bucket replication related metrics ( #11055 )
4 years ago
Nitish Tiwari
78d18d8fc8
Remove alpine based image in favour or RedHat UBI ( #11006 )
4 years ago
Harshavardhana
dc819afa44
fix: auto update crawler meta version
...
PR 038bcd9079
introduced
version '3', we need to make sure that we do not
print an unexpected error instead log a message to
indicate we will auto update the version.
4 years ago
Harshavardhana
4a564336fe
Revert "Add metrics for nodes online and offline ( #11050 )"
...
This reverts commit f60bbdf86b
.
4 years ago
Anis Elleuch
6b7ced80fe
make: Add hotfix target to generate hotfix binaries ( #11053 )
...
hotfix target will fetch the release tag prior to the latest commit and create a binary
with the same release tag plus '.hotfix' suffix
e.g. RELEASE.2020-12-03T05-49-24Z.hotfix
4 years ago
Ritesh H Shukla
f60bbdf86b
Add metrics for nodes online and offline ( #11050 )
4 years ago
Harshavardhana
8c79f87f02
add dynamic config docs ( #11048 )
...
Co-authored-by: Eco <41090896+eco-minio@users.noreply.github.com>
4 years ago
Poorna Krishnamoorthy
f3beb1236a
Add cache usage, total capacity to prometheus metrics ( #11026 )
4 years ago
Poorna Krishnamoorthy
934bed47fa
Add transition event notification ( #11047 )
...
This is a MinIO specific extension to allow monitoring of transition events.
4 years ago
Ritesh H Shukla
038bcd9079
Add replication capacity metrics support in crawler ( #10786 )
4 years ago
Justin Page
6d70f6a4ac
fix: README with missing word ( #11035 )
...
Include "to" for clarity.
4 years ago
Harshavardhana
ce93b2681b
fix: re-use er.getDisks() properly in certain calls ( #11043 )
4 years ago
Harshavardhana
8d036ed6d8
fix: allow sub-admin to modify password for other users ( #11039 )
...
fixes #11037
4 years ago
Harshavardhana
9c53cc1b83
fix: heal multiple buckets in bulk ( #11029 )
...
makes server startup, orders of magnitude
faster with large number of buckets
4 years ago
Harshavardhana
3514e89eb3
support envs as well for new crawler sub-system ( #11033 )
4 years ago
Nitish Tiwari
6ff12f5f01
Add the dashboard json file ( #11028 )
...
This will allow users to contribute to the dashboard as needed.
4 years ago
Harshavardhana
ee2a436a5b
fix: release locks if the client timedout ( #11030 )
...
situations where client indeed timedout there was
a potential to falsely think that lock is still
active.
4 years ago
Klaus Post
a896125490
Add crawler delay config + dynamic config values ( #11018 )
4 years ago
Harshavardhana
e083471ec4
use argon2 with sync.Pool for better memory management ( #11019 )
4 years ago
Nitish Tiwari
de9b64834e
fix: update grafana dashboard docs ( #11023 )
...
Refer to the official Grafana dashboard
4 years ago
Harshavardhana
919441d9c4
update gocredits with new updated dependencies
4 years ago
Harshavardhana
80d31113e5
fix: etcd import paths again depend on v3.4.14 release ( #11020 )
...
Due to botched upstream renames of project repositories
and incomplete migration to go.mod support, our current
dependency version of `go.mod` had bugs i.e it was
using commits from master branch which didn't have
the required fixes present in release-3.4 branches
which leads to some rare bugs
https://github.com/etcd-io/etcd/pull/11477 provides
a workaround for now and we should migrate to this.
release-3.5 eventually claims to fix all of this
properly until then we cannot use /v3 import right now
4 years ago
Ritesh H Shukla
7e2b79984e
Stream bucket bandwidth measurements ( #11014 )
4 years ago
Minio Trusted
d54cf77356
Update yaml files to latest version RELEASE.2020-12-03T05-49-24Z
4 years ago
Harshavardhana
951b6b203b
skip metacache entries healing to speed up startup
4 years ago
Harshavardhana
44e23b7f4f
fix: startup being slow - wait only if IOCount > 0
4 years ago
Harshavardhana
c22a387695
fix: building docker images
4 years ago
Minio Trusted
1ab4d6a6aa
Update yaml files to latest version RELEASE.2020-12-03T00-03-10Z
4 years ago
Harshavardhana
96c0ce1f0c
add support for tuning healing to make healing more aggressive ( #11003 )
...
supports `mc admin config set <alias> heal sleep=100ms` to
enable more aggressive healing under certain times.
also optimize some areas that were doing extra checks than
necessary when bitrotscan was enabled, avoid double sleeps
make healing more predictable.
fixes #10497
4 years ago
Anis Elleuch
fe11e9047d
deprecate CommonName from TLS docs ( #11017 )
...
CommonName is not supported anymore in Go 1.15
fix the TLS documentation to use subjAltNames
4 years ago
Harshavardhana
ce0e17b62b
fix: load certs on windows from registry ( #11016 )
...
fixes #11007
4 years ago
ebozduman
303be1866d
Adds "x-amz-usr-agent" and "x-id" params to be used in authentication of presignedURL ( #10792 )
4 years ago
Harshavardhana
a6113b2315
update minio-go version v7.0.6 ( #11012 )
4 years ago
Sudarshan (Sid)
3ca046b408
Added set keyword in the command set to enable encryption on buckets ( #11010 )
4 years ago
Harshavardhana
4ec45753e6
rename server sets to server pools
4 years ago
Klaus Post
e6ea5c2703
crawler: Missing folder heal check per set ( #10876 )
4 years ago
Harshavardhana
790833f3b2
Revert "Support variable server sets ( #10314 )"
...
This reverts commit aabf053d2f
.
4 years ago
Klaus Post
02aecb2fc1
select: Check if CSV is valid utf8 ( #10991 )
...
Check if first block of data is valid utf8.
Fixes #10970
4 years ago
Harshavardhana
7cbca43eb1
fix: allow admins to create users ( #11005 )
...
PR #10978 introduced a regression, root
credential should be allowed to create users
4 years ago
Poorna Krishnamoorthy
2f564437ae
Disallow writeback caching with cache_after ( #11002 )
...
fixes #10974
4 years ago
Harshavardhana
ae4ded7fd1
fix: s3select tests with new minio-py SDK ( #10995 )
4 years ago
Harshavardhana
bdd094bc39
fix: avoid sending errors on missing objects on locked buckets ( #10994 )
...
make sure multi-object delete returned errors that are AWS S3 compatible
4 years ago
Harshavardhana
e6fa410778
fix: allow accountInfo, addUser and getUserInfo implicit ( #10978 )
...
- accountInfo API that returns information about
user, access to buckets and the size per bucket
- addUser - user is allowed to change their secretKey
- getUserInfo - returns user info if the incoming
is the same user requesting their information
4 years ago
Harshavardhana
350c5ff8f8
fix: update RPM spec using rpmbuild ( #10979 )
...
To test this PR
> rpmbuild --undefine=_disable_source_fetch -ba minio.spec
4 years ago