Harshavardhana
4dc0a44ebf
docs: update 'mc admin config' doc ( #3522 )
2020-12-03 23:56:18 -08:00
Harshavardhana
c691cc5488
update dependencies to minio master ( #3518 )
2020-12-03 13:43:12 -08:00
Anis Elleuch
d4fbfb5975
Show better looking help when a wrong flag is passed ( #3461 )
2020-12-02 22:19:26 -08:00
Harshavardhana
00873e4b93
update dependencies ( #3515 )
2020-12-01 18:44:48 -08:00
Harshavardhana
b1f5e78980
fix indentation/help across commands ( #3512 )
2020-12-01 16:34:43 -08:00
Ritesh H Shukla
bd7442fbc6
Add under what condition overwrite flag will copy data from source to target ( #3513 )
2020-12-01 12:26:01 -08:00
Lenin Alevski
c7989d06bc
Support for setting custom Transport in S3Client configuration ( #3510 )
2020-11-30 20:52:08 -08:00
Harshavardhana
681cbb06de
use directly S3 event types instead of re-defining them ( #3511 )
2020-11-30 09:10:34 -08:00
Shireesh Anjal
3dffa04f66
Implement new format of the health report ( #3492 )
2020-11-26 05:41:14 -08:00
Poorna Krishnamoorthy
060b0762fb
Remove trailing slash for mc admin bucket remote ls ( #3506 )
...
if any, after alias/bucket
RELEASE.2020-11-25T23-04-07Z
2020-11-25 13:12:43 -08:00
Poorna Krishnamoorthy
df5f03a109
Fix cutoff header in mc admin bucket remote ls ( #3502 )
2020-11-25 12:05:37 -08:00
Harshavardhana
465e6cf63c
fix: indent help properly ( #3504 )
2020-11-25 12:05:05 -08:00
Anis Elleuch
25fd302af6
More flags check in replicate add command ( #3503 )
2020-11-25 10:20:43 -08:00
Poorna Krishnamoorthy
bf2f7f0292
do not append default port to target in bucket remote cmd( #3501 )
2020-11-24 17:12:37 -08:00
Poorna Krishnamoorthy
138587816a
Rename ilm set as ilm edit ( #3420 )
2020-11-23 13:46:44 -08:00
Cesar N
d4f9ea859d
Change GetOptions' fields to public ( #3498 )
...
This allows minio/console to take advantage of the current
S3Client Get function for downloading objects with version
2020-11-19 13:43:35 -08:00
Harshavardhana
adafa0024f
fix: allow mirror to perform 'dir/ -> alias/' ( #3493 )
...
fixes a regression introduced in #3488
RELEASE.2020-11-17T00-39-14Z
2020-11-16 15:52:34 -08:00
Anis Elleuch
9ac1bf4a29
fix: copy bucket policy/lock config only with new buckets and with -a ( #3488 )
...
mc did not require -a to trigger mirroring of bucket policy & locking
configurations, this commit enforces this requirement. Besides, the config
mirroring will only happen if the mirror command is creating new buckets in
the target server.
2020-11-16 11:36:50 -08:00
Anis Elleuch
f3dd24f578
Implement barrier in parallel manager ( #3469 )
...
Mirroring watch supports parallel manager to run actions of the received
events in parallel, but sometimes the order of the execution of those
actions matter.
For example:
- A new bucket is created
- A new file is uploaded in the new bucket
This PR will bring support of the barrier concept. A task with a barrier
will only executed after all the previous tasks finish, the
subsequent tasks will also be only executed when the barrier task is
finished.
Later, we will bring support of tasks dependency to optimize the
parallelism.
2020-11-15 13:26:38 -08:00
Harshavardhana
3792e9f906
multiple bug fixes for mirror, ls, rm ( #3491 )
...
- fixes errant top level directory creation, regression introduced in #3313
- fixes `mc ls -r` regression introduced in #3476
- fixes other bugs such as `mc mirror` would perpetually hang if the
destination bucket doesn't exist, create and proceed instead.
- removes DirOpt style implementations for List, ListIncompleteUploads
these are not useful anymore.
2020-11-15 13:24:00 -08:00
Harshavardhana
f1c04ad4b8
fix: no reason to look for file extensions ( #3490 )
...
fixes #3489
2020-11-13 12:12:49 -08:00
Anis Elleuch
e216394765
Better autocompletion msg ( #3481 )
...
This commit also removes checking for msgp generated files since snap
command is not merged yet.
msgp check will be added in snap change.
2020-11-12 16:27:05 -08:00
Anis Elleuch
6ab70467cc
Always send MD5 when creating an empty directory ( #3487 )
...
Otherwise it could fail with a bucket with locking enabled.
2020-11-12 10:25:20 -08:00
Harshavardhana
b2ab462551
add workers per GOMAXPROCS ( #3483 )
2020-11-11 09:22:39 -08:00
Poorna Krishnamoorthy
786a53672b
Add flag to allow delete marker replication ( #3395 )
2020-11-10 19:36:48 -08:00
Harshavardhana
63ce578c46
update go mod tidy
2020-11-06 13:56:50 -08:00
Anis Elleuch
965747e45d
Fix client-s3.Makebucket behavior with object in path ( #3470 )
2020-11-06 09:38:43 -08:00
Anis Elleuch
0289d32164
errorIf(): Convert context canceled to canceling upon request ( #3463 )
2020-11-06 09:37:59 -08:00
Ritesh H Shukla
40e328eac2
Add support for setting bandwidth limit ( #3430 )
2020-11-03 16:02:17 -08:00
Harshavardhana
470ae1ee5f
allow empty buckets listed with mc ls -r ( #3476 )
2020-11-02 15:49:07 -08:00
Shireesh Anjal
50bfa26724
Remove logging info from health report ( #3465 )
2020-11-01 21:50:46 -08:00
Poorna Krishnamoorthy
ab396ae957
Add a --label flag to mc admin bucket remote add command ( #3443 )
2020-10-29 10:58:36 -07:00
Poorna Krishnamoorthy
7838365102
fix mc stat with --versions flag to show versionID correctly ( #3471 )
...
If --versions flag is specified, instead of HEAD currently
repeated listing is being done and latest version ID reported
for all the versions instead of actual version ID.
2020-10-27 16:54:05 -07:00
Anis Elleuch
6c2325129f
Simply queueing to parallel manager ( #3468 )
2020-10-24 14:02:35 -07:00
Anis Elleuch
fa4da03a4f
ls: Fix listing buckets with --versions ( #3462 )
...
mc ls --versions alias/ has an unexpected output due to missing
consideration of this use case. This commit fixes the behavior.
2020-10-22 17:35:51 -07:00
Maxime Bochon
d1232dc089
fix: missing closing part of code block and italic ( #3460 )
2020-10-22 09:23:59 -07:00
Harshavardhana
91c9364f3c
add context for mirror failures ( #3464 )
2020-10-21 13:42:18 -07:00
Shireesh Anjal
440f6dccbc
Deprecate admin health, add admin subnet health ( #3455 )
...
The existing command `admin health` is being restructured to `admin
subnet health` as the reports generated by this command are primarily
intended to be uploaded to Subnet.
If user runs the `admin health` command, they'll be asked to run `admin
subnet health` command.
2020-10-21 09:29:58 -07:00
Anis Elleuch
6bae0eb218
More fixes for retention/legalhold docs ( #3458 )
2020-10-19 14:00:02 -07:00
Ravind Kumar
b47b2e19a8
Update mc retention, remove mc lock links. ( #3457 )
2020-10-19 09:20:48 -07:00
Anis Elleuch
00f655ac41
Fix missing completion rules for new/modified cmds ( #3454 )
...
Add a unit test to check new or any command modification as well.
2020-10-18 11:35:15 -07:00
Anis Elleuch
b7a3dff287
Fix 'did you mean' message ( #3448 )
2020-10-12 09:53:51 -07:00
Anis Elleuch
8a8611cf74
s3: Stat() to filter object name when falling back to listing ( #3449 )
...
client S3 Stat() API tries to use HEAD requests but fall back to regular
listing when there is a permission issue with HEAD or when the object is
encrypted using SSE-C.
However the code accepts any entry from the minio-go listing API
which is wrong. It needs to only accept the object name as passed
by the the upper layer.
2020-10-10 15:24:39 -07:00
Anis Elleuch
bb2bfdc918
Show a better err msg when Control-C is hit ( #3446 )
...
Currently the error message is "context canceled" which is cryptic
2020-10-08 11:46:11 -07:00
Anis Elleuch
0324fdcc6e
mv: Fail only if bucket locking is enabled in source urls ( #3444 )
2020-10-08 11:04:49 -07:00
Anis Elleuch
2b36376bbc
retention: Fix status msg with info --default command ( #3445 )
...
Make the output little more prettier as well.
2020-10-08 11:04:33 -07:00
Shireesh Anjal
f11c3a9733
Update minio dependency and go version ( #3440 )
...
Update the minio dependency to latest master branch, and bump the go
version number to 1.14 (same as minio)
2020-10-07 22:19:11 -07:00
Anis Elleuch
3b65e9cba6
client-s3: List sends bucket names when bucket not specified ( #3439 )
...
This commit also has some simplifications in the the listing code.
2020-10-06 11:17:58 -07:00
Harshavardhana
f11ae85566
allow selection of tests in 'mc admin health' ( #3434 )
RELEASE.2020-10-03T02-54-56Z
2020-10-02 12:02:03 -07:00
Cesar N
7f2df96e48
Change ListOptions' fields to public ( #3433 )
2020-10-01 09:50:56 -07:00