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
voldikss
3cfa8642fd
fix: rm command with --newer-than not working ( #4944 )
2024-06-01 08:03:35 -07:00
Klaus Post
5040e61400
Fix support top net JSON ( #4948 )
...
JSON output was completely mangled.
Add switch to limit the number of responses.
2024-05-31 07:59:52 -07:00
jiuker
3774027cea
fix: avoid HeadObject call for mc get ( #4947 )
2024-05-31 07:53:51 -07:00
Harshavardhana
a8fdcbe7cb
restructure credential creation with simplified expectations ( #4939 )
...
avoid weird coding style, simplify by using relatively
less number of variables and move things around to make
code more readable.
Improve HELP output readability.
2024-05-24 02:08:49 -07:00
Aditya Manthramurthy
d4b7b00d73
Bump up minio/pkg to v3 ( #4940 )
2024-05-23 00:59:47 -07:00
Harshavardhana
b46cf3c417
simplify histograms, make it based on the server return ( #4935 )
2024-05-13 09:31:11 -07:00
Harshavardhana
900235c14b
keep pool display order and also pretty it ( #4931 )
...
```
mc admin info play/
● play.min.io
Uptime: 4 minutes
Version: 2024-05-10T08:24:14Z
Network: 1/1 OK
Drives: 4/4 OK
Pool: 1
┌──────┬───────────────────────┬─────────────────────┬──────────────┐
│ Pool │ Raw Usage │ Erasure stripe size │ Erasure sets │
│ 1st │ 8.5% (total: 120 GiB) │ 4 │ 1 │
└──────┴───────────────────────┴─────────────────────┴──────────────┘
8.4 GiB Used, 479 Buckets, 3,585 Objects, 210 Versions, 27 Delete Markers
4 drives online, 0 drives offline, EC:1
```
2024-05-10 11:56:40 -07:00
jiuker
1b890948e8
fix: mirror --summary should work like -q ( #4923 )
2024-05-10 11:47:20 -07:00
jiuker
0d8c4f8aa8
fix: mc find --metadata work without prefix ( #4926 )
2024-05-09 07:13:21 -07:00
Sveinn
a96123be2e
showing disable-pager flag as an option ( #4929 )
2024-05-09 07:13:07 -07:00
jiuker
5378c957f5
fix: mc rb --force return ok with bucketNotExists ( #4927 )
2024-05-09 03:32:30 -07:00
Kanagaraj M
45ae31533d
fix replication bandwidth unit conversion ( #4922 )
2024-05-09 03:04:18 -07:00
Shubhendu
62b110408f
Correct spelling in message ( #4924 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-05-09 01:41:56 -07:00
Shubhendu
646712d5e5
Fix panic in mc admin health command ( #4921 )
...
The globalFlags were getting added twice and so causing duplicate
error andso a panic.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-05-07 08:20:21 -07:00
Klaus Post
b471de8d18
Add standard EC setting to admin info ( #4918 )
...
Discretely adds the standard EC setting to regular `mc admin info`.
```
λ mc admin info play
● play.min.io
Uptime: 1 hour
Version: 2024-04-15T10:03:01Z
Network: 1/1 OK
Drives: 4/4 OK
Pool: 1
Pools:
1st, Erasure sets: 1, Drives per erasure set: 4
945 MiB Used, 409 Buckets, 5,498 Objects, 52 Versions, 4 Delete Markers
4 drives online, 0 drives offline, EC:2
```
Will save many deep dives into JSON.
2024-05-03 04:21:07 -07:00
Harshavardhana
b317d0d63d
fix: honor S3v2 if configured ( #4917 )
...
fixes #4915
A regression was introduced in #4755 , we hardly test
with v2 anymore so this has never been covered.
2024-05-03 04:17:42 -07:00
Harshavardhana
dcb911bed9
make s3Config Transport a roundTripper ( #4914 )
2024-04-30 10:44:48 -07:00
Sveinn
9fad66d824
updating prefix validation and adding some tests ( #4907 )
2024-04-30 10:29:33 -07:00
jiuker
5b7b222371
fix: divde by zero for decom status ( #4908 )
2024-04-29 02:56:05 -07:00
Sveinn
4a3f5899c6
enabling MC_DISABLE_PAGER and --dp ( #4909 )
2024-04-29 02:55:40 -07:00
Ziyi Fan
770097b64f
Fix the percent of pool used ( #4910 )
...
Fix a the percent of pool used in rebalance status
2024-04-29 02:55:22 -07:00
Harshavardhana
afd408284e
scanner token buffer can overflow use bufio.NewReader() ( #4912 )
...
To avoid the following error on binary objects
```
bufio.Scanner: token too long.
```
2024-04-29 02:48:39 -07:00
Harshavardhana
5dfaa31d67
move to crypto/sha256 instead of sha256-simd ( #4911 )
2024-04-25 15:35:12 -07:00
Shubhendu
bc47cebd91
Show ILM Expiry Replication status only if enabled ( #4900 )
...
In case Replication of ILM Expiry rules is disabled, mention the same
in `mc admin replicate status ALIAS` output.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-04-19 01:52:20 -07:00
Anis Eleuch
3ec030eb26
cosmetic: Hide mc admin bucket and its subcommands visible ( #4905 )
...
Current mc admin bucket is visible under 'mc admin' however, mc admin
bucket will not show sub-commands, which is confusing.
Hide mc admin bucket and make mc admin bucket subcommands visible for
now, until removed later.
2024-04-18 09:45:29 -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
Taran Pelkey
e701bce12c
Move mc idp ldap accesskey create --login to mc idp ldap accesskey create-with-login ( #4894 )
2024-04-12 00:00:53 -07:00
Krishnan Parthasarathi
0b13328b3a
Move ilm-tier-info to use lipgloss/table ( #4892 )
2024-04-02 15:58:53 -07:00
Krishnan Parthasarathi
0e3d1d50bf
Use lipgloss's table package for ilm-tier-ls ( #4890 )
2024-04-02 02:14:13 -07:00
Shireesh Anjal
206d017878
Expose health diagnostics related functions ( #4885 )
...
So that dependent projects (e.g. console) can make use of them instead
of duplicating the logic.
2024-03-30 08:28:09 -07:00
Praveen raj Mani
7bac47fe04
fix resync to find peers by deployment ID instead of site names ( #4884 )
...
The site names may vary if configured on UI. The Deployment ID
is immutable and can be used instead in replicate resync commands.
2024-03-25 09:41:14 -07:00
Shireesh Anjal
9043bbf545
Expose getClusterRegInfo ( #4881 )
...
so that it can be used by other projects (e.g. console) instead of
duplicating the logic.
2024-03-20 14:07:29 -07:00
Harshavardhana
53f59667f6
support node being part of multiple pools pick the actual number ( #4870 )
2024-03-13 12:22:53 -07:00
Harshavardhana
1ec55a5178
avoid stat and listing with --purge ( #4869 )
2024-03-08 22:43:06 -08:00
Shireesh Anjal
daf5b18e18
Add command for uploading file to SUBNET issue ( #4854 )
...
mc support upload --issue <issueNum> --comment <msg> <alias> </path/to/file>
Will upload the given file to the given SUBNET issue
2024-03-06 16:29:26 -08:00
Harshavardhana
98af07b69c
bring back the original progress bar ( #4866 )
...
also cleanup 'mc put/get' behavior
2024-03-02 16:13:08 -08:00
Shireesh Anjal
66daa906eb
mc support commands: allow --json in online mode ( #4859 )
...
There was a validation that said `--json` is supported only when
`--airgap` is also passed for SUBNET related `mc support` commands.
Remove this validation to allow `--json` to be passed even in online
mode. In this scenario, print a status JSON after upload to SUBNET.
2024-03-02 11:55:14 -08:00
dorman
c2bf38f647
mirror: add bucket exclusions ( #4861 )
2024-03-02 11:54:51 -08:00
dorman
94cf5edf7a
replicate: support alias ( #4864 )
2024-03-02 01:24:46 -08:00
jiuker
f17313e7ab
fix: emtpy progrese_bar and add change the color style white into green after upload success. ( #4857 )
2024-02-23 17:33:20 -08:00
Shireesh Anjal
744dc910d8
Do not validate deployment id from license if nil uuid ( #4856 )
...
In some very rare cases the license can contain a nil uuid
(00000000-0000-0000-0000-000000000000). Do not validate it against the
cluster's deployment id during registration.
2024-02-23 16:44:28 -08:00
jiuker
403bf6bc3a
fix: add showLastProgressBar ( #4855 )
2024-02-22 04:23:55 -08:00
Sveinn
e6288fa5f3
add help menu to put command when no parameters are present ( #4852 )
2024-02-21 18:35:53 -08:00
jiuker
5ff2208a2d
add mc get ( #4847 )
2024-02-21 18:34:48 -08:00
jiuker
e7ef65e655
fix: add error message to mc put ( #4849 )
2024-02-21 10:10:34 -08:00
Shubhendu
8156961333
Enable --expire-all-object-versions ( #4840 )
2024-02-20 06:47:42 -08:00
jiuker
1e69c2aadd
feat: add put action ( #4839 )
2024-02-19 22:36:31 -08:00
Poorna
7d5e4ed56d
fix example in admin replicate update ( #4846 )
2024-02-16 03:05:48 -08:00
dorman
6bb045a5e6
mirror: copy events also can mirror ( #4842 )
2024-02-14 13:19:52 -08:00