Krishna Srinivas
ef791764e0
Do no access nsLockMap.lockMap when using dsync ( #7464 )
...
There is no need to access nsLockMap.lockMap when using dsync
6 years ago
Anis Elleuch
53011606a5
Show 401 unauthorized msg when nodes are started with different creds ( #7433 )
...
Before this commit, nodes wait indefinitely without showing any
indicate error message when a node is started with different access
and secret keys.
This PR will show '401 Unauthorized' in this case.
6 years ago
Krishnan Parthasarathi
93a9078b23
Assign deploymentID for first minio server in distributed setup ( #7427 )
...
- Pass local endpoints to functions fixing formatXL during startup
6 years ago
Ashish Kumar Sinha
a4bdcba503
Add check for extra input field ( #7437 )
...
fixes #6559
6 years ago
poornas
023866642c
canonicalize ETag correctly ( #7442 )
...
Fixes #7441
Trim extra quotes prefixing/suffixing ETag in
CompleteMultipartUpload request.
6 years ago
Harshavardhana
619611933a
Remove policy nesting errors ( #7449 )
...
Policy nesting has been supported for a while
now, we should remove references of code and
docs indicating nesting is not allowed anymore.
6 years ago
poornas
dd1d69ab5c
fix mysql config for native password authentication ( #7436 )
...
fixes #7430
6 years ago
Harshavardhana
16ba679103
Fix markdown table formatting ( #7435 )
6 years ago
Anis Elleuch
e13c99ed82
Makefile: Fix getting misspell code when already installed ( #7434 )
...
Grouping misspell installation code so it won't executed when
misspell is found in the current system.
6 years ago
Minio Trusted
8cf707779c
Update yaml files to latest version RELEASE.2019-03-27T22-35-21Z
6 years ago
Harshavardhana
6df05e489d
Set Read/Write timeouts only for net.Conn not http.Server ( #7431 )
...
Fixes #7425
6 years ago
Harshavardhana
4a698c731b
HealObjects should remove objects without quorum ( #7407 )
...
This PR adds a way to list objects without quorum
such that they can purged by `mc admin heal --remove`
6 years ago
Harshavardhana
9629de8230
Add proper context based logging when bitrot stream calls fail ( #7415 )
6 years ago
Harshavardhana
0250f7de67
Cleanup stale multipart uploads older than 3 days ( #7424 )
...
Fixes #6627
6 years ago
kannappanr
7154b8a568
Error log: Correct error type in anonymous mode ( #7414 )
...
Currently message is set to error type value.
Message field is not used in error logs. it is used only in the case of info logs.
This PR sets error message field to store error type correctly.
6 years ago
Anis Elleuch
8689ec258b
Don't decrypt ETag in validation when source is SSEC multipart ( #7423 )
...
Copying an encrypted SSEC object when this latter is uploaded using
multipart mechanism was failing because ETag in case of encrypted
multipart upload is not encrypted.
This PR fixes the behavior.
6 years ago
Krishnan Parthasarathi
aac9e2a7dd
Return deploymentID in ServerInfo REST call ( #7422 )
...
Makes deploymentID information uniform in distributed setup
6 years ago
Harshavardhana
719d21efd8
Generate coverage across all sub-dirs ( #7416 )
6 years ago
Harshavardhana
e0a87e96de
Populate host value from GetSourceIP directly ( #7417 )
6 years ago
Harshavardhana
0a44e70177
Change findEndpoint to return errors for Scanlines ( #7390 )
6 years ago
Rushan
22b4fe0a51
Update browser UI with new logo and colors ( #7408 )
6 years ago
Praveen raj Mani
89e45d0695
Restart process should use the current process' pid ( #7373 )
...
This fixes varying pids for server-respawns. And avoids duplicate process
creating multiple pids when the server restart signal is triggered with
service restart enabled.
Fixes #7350
6 years ago
poornas
8e1e701d35
Azure:ETag returned by ListObjects to be consistent with GetObjectInfo ( #7301 )
6 years ago
kannappanr
87cf51d5ab
unused code: Remove LoadCredentials function ( #7369 )
...
It is required to set the environment variable in the case of distributed
minio. LoadCredentials is used to notify peers of the change and will not work if
environment variable is set. so, this function will never be called.
6 years ago
Minio Trusted
8af45f0135
Update yaml files to latest version RELEASE.2019-03-20T22-38-47Z
6 years ago
Harshavardhana
a9032b52b8
Change storageRESTTimeout to 1minute ( #7398 )
6 years ago
Harshavardhana
c184038b6a
Add proper custom errors object creations ( #7387 )
...
In scenario 1
```
- bucket/object-prefix
- bucket/object-prefix/object
```
Server responds with `XMinioParentIsObject`
In scenario 2
```
- bucket/object-prefix/object
- bucket/object-prefix
```
Server responds with `XMinioObjectExistsAsDirectory`
Fixes #6566
6 years ago
poornas
12b79d9f3b
Remove duplicate error in switch case. ( #7381 )
...
Fixes : #7380
crypto.ErrInvalidCustomerKey was being handled twice in toAPIErrorCode()
6 years ago
Sidhartha Mani
6bc0de2a75
add go modules file and start running go 1.11 style builds ( #7354 )
6 years ago
Krishnan Parthasarathi
8a77a298f2
Add deploymentID to ServerInfo ( #7372 )
6 years ago
Harshavardhana
328eb74cbb
Fix regression in peer clients in TLS setups ( #7391 )
...
Regression was introduced in eb69c4f946
6 years ago
zy
73be3ed0ca
format import style ( #7383 )
6 years ago
Kirill Motkov
3d29ab4059
Rewrite if-else chains to switch statements ( #7382 )
6 years ago
Harshavardhana
6702d23d52
Simplify ReadFileStream closer, make sure to flush all HTTP responses ( #7374 )
6 years ago
poornas
1011d21416
Fix credential parsing in signature v4 ( #7377 )
...
Fixes #7376
6 years ago
Kirill Motkov
85c5acc088
fix staticcheck warning ( #7378 )
6 years ago
kannappanr
eb69c4f946
Use REST api for inter node communication ( #7205 )
6 years ago
Anis Elleuch
facbd653ba
Add normal/deep type of heal scanning ( #7251 )
...
Healing scan used to read all objects parts to check for bitrot
checksum. This commit will add a quicker way of healing scan
by only checking if parts are actually present in disks or not.
6 years ago
Harshavardhana
233824bf92
Configure http2 with higher maxconcurrent streams ( #7363 )
...
This value is needed for Minio's internode communication,
read the meaning of this value as per the HTTP 2.0 spec
https://http2.github.io/http2-spec/#rfc.section.5.1.2
6 years ago
poornas
a0ee7be050
update link on README ( #7361 )
6 years ago
Harshavardhana
91d85a0d53
Fix stale locks held by SelectParquet API ( #7364 )
...
Vendorize upstream parquet-go to fix this issue.
6 years ago
Harshavardhana
7079abc931
Implement HealObjects API to simplify healing ( #7351 )
6 years ago
Minio Trusted
8377d00574
Update yaml files to latest version RELEASE.2019-03-13T21-59-47Z
6 years ago
Harshavardhana
285c09fe6b
Support buckets with '.' with etcd+coreDNS ( #7353 )
...
Fixes #7340
6 years ago
kannappanr
ce4563370c
Distributed: Allow healing if all disks are on root partitions ( #7358 )
...
If all the disks are on root partitions in distributed mode, consider it
to be a test setup and allow healing to proceed.
Fixes #7346
6 years ago
Aditya Manthramurthy
e463386921
Add JSON Path expression evaluation support ( #7315 )
...
- Includes support for FROM clause JSON path
6 years ago
Aditya Manthramurthy
b296b3cf8b
Skip non-bucket dns entry in federated bucket list ( #7339 )
6 years ago
Harshavardhana
0b96ad4fdc
http2 throws custom error Content-Length shorter handle it ( #7334 )
...
We should internally handle when http2 input stream has smaller
content than its content-length header
Upstream issue reported https://github.com/golang/go/issues/30648
This a change which we need to handle internally until Go fixes it
correctly, till now our code doesn't expect a custom error to be returned.
6 years ago
Aditya Manthramurthy
f4879ed96d
Use jstream to serialize records to JSON format in S3Select ( #7318 )
...
- Also, switch to jstream to generate internal record representation
from CSV/JSON readers
- This fixes a bug in which JSON output objects have their keys
reversed from the order they are specified in the Select columns.
- Also includes a fix for tests.
6 years ago
Aditya Manthramurthy
f97a33a63f
Downgrade node temporarily ( #7333 )
...
To fix jest related build failure as recommended at https://github.com/facebook/jest/issues/8069#issuecomment-470307590
6 years ago