Harshavardhana
df8bb795ba
refactor watch mirror for performance ( #3196 )
2020-05-02 12:07:21 -07:00
Nitish Tiwari
138d7656ba
fix: Update to use minio-go with jsoniter ( #3191 )
...
Also remove unused args in doMirror()
2020-04-24 23:56:51 -07:00
Anis Elleuch
2018319125
sql: Adapt the code to the change in minio-go SQL API ( #3161 )
2020-04-24 09:34:51 -07:00
Harshavardhana
c8c5c15249
fix auto-complete for missing commands ( #3189 )
2020-04-23 20:11:35 -07:00
Chloe Kudryavtsev
32d8ef24ef
feat: allow fetching arbitrary object puburls ( #3043 )
...
This fix should be backward-compatible, since strings do not need
to be initialized by default, and JSON explicitly allows it to be omitted
when empty.
2020-04-22 18:36:41 -07:00
ebozduman
f82a7b13c1
fix: copy filesytem to objectstore regression ( #3183 )
2020-04-22 18:28:50 -07:00
BigUstad
49c2beec79
check object stat first before continuing with sql select call. ( #3188 )
2020-04-22 18:28:30 -07:00
Harshavardhana
24a72e4a33
fix add disable-multipart/md5 options for mirror ( #3174 )
2020-04-21 13:05:01 +05:30
Anis Elleuch
c7166eac3a
mirror: Use source time attr in multi-master mode ( #3162 )
2020-04-20 17:03:47 -07:00
Harshavardhana
f23f814764
fix: allow watch to use queueCh from parallel manager ( #3180 )
2020-04-19 10:59:05 -07:00
kannappanr
e1617a504b
Canonicalize metadata recevied as part of events ( #3181 )
2020-04-19 10:10:40 -07:00
Harshavardhana
89930fed29
rb shouldn't hang on empty folders ( #3178 )
...
fixes #3176
fixes #3177
2020-04-19 09:50:18 -07:00
Marco Perrando
8c262e1f3f
Fix: sql does not accept --encrypt-key flag. ( #3175 )
2020-04-18 23:09:07 -07:00
Harshavardhana
2d6a960f94
fix avoid multiple HEAD operations ( #3173 )
...
- Get() already has the metadata to preserve
- Stat() doesn't need to be sent multiple times
do preserve attributes, use it once.
2020-04-17 01:01:34 -07:00
Harshavardhana
4036009dc2
fix optimize content-type detection for only FS ( #3172 )
...
Also avoid a secondary Stat() operation during
GetObject(), when preserving the metadata
Fixes #3170
2020-04-16 19:03:02 -07:00
BigUstad
ab2500e2ef
match S3 within URL in full appropriately ( #3163 )
...
Fixes #3140
2020-04-16 18:25:40 -07:00
Harshavardhana
5c4add2000
optimize client admin transport ( #3168 )
2020-04-16 18:24:11 -07:00
Anis Elleuch
59187f2ef7
s3: Use head API before listing in client.Stat() ( #3156 )
...
Stat() is supposed to return valid information for existing
objects and existing prefixes as well.
The current mechanism issues a listing request and searches
for the object or prefix in the returned list, but this could take
time if there are a lot of entries under a parent prefix.
The new commit changes the internal behavior but not the
functional output. It issues a HEAD request first, if there
is no object then assumes it is a prefix and does listing
in order to find it.
2020-04-16 16:23:37 -07:00
Harshavardhana
91ca683b03
improve signature probe avoid repeated code ( #3169 )
2020-04-16 11:45:28 -07:00
Daniel Valdivia
42023a1298
allow mc event remove to remove individual events ( #3145 )
2020-04-14 18:44:29 -07:00
Harshavardhana
4388f6d69b
trim alias from obd filename avoid local write failure ( #3164 )
2020-04-14 17:37:31 -07:00
Sidhartha Mani
9e4e435c56
make admin obd deadline configurable ( #3154 )
2020-04-14 13:12:06 -07:00
Bala FA
dfa1e42b25
add mc mv command ( #3134 )
...
Fixes #3077
2020-04-14 11:59:16 -07:00
Harshavardhana
cb9e103714
upgrade to latest pkg/madmin package ( #3151 )
2020-04-10 08:57:45 -07:00
Nitish Tiwari
18f81e5458
cp: Add object lock related flags ( #3127 )
...
- Adds --retention-mode,--retention-duration &
--legal-hold flags in cp command
- Adds --bypass flag in rm command
2020-04-07 19:51:20 -07:00
Harshavardhana
8cae137525
fix all the build errors
2020-04-03 22:22:20 -07:00
Bala FA
3b31837927
add disableMultipart option to Copy() ( #3141 )
2020-04-03 20:14:05 -07:00
Daniel Valdivia
4d36c1f8b8
Make NewS3Config and NewAdminFactory Public ( #3138 )
2020-04-02 19:41:31 -07:00
César Nieto
a9e875b503
set S3Client struct as public ( #3139 )
2020-04-02 19:33:44 -07:00
Bala FA
51ef254a41
add --disable-multipart flag in cp ( #3135 )
2020-04-02 08:21:33 -07:00
Daniel Valdivia
0ea8d1d479
Make BuildS3Config public ( #3132 )
2020-04-01 07:41:53 -07:00
Sidhartha Mani
eeeca2332d
Onboard Diagnostics ( #3114 )
...
Also colorize JSON output in all admin commands
2020-04-01 01:35:46 -07:00
BigUstad
080414009e
mc watch windows URL/absolute path event path ( #3133 )
2020-03-31 09:50:29 -07:00
poornas
25de1da81b
Add legalhold command ( #3095 )
2020-03-31 09:18:26 -07:00
kannappanr
1fb87a492e
cleanup tag command ( #3126 )
2020-03-23 09:23:52 -07:00
BigUstad
71eb7f6689
Add tag command ( #3117 )
2020-03-22 20:59:49 -07:00
Anis Elleuch
64a78e7811
Add global context and adapt context change in admin API ( #3125 )
...
This commit adds a new global context, monitors os signals
and cancels the global context in such cases to exit
on going process gracefully.
It will also update minio-go and adapts the code with
the new context changes in the admin API.
2020-03-21 13:42:41 -07:00
Harshavardhana
b010699112
cleanup legacy metadata handling ( #3118 )
2020-03-19 17:00:20 -07:00
poornas
3230acae32
mc retention: add --recursive and --bypass flags. ( #3100 )
...
--bypass flag allows overriding governance if user
has override permissions
2020-03-19 12:24:09 -07:00
ebozduman
91da0da183
fix for incorrect mtime handling ( #3121 )
2020-03-18 11:33:53 -07:00
Anis Elleuch
fc04dc6463
info: Add missing new lines in the output ( #3119 )
2020-03-17 15:28:21 -07:00
poornas
fd43df09a1
mc cp: Fix prefix handling in TypeC ( #3115 )
...
for copy from filesystem to objectstorage.
Avoid prefixing dirname to file on target side
when doing a `mc cp /tmp/dir myminio/bucket --r`
to make `mc mirror` and `mc cp` behavior consistent
2020-03-15 17:47:35 -07:00
Anis Elleuch
b621ae58f5
heal: Show scheduled next healing ( #3111 )
...
mc admin heal alias command will show the next healing time.
Also, show 'Never completed' when the server returns zero last healing activity
2020-03-14 22:30:27 -07:00
Jeffrey Clark
bcbbfa7352
Secret key prompt ( #3083 )
2020-03-14 00:03:44 -07:00
Anis Elleuch
5b5d65a142
info: Fix showing offline nodes in the pretty output ( #3112 )
...
Also do some simplification in the code.
2020-03-13 18:16:17 -07:00
Klaus Post
1a27f7f51d
mc cp -continue: Fix escape/colorization of JSON ( #3116 )
2020-03-13 13:21:39 -07:00
poornas
1092f6932f
fix: Make sure Ctrl-C cancels mc cp right away ( #3113 )
2020-03-11 21:42:38 -07:00
Anis Elleuch
a7dd97f140
Add support of threads & goroutines profiling type ( #3108 )
2020-03-06 12:12:38 -08:00
kannappanr
a0d9e26dc7
Support arm32, 386 compilation: ( #3103 )
2020-03-05 09:27:20 -08:00
Harshavardhana
24e7caa146
Use listObjectsV1 for GCS S3 implementation ( #3101 )
...
Fixes #3073
2020-03-03 23:13:10 +03:00