poornas
e03d8d99a3
Fix crash in mc admin console ( #3079 )
...
Fixes : #3078
2020-02-14 10:54:22 -08:00
Harshavardhana
f7c366ae3d
add debug support for 'config host add' ( #3076 )
2020-02-13 21:36:10 +05:30
Andreas Auernhammer
551a124804
add the mc admin kms subcommands ( #2882 )
...
This commit adds the first set of KMS admin
commands.
For new there is only the
`mc admin kms key status <endpoint> [key-ID]` command
that can be used to fetch status information for a
KMS master key. Listing and rotation commands are
planed.
2020-02-05 10:29:17 -08:00
Reinhard Koehn
609274326b
Ensure 64bit alignment on 32bit builds for atomics ( #3065 )
...
Keep elements that are used with atomic.* functions as first element
of struct because it guarantees 64bit alignment on 32 bit machines.
atomic.* functions crash if operand is not aligned at 64bit.
See https://github.com/golang/go/issues/599
2020-02-04 13:17:27 -08:00
ebozduman
ac9b942397
check for bucket exists in 'admin heal' ( #3059 )
2020-02-01 10:55:13 -08:00
Harshavardhana
b70a79e39b
fix: handle symlinks by reading/following as needed ( #3053 )
...
Avoid using filepath.EvalSymlinks and let the caller
fail appropriately for symlinks.
Fixes #3011
2020-01-23 02:33:58 -08:00
Harshavardhana
28aae43c8c
fix: best effort save permissions always ( #3050 )
2020-01-17 14:02:12 -08:00
Harshavardhana
0596acea95
admin/console: Fix a crash in console string generation ( #3049 )
2020-01-17 05:51:01 -08:00
Harshavardhana
8694ddb3ee
Update pkg/madmin to support multiple profilers ( #3048 )
2020-01-16 12:31:49 -08:00
Maël Valais
c27941bc2a
cp: add missing } in help template ( #3047 )
2020-01-15 01:43:14 -08:00
Anis Elleuch
632f0949bd
retention: Error out early when url argument does not point to S3 server ( #3041 )
2020-01-10 16:53:09 -08:00
Harshavardhana
374100da7e
fix: update docs for --attr command ( #3040 )
...
Also canonicalize metadata headers automatically
before, minio-go consumes it.
2020-01-10 19:18:42 +05:30
Harshavardhana
3f87064138
fix: du to ignore too many recursive symlinks ( #3033 )
2020-01-08 07:30:44 -08:00
Harshavardhana
63821bbe3f
fix: crash in cp when cpURLs return error ( #3035 )
2020-01-07 12:17:00 -08:00
Klaus Post
2a66f9ba2b
Only rename config directories ( #3032 )
...
If the user placed an `mc.exe` in the user directory and wasn't used it, it would be renamed.
2020-01-07 10:45:39 -08:00
poornas
27a033440e
Add lock and retention docs ( #3034 )
2020-01-06 15:16:47 -08:00
Bala FA
50766862c1
fix default flag behaviour in du command ( #3031 )
...
- `mc du` without args should print help like other `mc` commands
- `mc du` should behave like `du -h --max-depth=1` as default
- optional `--recursive` if they want capacity for each folder.
fixes #2871
2020-01-04 12:56:35 -08:00
Harshavardhana
6d1a41458b
Use colorjson to indent json properly in cp ( #3030 )
...
Additionally also do not initialize progress bar in json
or quiet mode in mirror.
Fixes #3029
Fixes #3017
2020-01-03 12:14:39 -08:00
Harshavardhana
9663319e9e
Update mc dependencies to recent dep change on MinIO ( #3026 )
2019-12-31 11:27:59 -08:00
kannappanr
8f0b923312
Mirror: Generate STag and ETag on destination only in Multimaster mode ( #3021 )
2019-12-26 12:54:28 -08:00
Harshavardhana
7c9ea88742
Update to latest minio/minio ( #3020 )
2019-12-24 05:46:13 -08:00
Harshavardhana
ee283811a3
fix: ignore APINotImplemented errors from filesystem ( #3018 )
2019-12-19 15:24:34 -08:00
Harshavardhana
d92d2f0d4f
Upgrade to new Listen bucket API ( #3008 )
2019-12-14 08:53:55 -08:00
Anis Elleuch
f2f8f858a6
cp: Only use session when -c is passed ( #2989 )
2019-12-13 10:20:56 -08:00
ebozduman
64e0c36e3b
Extraneous line in 'mc admin info' output ( #3010 )
2019-12-12 12:01:22 -08:00
ebozduman
85f814eb44
Stops showing usage info if Bucket#=0 ( #3007 )
2019-12-11 20:46:30 -08:00
ebozduman
2616a1d051
New admin info ( #2982 )
2019-12-11 18:25:55 -08:00
BigUstad
7038207039
Replace Timestamp separator ( #3002 )
...
Replace time stamp separator to use `-`
2019-12-11 17:33:17 -08:00
Klaus Post
23aab5b458
mc sql: Use compression parameter ( #2996 )
...
The compression parameter is not actually used, but always guessed from the file extension.
Only guess the compression type if it is not explicitly set.
Uploading a file called `out.csv.geezipd`:
Before:
```
λ mc sql -e="SELECT * from s3object LIMIT 1" --compression=GZIP --csv-input "rd=\n,fh=USE,fd=;" local/test/out.csv.geezipd
�""���k↔��Xs��W.v� ��)��{2#��,r���:�|D▲�.��f♫��→�i�p�2l�♫��ʭ���Q��v▲�5ر�c
```
(content actually not ungzipped)
After:
```
λ mc sql -e="SELECT * from s3object LIMIT 1" --compression=GZIP --csv-input "rd=\n,fh=USE,fd=;" local/test/out.csv.geezipd
"281,1285,159625,159627,2637,20000827.0117590018,1239029,1663,-6.7535419,1533,0.53597438,8"
```
We leave validation of the compression value to the server.
2019-12-11 09:24:45 -08:00
Harshavardhana
e109a5370a
Multi-master only run single startMirror at a time ( #3003 )
...
Also randomize the sleep appropriately based
on Unix() time source.
2019-12-10 23:00:41 -08:00
poornas
871b8da9a6
Fix mirroring of PutObjectRetention event ( #3004 )
2019-12-10 16:23:42 -08:00
Harshavardhana
34757e2ce2
Mirror with fallback list in multimaster mode, copy missing files ( #2999 )
2019-12-09 07:56:18 -08:00
Harshavardhana
dff0f0318c
Avoid mirror fatalIf in multi-master ( #2998 )
2019-12-09 18:50:11 +05:30
Krishna Srinivas
8a488ba0e4
Do full scan diff+mirror in multi-site mirror mode ( #2994 )
2019-12-09 01:32:58 -08:00
Krishna Srinivas
ea0a4b2142
Fix multi-master setup help text ( #2993 )
2019-12-09 00:52:47 -08:00
kannappanr
4482063fb9
Retry mirror forever on watch ( #2992 )
2019-12-08 19:44:46 -08:00
Krishna Srinivas
2d8bd7aecc
Support for multi master sites ( #2991 )
2019-12-08 16:25:50 -08:00
Harshavardhana
69bea2eb96
Continue listing upon error during diff and mirror ( #2988 )
2019-12-08 14:34:52 -08:00
Anis Elleuch
c5112d4a0f
watch: Add site wide level support ( #2987 )
2019-12-08 11:35:35 -08:00
Krishna Srinivas
a8064ff644
Continue mirroring inspite of error events ( #2986 )
2019-12-07 18:00:58 -08:00
Harshavardhana
fccdcfe803
fix: Source content can be nil when updating progress bar ( #2984 )
2019-12-07 10:06:16 +05:30
Harshavardhana
543ea4bd90
change target to name in config help ( #2983 )
2019-12-07 10:05:32 +05:30
Harshavardhana
da47ed8ac4
Avoid re-parsing config history elements ( #2981 )
2019-12-06 07:17:35 +05:30
Harshavardhana
f3b2d5471f
Add finalized command line options ( #2979 )
2019-12-04 21:03:34 -08:00
Harshavardhana
3f426ff7e0
Update export command to print disabled sub-sys as comments ( #2978 )
2019-12-03 12:10:12 -08:00
Harshavardhana
1e1480f408
Fix progress bar update regression ( #2976 )
...
Regression introduced in cf6defe025
2019-11-30 17:19:23 -08:00
poornas
4e316c3a40
Remove duplicated API method(s) for object retention ( #2973 )
2019-11-27 09:44:39 -08:00
Harshavardhana
cb110f7403
Add support for auto-complete in 'mc admin config' commands ( #2975 )
2019-11-27 09:36:40 -08:00
Harshavardhana
21a79b4a44
Add import/export command ( #2974 )
2019-11-26 10:08:41 -08:00
Harshavardhana
cf6defe025
Fix totalSize and totalCounts calculation ( #2969 )
2019-11-25 18:27:01 +05:30