Commit Graph
141 Commits
Author SHA1 Message Date
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
Anis Elleuch 7c7969ed55 admin heal: Support for uploads healing (#2076)
mc admin heal supports --incomplete flag to list and heal uploads.
2017-03-20 13:56:52 -07:00
Bala FA 9ebb916902 Use words package from minio for DamerauLevenshteinDistance() (#2075) 2017-03-19 18:25:22 -07:00
Harshavardhana 6c0f804f32 vendor update minio-go with new fixes. (#2068) 2017-03-11 00:48:24 +01:00
Anis Elleuch 7991f67863 vendor: Update minio-go to bring #620 fix (#2067)
https://github.com/minio/minio-go/pull/620
2017-03-10 00:14:17 +01:00
Anis Elleuch 22ab1c4901 vendor: Update minio-go to bring #619 fix (#2066)
https://github.com/minio/minio-go/pull/619
2017-03-09 22:15:34 +01:00
Anis Elleuch bf657a33e3 admin: Add set config command (#2051)
Which works this way: 

```
cat config.json | mc admin config set myminio/
```
2017-03-03 15:18:23 -08:00
Harshavardhana bab1b9302e epoll_wait is not implemented on ARM64 Linux (#2052)
Vendorize the fixes for fsNotify package to avoid
crashes on ARM64 Linux.

Fixes #2047
2017-03-01 15:15:59 -08:00
Anis Elleuch 7673ef084d admin: Add info cmd and simplify service status (#2036) 2017-02-27 12:29:12 -08:00
Harshavardhana 1ef242a5c1 Fix all cli commands to have consistent UI (#2040)
Fixes #2038
2017-02-27 11:44:26 -08:00
Harshavardhana 2ca601ef22 cli: Remove help sub-command and --version flag (#2030)
This is to bring consistent CLI experience as before.
2017-02-21 23:00:09 +01:00
Harshavardhana 1f48b16acb cli: Make sure to add "--help" flag for subcommands. (#2024)
--help is now back and prints properly with command
help template.
2017-02-19 12:30:16 -08:00
Harshavardhana d7a3a0bce3 Move to go1.8 for all builds. (#2019) 2017-02-17 21:29:53 +01:00
Bala FA a5014a8c71 trie: use trie package in minio. (#2010) 2017-02-10 19:28:45 -08:00
Anis Elleuch ad850412d2 lock: Update madmin pkg and use duration flag name (#1994)
* Use new errors format returned madmin APIs
* Use duration query name in Locks API
2017-02-01 12:19:27 -08:00
Harshavardhana 9d7529118e Add build support for pine64 (#1987)
Also update notify package with new fixes.
2017-01-25 13:37:06 -08:00
Anis Elleuch 507e7672c2 madmin: Update vendorized management API (#1986)
Update to fix an ListObjectsHeal() issue
2017-01-25 22:30:21 +01:00
Anis Elleuch 38c3703d08 admin: Heal format in heal command (#1980) 2017-01-24 15:05:32 -08:00
Anis Elleuch caf6bfb76f admin: service status uses new response format (#1979)
server & service fields are added to JSON response
2017-01-23 17:01:21 -08:00
Anis Elleuch 0e1e954768 Add new admin Heal command (#1958)
e.g.: `mc admin heal list myminio/` and `mc admin heal myminio/testbucket`

Also, some heal files that belong madmin package have been added
2017-01-22 15:19:06 -08:00
Anis Elleuch 6b2e63e66c locks: Use new json format for list/clear results (#1975)
Also minio-admin package has been updated
2017-01-19 12:07:45 -08:00
Harshavardhana 6a7ca4311e cli: update with urfave/cli changes (#1968) 2017-01-16 10:41:56 -08:00
Anis Elleuch 7cec8f2285 Add admin lock command (#1942) 2017-01-06 01:29:49 -08:00
Harshavardhana 853fea16b4 Enable support for s3 transfer acceleration. (#1946)
Simply use

```
mc config host add s3-accel https://s3-accelerate.amazonaws.com <access_id> <secret_id>
```

This is all is needed, if you have buckets which has s3 acceleration
enabled it just works transparently.

Fixes #1912
2017-01-05 01:36:01 -08:00
Anis Elleuch e90e9bc352 admin: Introduce the new service command (#1922)
Introducing Admin Service cmd to mc
2016-12-22 13:37:55 -08:00
Harshavardhana 782352ae56 mirror/cp/pipe: Preserve metadata while copying s3 to s3. (#1927)
Fixes #1923
2016-12-14 20:06:52 -08:00
Anis Elleuch 81abbca12f Vendorize new minio-go version (#1905) 2016-12-02 16:36:34 -08:00
Harshavardhana df395786bd mc: Consistent exit codes across all commands. (#1895)
Also brings in much needed CLI changes from
upstream and backporting our custom changes on
top of those changes.

Fixes #1880
2016-11-27 12:35:59 +05:30
Harshavardhana cf89d74561 Vendorize new minio-go code. (#1891)
This fixes #1889.

```sh
mc mirror -w
```

Now runs continous even when the source is not available.
Reconnects indefinitely in a binomially increasing fashion
and also allows jitter so that the retry has a nice
distribution as well.

This allows for 'mc mirror -w' to run continously without
further monitoring.
2016-11-20 16:31:53 -08:00
Anis Elleuch 27526399f5 Vendorize new minio-go version as it brings new fixes (#1867) 2016-11-02 02:51:35 -07:00
Anis Elleuch b45d48f4f1 Update minio-go library (#1864) 2016-10-26 16:39:23 -07:00
Bala FA 6de2b4559e Refactor rm command. (#1855)
This patch makes rm command to use minio-go.RemoveObjects() to removeobjects recursively.
2016-10-17 20:24:09 -07:00
Harshavardhana add7dcc763 vendor: Update minio-go deps with latest changes (#1836)
- PutObject() parallel uploads
- ListenBucketNotification API change.
- Other misc fixes.
2016-09-27 16:10:24 -07:00
Harshavardhana 6ce337ca38 Bring new fixes from minio-go related to PutObject and GetObject (#1822) 2016-09-09 02:11:53 +05:30
Anis Elleuch 8a48d604a8 Add policy list command (#1811) 2016-09-03 05:47:37 -07:00
Harshavardhana 939dad5900 Move the notify events to new package - rjeczalik/notify. (#1807)
* Move the notify events to new package - rjeczalik/notify.

* improving handling of notify events on linux specific (#3) @nl5887
2016-08-24 02:11:55 -07:00
Harshavardhana 22670acfbe vendor: Update minio-go with new bucket policy changes. 2016-08-17 18:22:19 -07:00
Harshavardhana a47c86c54c mirror: Watch() for events based on session time. (#1799)
Enable notification if not already set, avoid overriding
or append to existing notification set - all of this
needs to be done to make this transparent.
2016-08-16 14:32:15 -07:00
Remco Verhoef bc79fba49a async replication support for mirror (#1784) 2016-08-13 12:39:21 -07:00