Harshavardhana
e7c79413d7
fallback to bucket retention info for only bucket names ( #3860 )
2021-11-08 09:49:56 -08:00
Harshavardhana
7866f97ef5
Revert "Remove unused Transport option. ( #3818 )"
...
This reverts commit bc69976481 .
This option is used by console
2021-10-26 19:49:40 -07:00
Harshavardhana
ae271e7645
add new linters and fix unnecessary type conversions ( #3835 )
2021-10-14 15:33:31 -07:00
Harshavardhana
44a597a9f9
allow removal of replica/ilm event-types ( #3823 )
2021-10-06 09:24:12 -07:00
Klaus Post
bc69976481
Remove unused Transport option. ( #3818 )
2021-10-01 11:41:34 -07:00
Anis Elleuch
1bcd5df300
Add ilm restore command ( #3790 )
2021-09-24 09:32:39 -07:00
Poorna Krishnamoorthy
6bf64d9704
Add multisite replication support in mc replicate cmd ( #3766 )
...
Also adding a flag to `mc replicate reset` to allow
granular replication reset by target
2021-09-15 10:32:28 -07:00
Anis Elleuch
0667914d16
rb: --force flag forces bucket removal after BucketNotEmpty err ( #3780 )
...
Some users struggle to remove a bucket when they don't use recommended
setups, such as NFS disks.
This command will force bucket removal in server side, using
x-minio-force-delete during DELETE bucket call.
2021-08-23 07:10:41 -07:00
Harshavardhana
c3ab68ed1e
allow configuring multipart size for testing ( #3761 )
...
add MC_UPLOAD_MULTIPART_SIZE, MC_UPLOAD_MULTIPART_THREADS
to test in situations when default values are not enough
for showing proper bandwidth usage.
2021-07-23 09:21:59 -07:00
Poorna Krishnamoorthy
2c52cdf27c
Add flag to mc replicate for existing object replication ( #3698 )
...
This allows triggering a resyncing of previously
replicated objects when existing object replication is
enabled. It is useful in scenarios where replication target
is entirely lost and content needs to be replicated again.
2021-06-12 18:02:25 -07:00
Harshavardhana
91efd0c066
migrate mc to minio/pkg ( #3731 )
...
remove all dependency for minio/minio
2021-05-29 09:30:33 -07:00
Harshavardhana
1402987ccb
change license to AGPLv3
2021-05-11 17:45:08 -07:00
Poorna Krishnamoorthy
20e5905de0
Add mc replicate status command ( #3684 )
2021-04-21 14:05:17 -07:00
Anis Elleuch
a093f822e2
Avoid automatic copy of storage class ( #3681 )
2021-04-06 10:24:34 -07:00
Anis Elleuch
e10c82f9ad
cp: Add --tags to tag uploaded objects ( #3644 )
...
Applying tagging to objects copied in an S3 object using --tags flag.
2021-03-16 08:46:28 -07:00
ebozduman
501b791408
Fixes conflicting Failure&Successful msgs in 'mc rb' output ( #3616 )
2021-03-10 23:13:55 -08:00
Harshavardhana
24ebcf13cf
fix: make listing consistent with top level delete marker ( #3587 )
...
```
~ mc ls s3/tbucket13/x.txt
[2021-01-25 13:24:09 PST] 525B z.txt
```
```
~ mc ls s3/tbucket132/x.txt
[2021-01-25 13:31:41 PST] 525B x.txt/z.txt
```
2021-01-25 14:39:16 -08:00
Anis Elleuch
130f4393bb
cp: Copy recursive paths having the passed prefix ( #3563 )
2021-01-24 00:06:40 -08:00
Harshavardhana
95ee8f0714
list with maxKeys=1 for url2Stat() calls ( #3557 )
2021-01-03 11:34:53 -08:00
Anis Elleuch and Anis Elleuch
d0e1456be3
client-s3: Stat() should return data for passed directories ( #3539 )
...
Co-authored-by: Anis Elleuch <anis@min.io >
2020-12-18 02:42:34 -08:00
Anis Elleuch
4e8e67fb04
mirror: Add support of site-wide mirroring ( #3467 )
2020-12-14 14:10:09 -08:00
Harshavardhana
b6969bc501
add support for watching for replication/ilm events ( #3525 )
2020-12-07 12:23:11 -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
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
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
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
Anis Elleuch
965747e45d
Fix client-s3.Makebucket behavior with object in path ( #3470 )
2020-11-06 09:38:43 -08: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
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
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
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
Cesar N
7f2df96e48
Change ListOptions' fields to public ( #3433 )
2020-10-01 09:50:56 -07:00
Poorna Krishnamoorthy
1ca2182203
Change mc stat output format for bucket info ( #3318 )
2020-09-30 13:07:19 -07:00
Anis Elleuch
9ff6c146b4
rm: Show deleted error msg when delete marker is found ( #3407 )
...
HEAD object returns 404 with a delete-marker header when the object is a
delete-marker in a versioning bucket. This PR will show a better error
message in that case.
Use url2Stat() and ignore 400 bad request error.
2020-09-21 11:42:31 -07:00
Harshavardhana
1dde65d9c0
fix: display objects endpoint with / properly ( #3408 )
2020-09-17 15:34:47 -07:00
Harshavardhana
93209e842c
re-implement metadata handling to preserve nanosecs as well ( #3402 )
2020-09-12 10:20:03 -07:00
Anis Elleuch
af6cff00a5
retention: Refactor and add support of versioning ( #3347 )
2020-09-06 10:33:15 -07:00
Anis Elleuch
7f550f9482
legalhold: Refactor & add versioning support ( #3343 )
2020-09-05 17:11:38 -07:00
Harshavardhana
d5b4a04592
allow specifying a custom region override for any endpoint ( #3386 )
2020-08-31 09:04:22 -07:00
Anis Elleuch
a104aa1cb2
tag: Add --version-id support ( #3364 )
2020-08-25 21:40:09 -07:00
Harshavardhana
c58148a421
avoid calling get bucket object lock config for same bucket ( #3378 )
2020-08-25 10:50:40 -07:00
Anis Elleuch
b1ca6482d5
share: Support --version-id in Download command ( #3365 )
2020-08-21 00:08:55 -07:00
Harshavardhana
091a109e5a
fix: set replace metadata to preserve ( #3356 )
2020-08-12 19:41:44 -07:00
Harshavardhana
cdb458c987
fix: do not close contentCh prematurely without versioning
2020-08-12 16:03:30 -07:00
Harshavardhana
f9dc22561c
fix: mc rb site-wide removal with versioning ( #3355 )
2020-08-12 14:19:10 -07:00
poornas
5ad2d36f5c
Add ReplicationStatus to stat cmd output ( #3351 )
2020-08-11 14:19:17 -07:00
kannappanr
588a8fcd17
rename versioning to version ( #3345 )
2020-08-07 13:32:11 -07:00
poornas
069968c8aa
Change replicate command cli ( #3335 )
2020-08-07 08:15:27 -07:00
Anis Elleuch
0c4b649369
stat: Show lifecycle expiration date if set ( #3344 )
...
Add a new field in the stat output to show if the object has any
expiration date due to lifecycle expiration rules. The expiration date
is show in machine local time.
2020-08-06 14:19:41 -07:00