Krishnan Parthasarathi
93a9078b23
Assign deploymentID for first minio server in distributed setup ( #7427 )
...
- Pass local endpoints to functions fixing formatXL during startup
2019-04-02 10:50:13 -07:00
Ashish Kumar Sinha
a4bdcba503
Add check for extra input field ( #7437 )
...
fixes #6559
2019-04-02 12:15:32 +05:30
poornas
023866642c
canonicalize ETag correctly ( #7442 )
...
Fixes #7441
Trim extra quotes prefixing/suffixing ETag in
CompleteMultipartUpload request.
2019-04-01 12:19:52 -07:00
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.
2019-03-31 08:42:43 -07:00
poornas
dd1d69ab5c
fix mysql config for native password authentication ( #7436 )
...
fixes #7430
2019-03-28 10:45:22 -07:00
Harshavardhana
16ba679103
Fix markdown table formatting ( #7435 )
2019-03-27 16:16:58 -07:00
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.
2019-03-27 16:16:17 -07:00
Minio Trusted
8cf707779c
Update yaml files to latest version RELEASE.2019-03-27T22-35-21Z
2019-03-27 22:41:57 +00:00
Harshavardhana
6df05e489d
Set Read/Write timeouts only for net.Conn not http.Server ( #7431 )
...
Fixes #7425
2019-03-27 22:10:06 +05:30
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`
2019-03-26 14:57:44 -07:00
Harshavardhana
9629de8230
Add proper context based logging when bitrot stream calls fail ( #7415 )
2019-03-26 13:59:33 -07:00
Harshavardhana
0250f7de67
Cleanup stale multipart uploads older than 3 days ( #7424 )
...
Fixes #6627
2019-03-25 13:41:05 -07:00
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.
2019-03-25 13:40:08 -07:00
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.
2019-03-25 12:17:31 -07:00
Krishnan Parthasarathi
aac9e2a7dd
Return deploymentID in ServerInfo REST call ( #7422 )
...
Makes deploymentID information uniform in distributed setup
2019-03-25 11:55:28 -07:00
Harshavardhana
719d21efd8
Generate coverage across all sub-dirs ( #7416 )
2019-03-25 11:54:14 -07:00
Harshavardhana
e0a87e96de
Populate host value from GetSourceIP directly ( #7417 )
2019-03-25 11:45:42 -07:00
Harshavardhana
0a44e70177
Change findEndpoint to return errors for Scanlines ( #7390 )
2019-03-25 13:31:02 +05:30
Rushan
22b4fe0a51
Update browser UI with new logo and colors ( #7408 )
2019-03-23 09:57:09 -07:00
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
2019-03-20 22:20:30 -07:00
poornas
8e1e701d35
Azure:ETag returned by ListObjects to be consistent with GetObjectInfo ( #7301 )
2019-03-20 18:11:46 -07:00
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.
2019-03-20 18:09:57 -07:00
Minio Trusted
8af45f0135
Update yaml files to latest version RELEASE.2019-03-20T22-38-47Z
2019-03-20 22:49:06 +00:00
Harshavardhana
a9032b52b8
Change storageRESTTimeout to 1minute ( #7398 )
2019-03-20 13:20:09 -07:00
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
2019-03-20 13:06:53 -07:00
poornas
12b79d9f3b
Remove duplicate error in switch case. ( #7381 )
...
Fixes : #7380
crypto.ErrInvalidCustomerKey was being handled twice in toAPIErrorCode()
2019-03-19 17:21:05 -07:00
Sidhartha Mani
6bc0de2a75
add go modules file and start running go 1.11 style builds ( #7354 )
2019-03-19 13:50:58 -07:00
Krishnan Parthasarathi
8a77a298f2
Add deploymentID to ServerInfo ( #7372 )
2019-03-19 16:12:24 +05:30
Harshavardhana
328eb74cbb
Fix regression in peer clients in TLS setups ( #7391 )
...
Regression was introduced in eb69c4f946
2019-03-19 09:44:49 +05:30
zy
73be3ed0ca
format import style ( #7383 )
2019-03-18 13:07:58 -07:00
Kirill Motkov
3d29ab4059
Rewrite if-else chains to switch statements ( #7382 )
2019-03-18 07:46:20 -07:00
Harshavardhana
6702d23d52
Simplify ReadFileStream closer, make sure to flush all HTTP responses ( #7374 )
2019-03-18 10:50:26 +05:30
poornas
1011d21416
Fix credential parsing in signature v4 ( #7377 )
...
Fixes #7376
2019-03-16 22:45:42 -07:00
Kirill Motkov
85c5acc088
fix staticcheck warning ( #7378 )
2019-03-16 22:44:43 -07:00
kannappanr
eb69c4f946
Use REST api for inter node communication ( #7205 )
2019-03-14 16:27:31 -07:00
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.
2019-03-14 13:08:51 -07:00
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
2019-03-14 11:57:35 -07:00
poornas
a0ee7be050
update link on README ( #7361 )
2019-03-14 15:18:12 +05:30
Harshavardhana
91d85a0d53
Fix stale locks held by SelectParquet API ( #7364 )
...
Vendorize upstream parquet-go to fix this issue.
2019-03-13 20:33:18 -07:00
Harshavardhana
7079abc931
Implement HealObjects API to simplify healing ( #7351 )
2019-03-13 17:35:09 -07:00
Minio Trusted
8377d00574
Update yaml files to latest version RELEASE.2019-03-13T21-59-47Z
2019-03-13 22:06:26 +00:00
Harshavardhana
285c09fe6b
Support buckets with '.' with etcd+coreDNS ( #7353 )
...
Fixes #7340
2019-03-12 17:57:08 -07:00
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
2019-03-12 16:47:06 -07:00
Aditya Manthramurthy
e463386921
Add JSON Path expression evaluation support ( #7315 )
...
- Includes support for FROM clause JSON path
2019-03-09 08:13:37 -08:00
Aditya Manthramurthy
b296b3cf8b
Skip non-bucket dns entry in federated bucket list ( #7339 )
2019-03-08 14:22:58 -08:00
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.
2019-03-07 16:11:28 -08:00
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.
2019-03-07 00:20:10 -08:00
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
2019-03-06 16:05:49 -08:00
Minio Trusted
6387407e79
Update yaml files to latest version RELEASE.2019-03-06T22-47-10Z
2019-03-06 22:56:46 +00:00
Anis Elleuch
b05825ffe8
s3: Fix precondition failed in CopyObjectPart when src is encrypted ( #7276 )
...
CopyObject precondition checks into GetObjectReader
in order to perform SSE-C pre-condition checks using the
last 32 bytes of encrypted ETag rather than the decrypted
ETag
This also necessitates moving precondition checks for
gateways to gateway layer rather than object handler check
2019-03-06 12:38:41 -08:00