Commit Graph
3946 Commits
Author SHA1 Message Date
Anis Elleuch f1f3003e5e Update minio-go to fix lcp bug (#3572) RELEASE.2021-01-16T02-45-34Z 2021-01-14 03:26:28 -08:00
Anis Elleuch 5fcb069e8a Add missing lifecycle versioning config parameters (#3565)
Add the following flags to mc ilm command:

  --expired-object-delete-marker
  --noncurrentversion-expiration-days
  --noncurrentversion-transition-days
  --noncurrentversion-transition-storage-class
2021-01-12 23:47:39 -08:00
Anis Elleuch c1fe60f7ad admin info: Show yellow dot when the cluster is not fully initialized (#3555) 2021-01-05 09:13:08 -08:00
Anis Elleuch e7df97d1e0 trace: Add more filters options (#3556)
Filter options are necessary if the server receives a lot of requests,
especially when the verbose mode is passed.
RELEASE.2021-01-05T05-03-58Z
2021-01-04 21:00:48 -08:00
Harshavardhana 95ee8f0714 list with maxKeys=1 for url2Stat() calls (#3557) 2021-01-03 11:34:53 -08:00
Harshavardhana c041d86f03 fix: add hidden flag to return count number of locks (#3552) 2020-12-30 14:58:00 -08:00
Anis Elleuch e13737383f mirror: FS should ignore some non supported S3 events (#3554)
Bucket creation & removal are events only supported by MinIO server and
they are not meaningful for FS. Just ignore them at FS level and avoid
reporting an error.
2020-12-30 07:02:10 -08:00
Damien Degois c00afbc516 Fix code block issue in remote section (#3531) 2020-12-24 15:53:57 -08:00
Poorna Krishnamoorthy 766b69802c Remove transition targets (#3547)
Remove transition targets from `mc admin bucket remote` command 
and references to transition s.c label in `mc ilm add` command and docs.

This is being deprecated in favor of an improved approach
to transition in the works.
2020-12-24 14:09:26 -08:00
Anis Elleuch 864e4589ac doc: Update missing versioning documentation (#3417) 2020-12-22 09:23:04 -08:00
Harshavardhana 41c804b179 fix: update to minio/pkg/console changes (#3545) 2020-12-20 10:10:29 -08:00
Anis Elleuch fca6cb2815 cp: Add unit test for copying directories (#3540)
Add unit tests to copy a directory in S3 with and without a trailing
slash.
2020-12-18 09:19:36 -08:00
Anis ElleuchandAnis Elleuch d0e1456be3 client-s3: Stat() should return data for passed directories (#3539)
Co-authored-by: Anis Elleuch <anis@min.io>
RELEASE.2020-12-18T10-53-53Z
2020-12-18 02:42:34 -08:00
SaintMalik 2b99236a22 Fix broken url in docs (#3537)
## Summary

Easy navigation and easy reading for others
RELEASE.2020-12-18T04-23-11Z
2020-12-17 08:53:22 -08:00
Harshavardhana 5023905a3a use minio/pkg/certs instead of custom implementation (#3536)
also depends on https://github.com/minio/minio/pull/11123
for k8s automatic trust for MinIO deployments under operator
2020-12-16 19:41:15 -08:00
Poorna Krishnamoorthy 5ed74df9ed Add mc admin bucket remote edit to edit credentials (#3480) 2020-12-16 15:51:29 -08:00
Anis Elleuch 4e8e67fb04 mirror: Add support of site-wide mirroring (#3467) 2020-12-14 14:10:09 -08:00
Harshavardhana 1967d38dd4 remove arm32 binary 2020-12-12 17:29:33 -08:00
Chengyou LiuandHarshavardhana 74fc02e5eb Add --summarize for ls (#3517)
Co-authored-by: Harshavardhana <harsha@minio.io>
RELEASE.2020-12-10T01-26-17Z
2020-12-09 15:26:29 -08:00
Harshavardhana 52fc5e8c15 fix extra space character in docker files 2020-12-07 16:17:40 -08:00
Nitish Tiwari 7ef637884c Move to Red Hat UBI (#3514)
Also use multi-arch Dockerfile instead of separate
files for each arch.
2020-12-07 16:09:05 -08:00
Harshavardhana 24101f18aa update minio/minio deps to honor dynamic config settings (#3526) 2020-12-07 16:02:56 -08:00
Harshavardhana b6969bc501 add support for watching for replication/ilm events (#3525) 2020-12-07 12:23:11 -08:00
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