Klaus Post
3997483ce7
Add sizes to mc admin trace ( #4949 )
...
```
Regular trace:
2024-06-03T14:18:37.303 [STORAGE] storage.ReadXL 127.0.0.1:9001 e:\data\distxl\s1\d3 warp-benchmark-bucket pz9WSPPj/4.TnpU8KEot9t4zl66.rnd 538.3µs 1003 B
With -v:
127.0.0.1:9001 [STORAGE storage.ReadXL] [2024-06-03T14:14:51.680] e:\data\distxl\s1\d3 warp-benchmark-bucket yvhiOPYp/117.hjDOOH6KmAhtC0Ty.rnd total-errs-availability=0 total-errs-timeout=0 0s 1003 B
With -stats
Duration: 21s ∙∙●
Call Count RPM Avg Time Min Time Max Time Avg TTFB Max TTFB Avg Size Errors
storage.ReadXL 15808 (67.2%) 44344.8 429µs 0s 69.9984ms 0s 0s 1.2 KiB 0
storage.Delete 3088 (13.1%) 8662.5 2.056ms 9.7075ms 305.0662ms 0s 0s - 3
http stats:
Duration: 14s ∙∙●
Call Count RPM Avg Time Min Time Max Time Avg TTFB Max TTFB Avg Size Errors
s3.GetObject 4532 (44.1%) 19502.8 1.121ms 267.5µs 67.9369ms 1.098ms 67.9369ms ↓77 B ↑1000 B 0
s3.HeadObject 3028 (29.4%) 13030.6 1.031ms 506.8µs 62.9893ms 0s 0s ↓77 B 0
s3.PutObject 1711 (16.6%) 7363.1 21.109ms 2.5496ms 181.8214ms 9µs 10.6771ms ↓1.3 KiB ↑0 B 0
s3.DeleteObject 1008 (9.8%) 4337.8 56.204ms 1.5859ms 411.1034ms 1.185ms 175.1619ms ↓77 B ↑4 B 0
s3.DeleteMultipleObjects 1 (0.0%) 4.3 316.358ms 316.3584ms 316.3584ms 315.306ms 315.3055ms ↓23 KiB ↑24 KiB 0
```
Backwards compatible, but will start displaying non-zero after: https://github.com/minio/minio/pull/19851 and https://github.com/minio/minio/pull/19864
2024-06-05 00:50:20 -07:00
Aditya Manthramurthy
d4b7b00d73
Bump up minio/pkg to v3 ( #4940 )
2024-05-23 00:59:47 -07:00
Sveinn
fe58afcd39
Large MC Update (new encryption flags, functional test suite, removal of session code, minor cleanup, vuln. updates ) ( #4882 )
2024-04-15 08:10:25 -07:00
jiuker
5ff2208a2d
add mc get ( #4847 )
2024-02-21 18:34:48 -08:00
jiuker
1e69c2aadd
feat: add put action ( #4839 )
2024-02-19 22:36:31 -08:00
Sveinn
669cb0a9a4
Removing terminal whitelist for pager mechanism ( #4843 )
2024-02-09 14:18:24 -08:00
Sveinn
7484802005
Making cli pager optional + better visual indicators for scrolling ( #4819 )
2024-01-16 08:06:34 -08:00
Sveinn
bf2d21809a
Arranging command help menu alphabetically ( #4817 )
...
arranging commands alphabetically
2024-01-11 22:49:15 -08:00
Klaus Post
d2a2bdb07b
Fix missing colours on windows ( #4721 )
2023-10-19 11:31:34 -07:00
Anis Eleuch
4be483de6d
scanner: Limit the active disks if no enough term space ( #4705 )
...
If the terminal height is not enough to show the number of active disks,
which is likely the case in a large deployment, print only a few entries
until the number of lines reaches the terminal height.
2023-10-03 08:31:31 -07:00
Aditya Manthramurthy
e2056fb057
Update to minio/pkg v2 ( #4674 )
2023-09-02 14:28:03 -07:00
Aditya Manthramurthy
8c06f54d8b
Move mc admin idp to mc idp ( #4574 )
2023-05-19 15:10:28 -07:00
Harshavardhana
252421354c
update functional tests for admin_users with 'policy commands' ( #4508 )
2023-03-19 20:49:16 -07:00
Harshavardhana
34a67cb169
cleanup mc to use 'go' errs to be 'e' ( #4450 )
2023-01-24 02:03:57 -08:00
Poorna
b61ad7a959
Move mc admin bucket quota to mc quota ( #4389 )
2022-12-07 12:11:52 -08:00
Harshavardhana
cf7e0ae050
generalize input for ctx.Command.Name ( #4338 )
2022-11-01 08:04:26 -07:00
Harshavardhana
27322636ae
feat: Introduce 'mc batch' command ( #4225 )
2022-10-09 14:10:59 -07:00
Anis Elleuch
f85086b153
Use a pager for help output ( #4245 )
2022-09-28 11:28:02 -07:00
Anis Elleuch
f151b8ab42
Print supported flags only if there is at least one flag defined ( #4259 )
2022-09-19 07:03:22 -07:00
Harshavardhana
acd390f261
allow support for airgapped 'mc update' URL ( #4244 )
...
support airgapped environments to update `mc`
via a URL, similar to `minio server`
2022-09-12 12:51:52 -07:00
Taran Pelkey
68a36788aa
Add od command ( #4180 )
2022-08-22 22:02:23 -07:00
Shireesh Anjal
7b20dc2958
Move support register to license register ( #4150 )
...
Also, introduce a new command `license info` to print information
from the license (when the license is available)
2022-07-13 18:25:30 -07:00
Ashish Kumar Sinha
add7b7b881
add mc ping command ( #4074 )
2022-07-11 09:16:12 -07:00
Praveen raj Mani
c29c4a38a6
Implement mc ready to check if the cluster is ready or not ( #4101 )
...
Also adds option to check if the cluster has enough read quorum and if
the cluster is taken down for any maintenance.
Uses madmin.AnonymousClient for invoking the requests
2022-07-01 12:02:25 -07:00
Harshavardhana
17f5b7b11c
add further license banners in default 'help' output ( #4129 )
2022-06-22 09:41:02 -07:00
Anis Elleuch
0e44ad30db
Update version printing to include more information ( #4125 )
...
Show licence, copyright header and platform in addition to mc version.
2022-06-16 13:17:03 -07:00
Harshavardhana
fc1d65b6e8
filter out hidden flags from error printing ( #4122 )
2022-06-16 09:45:16 -07:00
Anis Elleuch
3902b3b03f
Refactor profiling and add goroutines ( #3992 )
...
Running mc like this,
`MC_PROFILER=mem,goroutine mc ...` will start profiling and save
profiling data when mc quits with Control-C.
2022-02-21 14:50:51 -08:00
Harshavardhana
c595efe440
fix: some inconsistencies in 'mc support' command
2022-02-13 15:21:46 -08:00
Klaus Post
e71b1c80b4
Skip Shell check on Windows ( #3973 )
...
Fixes `mc: <ERROR> Failed to enable autocompletion. Cannot
determine shell-type and SHELL environment variable found: exit status 1.`
on Windows.
2022-02-10 17:52:02 -08:00
Shireesh Anjal
af7c550f26
Add command to configure callhome options ( #3940 )
2022-02-01 15:50:39 -08:00
Harshavardhana
f06a4b20a3
add missing 'mc admin inspect' examples ( #3934 )
2022-01-28 14:41:35 -08:00
Harshavardhana
a59f9e4d30
add gofumpt support, automated cleanup ( #3911 )
2022-01-06 10:55:40 -08:00
Harshavardhana
2d516d350a
Allow specifying many aliases in MC_CONFIG_ENV_FILE ( #3885 )
...
Allows for getting ENV secrets remotely, or from
secure vault secrets.
2021-12-11 08:29:11 -08:00
Harshavardhana
3a4e469334
feat: detect starting from windows explorer ( #3869 )
...
Windows users often click on the binary without
knowing `mc` is a command-line tool and should be
run from a terminal. Throw a message to guide them
on what to do.
2021-11-16 00:21:48 -08:00
Harshavardhana
7dafdaf88e
rename policy to anonymous command ( #3755 )
...
although keep `policy` command hidden
for backward compatibility.
2021-07-19 08:49:28 -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
Frederick Zhang and Ersan
8760185bc3
Remove IsInstalled() call before auto-completion installation ( #3548 )
...
At the moment posener/complete [1] doesn't allow specifying shell for
IsInstalled(), which might lead to confusing error messages, since it
just returns true if it's able to find completion definition in *any*
shell configurations even if it's not what the user currently uses.
Hence we should remove this check and call Install() directly, and user
can get more details in this case.
[1] https://github.com/posener/complete
* Improve auto-completion installation handling as per @ebozduman
* Improve messages when user's using an unsupported shell
* Refactors mc auto-complete logic
Co-authored-by: Ersan <ersan.bozduman@gmail.com >
2021-01-21 20:48:22 -08:00
Anis Elleuch
d4fbfb5975
Show better looking help when a wrong flag is passed ( #3461 )
2020-12-02 22:19:26 -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
b7a3dff287
Fix 'did you mean' message ( #3448 )
2020-10-12 09:53:51 -07:00
Harshavardhana
db1b508d8b
update minio to pkg/madmin changes
2020-09-23 13:00:06 -07:00
Anis Elleuch
fede0756d4
Implement undo command ( #3394 )
2020-09-16 18:59:28 -07:00
Anis Elleuch
af6cff00a5
retention: Refactor and add support of versioning ( #3347 )
2020-09-06 10:33:15 -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
Harshavardhana
6a98216c53
rename all bucket commands ( #3334 )
2020-07-31 15:18:57 -07:00
poornas
7ffa755cd9
Move version commands to top level ( #3329 )
2020-07-30 09:53:15 -07:00
poornas
ceb216f8a3
Add mc encrypt command ( #3312 )
2020-07-29 21:26:42 -07:00