Commit Graph
179 Commits
Author SHA1 Message Date
Harshavardhana 733d3c5d54 Avoid making Stat calls on listing (#2650) 2019-01-22 16:02:56 +05:30
Harshavardhana 0854af6e6d Migrate to mitchellh/go-homedir from minio/go-homedir (#2641)
We don't use this fork of ours anymore and we don't need
to maintain it anymore as we haven't made any significant
changes to upstream code or fixed bugs.
2019-01-08 00:23:51 -08:00
Harshavardhana 9ddc45162a Add new vendored minio-go (#2638)
Fixes https://github.com/minio/mc/issues/2610
2019-01-02 16:42:06 -08:00
Harshavardhana 57414cbb6e Add in-place update feature (#2605) 2018-11-26 20:04:55 +05:30
Harshavardhana 4479667d4c Allow resuming and stopping an active heal operation (#2584) 2018-11-04 19:25:14 -08:00
Harshavardhana fd340638bb Update mimedb to set correct content-types (#2587) 2018-10-31 14:45:10 -07:00
Anis Elleuch 0dd32c1b26 Add admin profiling command (#2557)
Implement profiling command to start & download profiling data of
a standalone or all nodes of a cluster.

```
1. Start CPU profiling
   $ mc admin profiling start --type "cpu" myminio/

2. Download latest profiling data under save under profiling.zip
   $ mc admin profiling stop myminio/
```
2018-10-17 17:06:12 -07:00
Harshavardhana b7e87b623d Add admin users (#2554) 2018-10-16 14:54:25 -07:00
Praveen raj Mani 449cad0eb8 Migrate from "mime" to "github.com/minio/minio/pkg/mimedb" (#2563)
The content-type resolutions are standardized across platforms.

Fixes #2559
2018-10-02 17:17:44 -07:00
Harshavardhana a83ffe321c Implement select command (#2538) 2018-09-30 23:18:33 -07:00
Harshavardhana 044a95b6cf update notify library native macOS compilation (#2540)
Fixes #2535
2018-09-13 18:02:27 -07:00
Harshavardhana 0d0638b398 vendorize latest minio-go and madmin (#2529) 2018-09-06 16:01:18 -07:00
Harshavardhana 073ed250fe Update madmin API with latest server changes (#2516) 2018-08-17 18:55:05 -07:00
Harshavardhana f8aafcc774 Vendor pkg/madmin changes in GetConfig/SetConfig (#2513) 2018-08-15 03:06:43 -07:00
Anis Elleuch 5eab7c2698 Updating minio-go library (#2506) 2018-08-07 16:57:32 -07:00
Harshavardhana 26f5102eae Remove/deprecate admin lock commands (#2503) 2018-08-06 12:59:13 -07:00
ebozduman 5a962a7cf5 Vendorizing changes required for PR#6067 (#2481) 2018-07-16 08:27:22 -07:00
Harshavardhana 70dcf20d74 Pass down encrypt-key handling across command validators (#2483)
Currently even if the command supports encrypted objects,
the syntax verification would fail on them in certain
cases. Since syntax validation of source/targets doesn't
use the parsed encrypt key pairs.  This PR fixes this
behavior.
2018-07-12 11:13:51 -07:00
Harshavardhana c57a2dc4c2 update minio-go dependency to support single statement policies (#2480) 2018-07-06 11:09:59 -07:00
kannappanr 556bbc2de5 Vendorize minio-go inside mc (#2473)
Fixes 2465
2018-06-20 15:25:47 -07:00
Harshavardhana 8cf797da5f Update madmin API changes (#2462) 2018-06-08 18:00:52 -07:00
Harshavardhana 961c4b5dae Add total used support for mc admin info (#2449) 2018-05-23 17:44:50 -07:00
Anis Elleuch 1b794a4ae1 Update minio-go to ship new fixes (#2441)
https://github.com/minio/minio-go/commit/c6108c47ba5d86548404ebf9e51c5ca18769fe79
https://github.com/minio/minio-go/commit/92b6411b2475a188f67229f2b6c05dff695433da
2018-04-26 13:40:45 -07:00
Harshavardhana 75e9691616 Support server side copy object with progress (#2438)
Support server side copy object with progress
and also uses a more optimized version to perform
multipart server side copy operation.
2018-04-26 11:02:06 +05:30
Harshavardhana da5c19848d vendorize minio-go with fix for reset peer to retry (#2420) 2018-03-24 13:10:23 -07:00
poornas fe82b0381c change encryption key parsing to allow spaces in sse-c key (#2408)
Also vendoring in minio-go updates
2018-03-14 02:47:14 -07:00
kannappanr 7ebe7908ea vendorize minio-go to version 4.0.8 (#2399) 2018-02-23 17:39:06 -08:00
Harshavardhana 97c7984bca Large bucket support admin API Changes (#2372) 2018-02-15 18:35:05 -08:00
poornas 65e22bee24 Add api as option for mc config host add command. (#2381) 2018-02-10 14:39:12 -08:00
Harshavardhana 55f06077e5 Fix heal admin API to honor json/quiet flags correctly (#2370)
Update the madmin updated package as well

Fixes #2369
Fixes #2368
Fixes #2367
2018-01-27 23:19:52 +05:30
Aditya Manthramurthy 793cda2ca0 New Admin API client-side implementation (#2350) 2018-01-23 12:32:58 -08:00
Aditya Manthramurthy b94b8e67e9 Update vendored madmin dep (#2362) 2018-01-19 14:50:55 -08:00
poornas 5d703df69d vendorize minio-go to version 4.0.6 (#2357) 2018-01-16 12:43:49 +05:30
Aditya Manthramurthy 5f2f82b5f7 Update heal command - remove upload healing (#2355)
This PR is to keep mc in sync with changes introduced in
https://github.com/minio/minio/pull/5390 to remove upload healing
functionality.
2018-01-12 07:50:04 -08:00
Harshavardhana 014d09412a Update minio-go (#2299)
- Avoid setting server encryption headers with x-amz-meta (#859)
- Remove redirectHeaders method (#857)
- Honor file pointer set in PutObject method (#856)
- Fix docs and add a validator tool for our api docs (#850)
- requestMetadata should take the md5 and sha256 with expected encodings. (#852)
- Added a new method SetUserMetadata to the PostPolicy (#839)
- Do not need to strictly validate request params in Presign API. (#832)
2017-11-07 16:03:44 -08:00
poornas ab6b2a83ac Add new stat sub command (#2275) 2017-10-31 13:56:40 -07:00
poornas 224e602e59 Allow multipart threads to be configured via environment variable (#2254) 2017-10-02 19:45:08 -07:00
Carter McClellan 49ef42d36a Implement mc find (#2201) 2017-09-05 15:44:10 -07:00
Harshavardhana fe583468ce Vendorize new changes from minio-go (#2246)
This PR brings in changes for

- PutObjectStream with no content-length is heavily
  optimized so `mc pipe` will not run out of memory
  for large uploads.
- Fixes a bug in Signature v2 for HTTP requests.
- Support us-gov-west-1 region as well.
- Auto region handling is inside minio-go now.
2017-09-03 13:56:22 -07:00
Aditya Manthramurthy ca96cfc6e6 Move pkg/probe from vendor dir to package dir (#2236)
The probe package is no longer available in the Minio server
repo. This change just moves probe from the vendor directory to its
own dir under `pkg`.

This is a maintenance fix.
2017-08-14 11:13:38 -07:00
Harshavardhana 3e2c3fc94d vendorize new changes from minio-go (#2227) 2017-07-30 08:44:05 -07:00
Harshavardhana 5c135d25d6 mc: Vendorize minio-go this brings in streaming support. (#2203)
This PR brings following changes

- Brings streaming support for mc uploads.
- Brings support for copying objects upto 5TiB
  as a consequence of ComposeObject implementation
  in minio-go.
2017-07-06 20:41:34 +01:00
A. Elleuch d01a50d301 minio-go: Revendorize to update (#2194) 2017-06-24 12:03:22 -07:00
Anis Elleuch 320e29e03f info: Show info of all cluster servers (#2149) 2017-05-22 00:13:35 -07:00
Anis Elleuch 136e286ef4 mb: Update pkg to retry mb with unmatched region (#2139) 2017-04-29 00:34:26 -07:00
Anis Elleuch 1bf5ac350f madmin: Update and adapt mc to new lib changes (#2131) 2017-04-16 20:42:55 -07:00
Harshavardhana b0968e29e8 watch/events: Support events on Get/Head operations as well. (#2116)
Fixes #2073
2017-04-10 11:50:52 -07:00
Krishnan Parthasarathi 7084a4361e Replace admin-heal-list with admin-heal --fake (#2101)
* Replace admin-heal-list with admin-heal --fake

* Improve admin-heal message for partial healing

* Vendorize pkg/madmin changes to include improved messaging for
  partial healing of objects/uploads.

* Modify message strings to include additional heal result information
  like number of disks where heal was successful.
2017-04-03 12:16:21 -07:00
Anis Elleuch 1c038760ce vendor: Update minio-go package (#2103)
New minio-go commits are introduced:

 sigv2: Do not encode canonical sub-resource value (#636)
 Core.PutObject takes md5 and sha256 sums (#635)
 allow bucket location responses with empty Message (fixes #629) (#630)
 listen: Add support for HEAD/GET bucket events (#634)
 docs:  Remove extra space from code blocks (#632)
 docs: Remove extra space from code blocks. (#631)
 Implement a new NewWithRegion() API for static region. (#627)
 Fix table syntax for SetBucketPolicy parameters (#628)
 Changes needed for implementing "minio gateway s3" (#623)
 Typo in variable name (#625)
 api: Support encryption for Put/Get Object (#613)
 api/retry: Support connection retry for Dial timeout. (#622)
2017-04-02 04:47:42 -07:00
Anis Elleuch 250def49d5 madmin: Update package (#2084)
This brings up the following fix:
https://github.com/minio/minio/commit/181e002c56d6df84576038bab94079c3f1cdf718

Besides, this PR adds removes an uneeded line in admin cmd output.
2017-03-22 20:44:37 +01:00