Harshavardhana
97856bfebf
fix: grafana double counting for bucket usage, histrogram and objects ( #11070 )
2020-12-09 20:30:37 -08:00
Harshavardhana
a60a0e52bb
ubi-minimal doesn't support arm32, remove from build manifest
2020-12-09 18:56:11 -08:00
Minio Trusted
83a67a1d21
Update yaml files to latest version RELEASE.2020-12-10T01-54-29Z
2020-12-10 02:12:01 +00:00
Harshavardhana
12391ec4ba
update nats.io/jwt dependency ( #11066 )
...
primarily for a vulnerability report https://nvd.nist.gov/vuln/detail/CVE-2020-26521
2020-12-09 14:30:35 -08:00
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
2020-12-09 08:37:43 -08:00
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.
2020-12-09 07:25:26 -08:00
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.
2020-12-09 00:27:02 -08:00
Nitish Tiwari
54d243cd98
fix: grafana dashboard calculating online nodes ( #11041 )
...
Also use a generic name instead of diff names per revision
2020-12-09 00:26:42 -08:00
Harshavardhana
d74e4642e3
avoid updating nsswitch.conf for redhat UBI images ( #11056 )
2020-12-08 14:28:12 -08:00
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.
2020-12-08 13:12:42 -08:00
Ritesh H Shukla
04848dfa1c
Add documentation for bucket replication related metrics ( #11055 )
2020-12-08 12:48:10 -08:00
Nitish Tiwari
78d18d8fc8
Remove alpine based image in favour or RedHat UBI ( #11006 )
2020-12-08 11:14:06 -08:00
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.
2020-12-08 10:40:51 -08:00
Harshavardhana
4a564336fe
Revert "Add metrics for nodes online and offline ( #11050 )"
...
This reverts commit f60bbdf86b
.
2020-12-08 09:23:35 -08:00
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
2020-12-08 08:12:13 -08:00
Ritesh H Shukla
f60bbdf86b
Add metrics for nodes online and offline ( #11050 )
2020-12-08 01:06:27 -08:00
Harshavardhana
8c79f87f02
add dynamic config docs ( #11048 )
...
Co-authored-by: Eco <41090896+eco-minio@users.noreply.github.com>
2020-12-07 19:02:20 -08:00
Poorna Krishnamoorthy
f3beb1236a
Add cache usage, total capacity to prometheus metrics ( #11026 )
2020-12-07 16:35:11 -08:00
Poorna Krishnamoorthy
934bed47fa
Add transition event notification ( #11047 )
...
This is a MinIO specific extension to allow monitoring of transition events.
2020-12-07 13:53:28 -08:00
Ritesh H Shukla
038bcd9079
Add replication capacity metrics support in crawler ( #10786 )
2020-12-07 13:47:48 -08:00
Justin Page
6d70f6a4ac
fix: README with missing word ( #11035 )
...
Include "to" for clarity.
2020-12-07 11:11:58 -08:00
Harshavardhana
ce93b2681b
fix: re-use er.getDisks() properly in certain calls ( #11043 )
2020-12-07 10:04:07 -08:00
Harshavardhana
8d036ed6d8
fix: allow sub-admin to modify password for other users ( #11039 )
...
fixes #11037
2020-12-06 20:36:34 -08:00
Harshavardhana
9c53cc1b83
fix: heal multiple buckets in bulk ( #11029 )
...
makes server startup, orders of magnitude
faster with large number of buckets
2020-12-05 13:00:44 -08:00
Harshavardhana
3514e89eb3
support envs as well for new crawler sub-system ( #11033 )
2020-12-04 21:54:24 -08:00
Nitish Tiwari
6ff12f5f01
Add the dashboard json file ( #11028 )
...
This will allow users to contribute to the dashboard as needed.
2020-12-04 16:27:41 -08:00
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.
2020-12-04 11:33:56 -08:00
Klaus Post
a896125490
Add crawler delay config + dynamic config values ( #11018 )
2020-12-04 09:32:35 -08:00
Harshavardhana
e083471ec4
use argon2 with sync.Pool for better memory management ( #11019 )
2020-12-03 19:23:19 -08:00
Nitish Tiwari
de9b64834e
fix: update grafana dashboard docs ( #11023 )
...
Refer to the official Grafana dashboard
2020-12-03 15:56:15 -08:00
Harshavardhana
919441d9c4
update gocredits with new updated dependencies
2020-12-03 11:39:10 -08:00
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
2020-12-03 11:35:18 -08:00
Ritesh H Shukla
7e2b79984e
Stream bucket bandwidth measurements ( #11014 )
2020-12-03 11:34:42 -08:00
Minio Trusted
d54cf77356
Update yaml files to latest version RELEASE.2020-12-03T05-49-24Z
2020-12-03 06:05:56 +00:00
Harshavardhana
951b6b203b
skip metacache entries healing to speed up startup
2020-12-02 21:30:54 -08:00
Harshavardhana
44e23b7f4f
fix: startup being slow - wait only if IOCount > 0
2020-12-02 21:06:17 -08:00
Harshavardhana
c22a387695
fix: building docker images
2020-12-02 17:34:42 -08:00
Minio Trusted
1ab4d6a6aa
Update yaml files to latest version RELEASE.2020-12-03T00-03-10Z
2020-12-03 00:24:16 +00:00
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
2020-12-02 11:12:00 -08:00
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
2020-12-02 10:18:39 -08:00
Harshavardhana
ce0e17b62b
fix: load certs on windows from registry ( #11016 )
...
fixes #11007
2020-12-02 02:23:51 -08:00
ebozduman
303be1866d
Adds "x-amz-usr-agent" and "x-id" params to be used in authentication of presignedURL ( #10792 )
2020-12-02 02:02:49 -08:00
Harshavardhana
a6113b2315
update minio-go version v7.0.6 ( #11012 )
2020-12-01 19:15:38 -08:00
Sudarshan (Sid)
3ca046b408
Added set keyword in the command set to enable encryption on buckets ( #11010 )
2020-12-01 16:00:49 -08:00
Harshavardhana
4ec45753e6
rename server sets to server pools
2020-12-01 13:50:33 -08:00
Klaus Post
e6ea5c2703
crawler: Missing folder heal check per set ( #10876 )
2020-12-01 12:07:39 -08:00
Harshavardhana
790833f3b2
Revert "Support variable server sets ( #10314 )"
...
This reverts commit aabf053d2f
.
2020-12-01 12:02:29 -08:00
Klaus Post
02aecb2fc1
select: Check if CSV is valid utf8 ( #10991 )
...
Check if first block of data is valid utf8.
Fixes #10970
2020-12-01 09:09:06 -08:00
Harshavardhana
7cbca43eb1
fix: allow admins to create users ( #11005 )
...
PR #10978 introduced a regression, root
credential should be allowed to create users
2020-11-30 21:53:23 -08:00
Poorna Krishnamoorthy
2f564437ae
Disallow writeback caching with cache_after ( #11002 )
...
fixes #10974
2020-11-30 20:53:27 -08:00