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
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 )
RELEASE.2024-04-29T09-56-05Z
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
Harshavardhana
2ed4cd91a7
fix: docker hotfix binaries
2024-04-19 09:41:02 -07:00
Harshavardhana
e59e453a14
fix: docker hotfix container builds
2024-04-19 09:33:18 -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.
RELEASE.2024-04-18T16-45-29Z
2024-04-18 09:45:29 -07:00
Harshavardhana
58a9cb37ec
upgrade deps to latest releases ( #4904 )
2024-04-18 07:46:46 -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
Aditya Manthramurthy
76c3674200
fix: build on linux/mips64 ( #4899 )
...
Also, add cross-compilation to CI. This includes all the archs we intend
to publish production binaries for.
`linux/mips64` was broken previously, and this is fixed by updating
github.com/shirou/gopsutil/v3 to the latest version.
2024-04-11 17:36:42 -07:00
Aditya Manthramurthy
6bac84d281
Update version for govulncheck ( #4898 )
2024-04-11 16:47:52 -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
dorman
9f8147bf0e
doc update ( #4867 )
RELEASE.2024-03-30T15-29-52Z
2024-03-30 08:29:52 -07:00
David Legrand
f740a6d40b
Functional tests: add a parameter for the full site cleaning test ( #4877 )
...
fixes #4876
The latest `mc rb` test cleans all the site data, and on the demo site,
there are sometimes WORM files put in by some users, which leads to
a failure. This test should only be run on sites where the user knows he can
clean everything without errors.
2024-03-30 08:29:28 -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
Klaus Post
89d742a76d
Update madmin to existing master ( #4888 )
...
Proposed branch no longer exists.
2024-03-28 08:12:19 -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.
RELEASE.2024-03-25T16-41-14Z
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.
RELEASE.2024-03-20T21-07-29Z
2024-03-20 14:07:29 -07:00
David Legrand
795ed1eb49
Fix functional-tests.sh file generation under macOS ( #4875 )
...
Fixes #4874
`head -c 0` leads to an `head: illegal byte count -- 0` error under macOS. We should also provide the input with `-i` parameter (it's ok under GNU/Linux too)
2024-03-16 03:01:31 -07:00
dependabot[bot]
2508db9c56
Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 ( #4872 )
...
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
RELEASE.2024-03-13T23-51-57Z
2024-03-13 16:51:57 -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 )
RELEASE.2024-03-09T06-43-06Z
2024-03-08 22:43:06 -08:00
dependabot[bot]
6302f888a5
Bump github.com/lestrrat-go/jwx from 1.2.28 to 1.2.29 ( #4868 )
...
Bumps [github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx ) from 1.2.28 to 1.2.29.
- [Release notes](https://github.com/lestrrat-go/jwx/releases )
- [Changelog](https://github.com/lestrrat-go/jwx/blob/v1.2.29/Changes )
- [Commits](https://github.com/lestrrat-go/jwx/compare/v1.2.28...v1.2.29 )
---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-08 14:29:25 -08:00
Harshavardhana
33a43e9c6e
update go to v1.21.8 for vulncheck
RELEASE.2024-03-07T00-31-49Z
2024-03-06 16:31:49 -08:00