dorman
ceb07bee89
fix return EOF failure on lines with trailing empty lines ( #5176 )
2025-03-28 02:05:40 -07:00
jiuker
5ce725ba7d
fix: no data transition will show error for when mc ilm info not found ( #5177 )
2025-03-28 01:26:11 -07:00
Harshavardhana
c652022dab
upgrade golang-lint to v2 ( #5178 )
2025-03-28 01:05:40 -07:00
Harshavardhana
d249b65941
pre-emptively disable sha256 payload if checksum is set ( #5167 )
2025-03-27 12:54:23 -07:00
dependabot[bot]
b2d265dcc6
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 ( #5169 )
...
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt ) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.1...v4.5.2 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-24 08:40:50 -07:00
Aditya Manthramurthy
0f061900ee
batch: use server's generate API when available ( #5166 )
...
Uses the new GenerateBatchJobV2 API to request server to list supported
batch jobs and to request job templates in `mc batch generate`
2025-03-14 10:29:01 -07:00
Klaus Post
cf909e1063
Add ping sort to mc support top rpc ( #5158 )
...
Use key 'p' to sort by ping.
2025-03-13 01:02:18 -07:00
Aditya Manthramurthy
c1d5d4cbb4
Update all deps ( #5165 )
RELEASE.2025-03-12T17-29-24Z
2025-03-12 10:29:24 -07:00
Shireesh Anjal
b3a00e0f8c
Update madmin-go to latest version ( #5161 )
...
and clear reference to the removed variable madmin.HealthDataTypeSysLoad
2025-03-11 10:47:28 -07:00
Aditya Manthramurthy
06520070bb
Update ssh and jws libs for fixed CVEs ( #5164 )
...
- https://pkg.go.dev/vuln/GO-2025-3488
- https://pkg.go.dev/vuln/GO-2025-3487
2025-03-11 09:36:39 -07:00
Harshavardhana
ce874fdc6a
rename rcp -> rpc
2025-03-07 15:46:22 -08:00
Shireesh Anjal
1e412f58a5
Remove logs feature from 'mc support callhome' ( #5157 )
...
Both the flags --logs and --diag are removed, and the command supports
only diagnostics callhome.
2025-03-06 08:30:58 -08:00
jinapurapu
b0f40b4db7
Reject add ILM rule with both day and date parameters ( #5155 )
2025-03-06 05:05:05 -08:00
jinapurapu
10035268c4
Fix transition days calculation ( #5154 )
2025-03-05 13:23:17 -08:00
Klaus Post
9eb205cb62
Mirror should delete on delete marker creation + ILM ( #5148 )
...
Fixes #5147
RELEASE.2025-02-21T16-00-46Z
2025-02-21 08:00:46 -08:00
jiuker
0ba848a99e
fix: use tags package instead of s3utils ( #5146 )
2025-02-20 00:54:15 -08:00
Grahit
28909abaa4
fix empty ilm tier list output ( #5145 )
2025-02-19 20:27:26 -08:00
Harshavardhana
383560b1c3
update all dependencies ( #5143 )
RELEASE.2025-02-15T10-36-16Z
2025-02-15 02:36:16 -08:00
Anis Eleuch
8585339d12
More fixes to custom arch hotfix building ( #5135 )
...
Set TARGET_GOOS and TARGET_GOARCH to specify the target architecture of
the built binary.
2025-02-14 08:49:56 -08:00
jiuker
468ab39f41
test: add tags copy test for mirror ( #5141 )
2025-02-14 08:49:41 -08:00
Klaus Post
217d92358b
Add CRC64NVME checksum type. ( #5142 )
...
Also adds `CRC32-FO` and `CRC32C-FO` for complete object checksums.
```
λ mc cp -checksum=crc64nvme mc.exe myminio/testbucket
...com\minio\mc\mc.exe: 41.95 MiB / 41.95 MiB
λ mc stat myminio/testbucket/mc.exe
Name : mc.exe
Date : 2025-02-14 13:59:05 CET
Size : 42 MiB
ETag : 7f130846cec6e6ece750565b1f3d9518-3
VersionID : f4daeb78-9eaf-4da9-b9ca-d8b65fbc69e3
Type : file
Checksum : CRC64NVME:TOfg0RHhpZk=
Metadata :
Content-Type: application/x-msdownload
λ mc cp -checksum=crc32-fo mc.exe myminio/testbucket
...com\minio\mc\mc.exe: 41.95 MiB / 41.95 MiB
λ mc stat myminio/testbucket/mc.exe
Name : mc.exe
Date : 2025-02-14 13:58:52 CET
Size : 42 MiB
ETag : 7f130846cec6e6ece750565b1f3d9518-3
VersionID : 1ec587dd-9127-42ee-ad82-58b48f9676d5
Type : file
Checksum : CRC32:3Dt3fQ==
Metadata :
Content-Type: application/x-msdownload
λ _
```
2025-02-14 08:13:46 -08:00
Mark Theunissen
c32317ef80
Improve docs to hint to the user that MD5 is not stored ( #5138 )
...
Improve docs to hint to the user that MD5 is the odd one out in this list
2025-02-13 10:19:41 -08:00
jiuker
089f833ce0
feat: support --custom-header flags ( #5127 )
2025-02-13 10:18:53 -08:00
Burkov Egor
42b78ded3a
fix: explicit fd close fix ( #5129 )
2025-02-13 02:41:18 -08:00
jiuker
147e8f5b3b
feat: add tags copy for mirror ( #5137 )
2025-02-13 02:39:59 -08:00
Klaus Post
e97f4324d5
Fix vet check ( #5134 )
...
... and pin toolchain.
2025-02-12 08:36:32 -08:00
Harshavardhana
859c5989a1
make custom ARCH based hotfixes
2025-02-11 15:37:45 -08:00
Harshavardhana
10c50368c5
remove fips build
2025-02-08 13:06:32 -08:00
dorman
bd925c01a1
mirror: add the duration time and beautify the output ( #5125 )
...
add the duration time and beautify the output
RELEASE.2025-02-08T19-14-21Z
2025-02-08 11:14:21 -08:00
Burkov Egor
030c8125eb
fix: urls equals nil deref ( #5126 )
...
Now in checks we can get nil dereference while both struct has Content
field of nil. But in code we cheching for nil, and I believe that
testcase can be real:
```go
urls1 := URLs{};
urls2 := URLs{};
urls1.Equal(urls2);
```
2025-02-07 02:46:26 -08:00
Harshavardhana
6376279f15
add support for pre-2023 minio deployments ( #5122 )
2025-02-04 14:18:02 -08:00
Taran Pelkey
5aee0b1c9e
Change enable to "enable=" ( #5104 )
2025-02-04 12:34:19 -08:00
Sveinn ( keyb1nd )
8d713ff927
Giving mirror the option to exit early when --remove is not set ( #5116 )
...
* Giving mirror the option to exit early when --remove is not set
* Making sure always to cancel the context on exit
* Adding an internal flag to enable local listing only based on active/active and remove flags
* Renaming localListingOnly to sourceListingOnly
2025-02-04 12:32:54 -08:00
Klaus Post
318e707071
Add "mc support upload" encryption ( #5113 )
...
* Add `--enc` parameter to `mc support upload` to encrypt the file content.
* Add file size as zstd frame content size.
* Test opening the file before doing more.
* Uses same key as "mc support inspect".
RELEASE.2025-02-04T04-57-50Z
2025-02-03 20:57:50 -08:00
Harshavardhana
423ef1ba2a
update go deps
2025-01-22 23:47:51 -08:00
Shubhendu
a4f20fe74c
Use latest madmin-go for policy content check ( #5109 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2025-01-22 23:41:01 -08:00
Mark Theunissen
5cfac09600
Improve the error message when trying to add multiple expiry options ( #5117 )
2025-01-22 22:51:38 -08:00
Klaus Post
b436cd2436
mc find - allow absolute times ( #5118 )
...
For `--newer-than` and `--older-than`, allow using absolute times.
Example:
```
λ mc ls play/testbucket
[2025-01-22 09:57:12 CET] 676KiB STANDARD Daily checks Procedure for Portainer.docx
[2025-01-22 16:40:07 CET] 22KiB STANDARD dovrennost_mobilizaciya_0-2.docx
λ mc find -newer-than="2025-01-22 09:57:00 CET" play/testbucket
play/testbucket/Daily checks Procedure for Portainer.docx
play/testbucket/dovrennost_mobilizaciya_0-2.docx
λ mc find -newer-than="2025-01-22 09:57:13 CET" play/testbucket
play/testbucket/dovrennost_mobilizaciya_0-2.docx
```
We allow the same timestamp types as `--rewind` and add the printed type for easy copy+paste.
2025-01-22 22:51:15 -08:00
dorman
0019b7b83c
fix: cp and mirror commands fail to be executed when the file length is 255 characters ( #5114 )
2025-01-21 02:19:00 -08:00
Harshavardhana
cc8758c88d
chore: update deps
RELEASE.2025-01-17T23-25-50Z
2025-01-17 15:25:50 -08:00
qinyuren
95e1f70eb5
The version-id in the get command does not work ( #5110 )
2025-01-16 01:52:17 -08:00
Harshavardhana
b1a3941f22
chore: update deps ( #5102 )
2025-01-02 05:11:34 -08:00
Klaus Post
147852cb37
Add go runtime profile type ( #5098 )
...
Available on AIStor.
Requires https://github.com/minio/madmin-go/pull/322
Lower minimum duration to 1 second. Useful (pretty much required) for traces.
2025-01-02 04:55:34 -08:00
Poorna
bf7b5f620e
fix ilm rule edit for --expire-all-object-versions ( #5101 )
...
Editing a rule with --expire-all-object-versions should be applied
to existing rule properly
2025-01-02 04:10:56 -08:00
Harshavardhana
f4dd5e4a07
update all deps and update CREDITS ( #5097 )
2024-12-16 04:20:40 +05:30
Klaus Post
19017536cc
Add support top rpc ui nicities ( #5087 )
...
* Split to/from. t/f keys to go directly. <tab> to switch.
* Sort by queue size (q)
* Filter/Sort by reconnects (r)
* Add PgUp+PgDn
* Pause with <space>
2024-12-15 01:26:01 -08:00
Klaus Post
86907df91d
Improve trace stats ( #5095 )
...
Allows traces to be replayed in stats mode from `mc admin trace -json ALIAS >trace.json`, using `mc admin trace -in=trace.json`. `.zst` are automatically decompressed.
This is replayed at full speed, since I don't really see any value in keeping original speed.
Add scrolling to stats. Up+Down+Home+End
Add 'r' to reset min/max stats.
2024-12-15 01:25:34 -08:00
Anis Eleuch
1681e4497c
heal: Do not print a cryptic msg when scanning a dangling object ( #5084 )
...
Healing in server side will list with quorum 1, so it will pick stale
objects as well. This is currently not rendered well in mc that shows
this cryptic message:
Invalid parity shard count/surplus shard count given
Print the text sent by the server instead.
RELEASE.2024-11-21T17-21-54Z
2024-11-21 09:21:54 -08:00
Allan Roger Reid
35cb4b8177
Return delete markers in mc find ( #5083 )
...
* Default to list delete flags if they are part of the result set, so that they are not hidden from the find function
* Add --with-delete-marker flag to toggle the listing of delete markers. Defaults to false
* List delete markers as well when using the --versions flag
2024-11-20 10:10:21 -08:00
Harshavardhana
bb4ff4951a
when --no-list is specified avoid every List() call ( #5082 )
RELEASE.2024-11-17T19-35-25Z
2024-11-17 11:35:25 -08:00