Klaus Post
73e614aee9
Make trace stats more compact ( #4999 )
...
Make `mc admin trace -stats` more compact, and hopefully more readable.
* Truncates durations more reasonably
* Use `-` for 0 TTFB.
* Use `↑151B ↓12K` instead of `↑ 151 B ↓ 12 KiB/m`
* Reduce FPS from 7 to 3 for less flickering.
2024-07-26 05:50:54 -07:00
Anis Eleuch
58c42bc91b
Allow STANDARD_IA as a AWS tier storage class ( #4994 )
RELEASE.2024-07-22T20-02-49Z
2024-07-22 13:02:49 -07:00
Klaus Post
f6df01d750
Fix incorrect bool parsing ( #4991 )
...
For example `--json=false` would still print JSON.
Went through all usage, and I think I covered them all.
2024-07-18 09:08:30 -07:00
Anis Eleuch
ded36374e8
Show a warning when the server certificate duration is expiring soon ( #4989 )
...
When 90% of the validity time of a server is elapsed, print a warning
reminding the user to change the certificate.
2024-07-18 09:08:07 -07:00
mchtech
11034f9de1
mirror: let user decide whether to skip errors if client runs in watch / active-active mode ( #4986 )
...
Signed-off-by: mchtech <michu_an@126.com >
RELEASE.2024-07-15T17-46-06Z
2024-07-15 10:46:06 -07:00
Klaus Post
4d498deb35
Fix non-recursive compares against alias+key on Windows ( #4983 )
...
Many listings would stop after the first version had been processed on Windows, since
For example, `mytls/testbucket/trace.json` != `mytls\testbucket\trace.json` would cause `mc undo` to only see one version since this would fail.
Use `getStandardizedURL` for both sides of these compares.
RELEASE.2024-07-11T18-01-28Z
2024-07-11 11:01:28 -07:00
Shireesh Anjal
ddfd44cb35
Support metrics-v3 api in admin prometheus generate ( #4985 )
...
Add a flag --api-version with possible values of v2 and v3, with default
being v2.
So when this flag is not passed, the command will work exactly as it did
before.
When using v3, there is a different set of metric types supported. It
also supports a new flag:
bucket: the bucket for which the metrics are to be fetched. it is
applicable only for the metric types that are available at bucket level,
which currently are 'api' and 'replication'
2024-07-11 11:00:59 -07:00
Shireesh Anjal
ea33d018ca
Support metrics-v3 api in admin prometheus metrics ( #4982 )
...
Add a flag --api-version with possible values of v2 and v3, with the default
being v2. So when this flag is not passed, the command will work exactly
as before.
When using v3, a different set of metric types is supported. It
also supports two additional flags:
Bucket: the bucket for which the metrics are to be fetched. it is
applicable only for the metric types that are available at the bucket level,
which currently are 'api' and 'replication'
2024-07-11 01:33:12 -07:00
Harshavardhana
21d3ec0089
improve 'admin service restart' UI ( #4979 )
...
```
mc admin service restart local -w
Service status: ▰▱▱ [DONE]
Summary:
┌───────────────────────┬─────────────────────────────┐
│ Servers: │ 4 online, 0 offline, 0 hung │
│ Restart Time: │ 3.949842ms │
│ Background Init Time: │ 1.503707801s │
└───────────────────────┴─────────────────────────────┘
```
Existing UI didn't scale well for 100+ nodes, this
UI change is also made to provide clear guidance on
how soon the service is available v/s background
initialization time.
RELEASE.2024-07-08T20-59-24Z
2024-07-08 13:59:24 -07:00
Harshavardhana
661e19b3b2
update deps ( #4978 )
2024-07-04 07:29:35 -07:00
Harshavardhana
d6ff970125
honor bucket-key S3 feature ( #4976 )
...
fixes #4973
RELEASE.2024-07-03T20-17-25Z
2024-07-03 13:17:25 -07:00
Mark Theunissen
26680ab77c
Add ability to update tier credentials for Azure svc principal accounts ( #4975 )
2024-07-03 12:14:48 -07:00
Klaus Post
7e4b64d12a
Simplify go.mod ( #4977 )
...
Combine into direct and indirect sections. See https://github.com/golang/go/issues/67948 for why this is a mess.
Enables running `go mod tidy` without blowing up things.
2024-07-03 11:49:12 -07:00
Harshavardhana
74032bc16a
update govulncheck 1.22.5
2024-07-02 14:39:05 -07:00
Shubhendu
bbdd9638f2
Use new batch status api /status-job ( #4930 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-07-02 08:29:37 -07:00
Anis Eleuch
e0d2e95984
heal: Add hidden --pool and --set to heal a particular ES ( #4971 )
...
--pool and --set are hidden flags. They could be used to heal a
particular erasure set. --pool and --set start with 1 (not indexes)
2024-07-02 02:28:07 -07:00
Harshavardhana
f5b325d9d3
remove unused code
RELEASE.2024-06-29T19-08-46Z
2024-06-29 12:08:46 -07:00
Harshavardhana
6811427b8b
provide a overall summary along with call-wise ( #4970 )
...
```
Duration: 1m3s ▱▱▱
RPM : 1168103.3
RX Rate:↑ 2.5 TiB/m
TX Rate:↓ 2.4 TiB/m
-------------
...
```
2024-06-28 16:17:44 -07:00
Harshavardhana
3548007d5b
fix: make sure to set the right sse-kms key ( #4967 )
RELEASE.2024-06-24T19-40-33Z
2024-06-24 12:40:33 -07:00
Harshavardhana
dda9e96887
make 'mc admin service restart' more descriptive of what it does ( #4965 )
RELEASE.2024-06-20T14-50-54Z
2024-06-20 07:50:54 -07:00
Harshavardhana
8876275c07
list versions including DEL marker when figuring out Stat() ( #4951 )
...
this is needed to avoid an inconsistent behavior when an
object exists v/s DEL marker or FreeVersion exists.
2024-06-19 22:57:53 -07:00
Prakash Senthil Vel
b72bd7992c
enable batch expiry option in trace ( #4964 )
...
add batch expiry option in trace
2024-06-19 22:17:42 -07:00
Harshavardhana
a289dae750
fix: support 'mc put --if-not-exists' ( #4963 )
...
Also allow 'mc get --version-id'
2024-06-18 14:15:26 -07:00
Sveinn
adaf70c7eb
Adding support for Hex keys ( #4962 )
2024-06-18 07:51:58 -07:00
Poorna
e7c9a733c6
fix replicate status display for older replication config ( #4957 )
...
that specified ARN in the Role field. This has since moved to
Destination.Bucket
RELEASE.2024-06-12T14-34-03Z
2024-06-12 07:34:03 -07:00
Harshavardhana
a472e3d9ed
switch RX and TX arrow marks correctly
...
the arrow marks must be from server perpective
not `mc` perspective.
2024-06-11 12:50:18 -07:00
Anis Eleuch
7a0a8f54d9
info: Add --offline flag to show only offline nodes ( #4955 )
RELEASE.2024-06-10T16-44-15Z
2024-06-10 09:44:15 -07:00
jiuker
e44a1c612d
fix: mc mirror got zero exit code when access denied ( #4952 )
2024-06-07 08:48:20 -07:00
Harshavardhana
17adf0abbb
add vulncheck with go upgrade
RELEASE.2024-06-05T18-13-30Z
2024-06-05 11:13:30 -07:00
Harshavardhana
0bd92d778e
add space between upload/download indicators
2024-06-05 11:12:13 -07:00
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 )
RELEASE.2024-06-01T15-03-35Z
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
ac55cd1023
remote flaky bucket_replication test for now
2024-05-30 10:00:02 -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.
RELEASE.2024-05-24T09-08-49Z
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
Harshavardhana
fdb36acbb1
fix: test regression since #4920 ( #4928 )
...
use mc_cmd always inside `functional-tests.sh`
Bonus: run shell formatting
RELEASE.2024-05-09T17-04-24Z
2024-05-09 10:04:24 -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
2fb9e21122
Added test for bucket replication ( #4920 )
...
Make sure proxying of DEL markers doesnt happen to remote site
while stat calls.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-05-09 01:40:35 -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.
RELEASE.2024-05-03T11-21-07Z
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