ebozduman
efeaf2ee72
Stops removing target bucket content when url.Error ( #2377 )
2018-02-21 12:22:09 +05:30
Harshavardhana
97c7984bca
Large bucket support admin API Changes ( #2372 )
2018-02-15 18:35:05 -08:00
Aditya Manthramurthy
335a53ad29
Fix flickering in heal dashboard UI ( #2391 )
2018-02-14 10:15:26 -08:00
Harshavardhana
d4981656d3
Remove response timeout for admin operations ( #2390 )
2018-02-13 15:40:46 -08:00
Harshavardhana
766e04d79d
fix crashes on 32bit systems use LoadUint32() instead ( #2389 )
2018-02-12 10:25:06 -08:00
poornas
65e22bee24
Add api as option for mc config host add command. ( #2381 )
2018-02-10 14:39:12 -08:00
ebozduman
3987f1405a
Revises 'mc diff' command help menu ( #2383 )
2018-02-08 16:29:50 +05:30
Krishnan Parthasarathi
e1056aa50d
Fix admin-info, admin-status json status field ( #2293 )
2018-02-05 10:09:12 -08:00
A. Elleuch
017dddef97
Add --newer-than & --older-than flags ( #2142 )
...
Use --newer-than & --older-than to select newer or older files
in copy, remove and mirroring operations.
2018-02-01 10:32:22 -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
A. Elleuch
99ee2a5042
Refactor {build,new}S3Config to remove a duplicate code ( #2329 )
2018-01-24 12:06:34 -08:00
Aditya Manthramurthy
793cda2ca0
New Admin API client-side implementation ( #2350 )
2018-01-23 12:32:58 -08:00
ebozduman
83bb797389
Adds stderr and returns exit status of the cmd executed ( #2361 )
...
Fixes #2351
2018-01-23 13:17:47 +05:30
Harshavardhana
8fbbd0ee83
Fix and refactor MC_HOSTS_ env handling code ( #2365 )
...
Existing MC_HOSTS_<alias> was incorrectly placed
inside s3Config initialization code path which
leads to a situation where we loose the URL path
information.
Fixes #2364
2018-01-19 18:29:28 -08:00
Harshavardhana
3b4626ea15
Bump max parallel workers to 32 ( #2360 )
2018-01-18 19:46:31 -08:00
Aditya Manthramurthy
d9663e5d96
Improve lock error message ( #2353 )
2018-01-16 21:25:03 +05:30
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
poornas
5dee56d5d0
fix for prefix based rm ( #2354 )
...
mc rm --r with prefix not terminated by / doesn't get deleted.
example: mc rm --r --force --older-than=10 play/test/prefix
Fixes : #2341
2018-01-12 09:23:03 +05:30
poornas
722ee94165
fix missing metadata in stat cmd ( #2348 )
...
mc stat without --r is missing metadata for stat on objectname
2018-01-10 11:07:21 -08:00
poornas
b64c8a3aa9
Copy metadata during mirror and cp peration ( #2347 )
...
Validate metadata key/values to filter out custom xattr
set on fs to prevent invalid http headers being sent in http request
by minio-go
2018-01-10 11:03:42 -08:00
Harshavardhana
13259eea21
mirror with --watch should copy and exit for s3 endpoints ( #2345 )
...
Current code wouldn't exit unless we press CTRL+C
even if the endpoints do not support --watch, this PR
fixes this behavior.
2018-01-08 10:56:56 -08:00
poornas
9da492975c
correct stat behavior and message ( #2344 )
...
fix empty stat listing when bucket has only a single object and
cleanup dead code.
2018-01-05 14:18:35 -08:00
Landry Breuil
96dc4f920d
Use client-fs_other on OpenBSD ( #2342 )
2017-12-29 14:14:24 +05:30
poornas
2d221ba8da
stat: fix output to show bucket in stat listing ( #2340 )
...
Show stat of all buckets at site level, and mimic
mc ls behavior in stat output.
2017-12-25 16:19:24 +05:30
Kaan Kabalak
eeb18ff75c
Correct typo in mc cat ( #2336 )
...
Fixes #2334
2017-12-15 21:45:24 +05:30
A. Elleuch
4cb6e35342
fix: Consider insecure flag in host add cmd ( #2331 )
...
--insecure wasn't have an effect when invoked in a `mc host add` cmd. This
PR fixes the behavior.
2017-12-11 15:14:56 -08:00
A. Elleuch
5ddf9728f8
Parallelize upload/remove in cp/mirror commands ( #2289 )
...
This PR removes --parallel flag and implements a dynamic way of adding
threads to accelerate mirror/cp command.
After the calculation of objects that need to be copied/removed, mc
sends tasks (upload/remove) to a parallel manager which monitors the
progress of tasks and decide to allocate more threads to it to
accelerate the overall work.
This is very useful when we copy/mirror many relatively small files.
2017-12-07 16:20:34 -08:00
poornas
275db95170
mc: Remove MC_MULTIPART_THREADS env variable ( #2326 )
...
Remove this var as PR#2289 will manage threads automatically based on
workload to speed up mc cp/mirror operations.
2017-12-06 09:30:20 -08:00
poornas
399187c4fb
ui: consistenly use "flag" instead of "option" in error messages ( #2325 )
2017-12-06 16:00:10 +05:30
kannappanr
1fd03fb81f
Rearrange exclude code to filter source and target URLs ( #2322 )
...
Move exclude code handler to mirror-url and mirror-main
Fixes #2319
2017-12-04 15:47:29 -08:00
Harshavardhana
0aa704ad5e
Fix typo in find help ( #2323 )
2017-12-04 23:10:09 +05:30
poornas
1e7b4c9e4a
Add mc rm support to recursively remove site ( #2265 )
...
This requires --dangerous flag in addition to --recursive and --force
Change namespace identification check to be more robust to user
input errors like mc rm --r --force play//
2017-12-01 18:25:08 -08:00
Harshavardhana
65c582cd5b
Fixing find help message and behavior ( #2320 )
2017-12-01 18:04:09 -08:00
Harshavardhana
dfffc1e7cc
mirror: Deprecate --force instead add --overwrite ( #2318 )
...
Fixes #2317
2017-11-30 16:51:17 +05:30
poornas
a63a1f7eca
Skip color theme for quiet mode ( #2313 )
2017-11-23 16:35:43 +05:30
poornas
b3fe40e113
fix: append XAttr to metadata only if metadata requested ( #2310 )
2017-11-23 16:35:17 +05:30
Harshavardhana
ceb38130fc
Fix ENV handling in mc ( #2282 )
...
Now ENV supports following style and doesn't require
a pre-requisite to have an entry in `config.json`
MC_HOSTS_myminio=http://minio:minio123@localhost:9000/
Notice signature style is auto-probed if env is set.
2017-11-13 16:29:10 -08:00
Harshavardhana
7498e97182
Relax access key, secret key validation ( #2300 )
...
Comply with minio server behavior - fixes #2298
2017-11-13 12:53:11 -08:00
poornas
32a8f34f7d
Fix: mc rm to error when nonempty directory is deleted ( #2303 )
...
Example: when mc rm play/testbucket/folder1 is attempted and directory
is nonempty, exit with an error message
2017-11-09 18:28:53 -08:00
poornas
ab6b2a83ac
Add new stat sub command ( #2275 )
2017-10-31 13:56:40 -07:00
Harshavardhana
c9448749d0
Fix command line docs and update complete-guide ( #2290 )
...
Also re-ordered snap below binary download for windows in priority.w
2017-10-21 07:59:12 +05:30
Harshavardhana
aa8d5ed0cc
Add newS3Config helper to auto-probe signature type. ( #2292 )
2017-10-20 13:51:56 -07:00
poornas
a86080a0b7
Add context in Put api call for cp/mirror. ( #2291 )
2017-10-20 13:50:35 -07:00
poornas
26c7c3e500
ls: show ETag in json formatted output ( #2285 )
2017-10-13 18:23:13 -07:00
Harshavardhana
785e14a725
Add find command in docs, remove deprecated files and entries. ( #2286 )
2017-10-13 17:28:29 -07:00
Harshavardhana
7ad9a36b9d
Add find basic functional test ( #2284 )
2017-10-13 13:51:12 +05:30
kannappanr
9831612507
Add exclude option to mirror command ( #2269 )
...
Added exclude options to exclude unwanted system files.
Exclude option excludes the source files/objects that match
the passed shell file name pattern
Fixes #1903
2017-10-12 14:52:21 -07:00
Krishnan Parthasarathi
207d5cfb61
Bucket events times are in RFC3339 format ( #2278 )
2017-10-12 11:26:22 -07:00
Harshavardhana
c10b429dcb
Refactor and fix find bugs ( #2273 )
...
- Watch now avoids an unnecessary waitgroup and simplifies overall flow.
- Watch now honors maxDepth parameter as well.
- Parsing logic is fully outside in the mainFind() function.
- Enhance and fix behavior of nameMatch to comply with unix
find behavior.
- Enhance and fix behavior of maxdepth to comply with unix
find behavior.
Fixes #2272
2017-10-09 19:44:58 -07:00