Anis Eleuch
68dde2359f
log: Add logger.Event to send to console and other logger targets ( #19060 )
...
Add a new function logger.Event() to send the log to Console and
http/kafka log webhooks. This will include some internal events such as
disk healing and rebalance/decommissioning
2024-02-15 15:13:30 -08:00
Anis Eleuch
6ae97aedc9
xl: Disable rename2 in decommissioning/rebalance ( #18964 )
...
Always disable rename2 optimization in decom/rebalance
2024-02-03 14:03:30 -08:00
Harshavardhana
1d3bd02089
avoid close 'nil' panics if any ( #18890 )
...
brings a generic implementation that
prints a stack trace for 'nil' channel
closes(), if not safely closes it.
2024-01-28 10:04:17 -08:00
Harshavardhana
32e668eb94
update() stale rebalance stats() object during pool expansion ( #18882 )
...
it is entirely possible that a rebalance process which was running
when it was asked to "stop" it failed to write its last statistics
to the disk.
After this a pool expansion can cause disruption and all S3 API
calls would fail at IsPoolRebalancing() function.
This PRs makes sure that we update rebalance.bin under such
conditions to avoid any runtime crashes.
2024-01-27 10:14:03 -08:00
Harshavardhana
da55499db0
fix: reject clients that do not send proper payload ( #18701 )
2023-12-22 01:26:17 -08:00
Anis Eleuch
8432fd5ac2
prom: Add online and healing drives metrics per erasure set ( #18700 )
2023-12-21 16:56:43 -08:00
Poorna
9dc29d7687
Avoid ILM expiry on deleted versions that are yet to replicate ( #18175 )
...
Fixes #18167
2023-10-06 06:55:15 -06:00
jiuker
9947c01c8e
feat: SSE-KMS use uuid instead of read all data to md5. ( #17958 )
2023-09-18 10:00:54 -07:00
Aditya Manthramurthy
1c99fb106c
Update to minio/pkg/v2 ( #17967 )
2023-09-04 12:57:37 -07:00
Harshavardhana
9af6c6ceef
under rebalance look for expired versions v/s remaining versions ( #17482 )
...
A continuation of PR #17479 for rebalance behavior must
also match the decommission behavior.
Fixes bug where rebalance would ignore rebalancing object
versions after one of the version returned "ObjectNotFound"
2023-06-21 13:23:20 -07:00
Aditya Manthramurthy
5a1612fe32
Bump up madmin-go and pkg deps ( #17469 )
2023-06-19 17:53:08 -07:00
Anis Eleuch
35ef35b5c1
fix a integer divide by zero crash during rebalance ( #17455 )
...
A state is updated with a delete marker, which does not have parity or
data blocks defined, which can cause the integer divide by zero panics.
This commit fixes to avoid panics.
2023-06-18 11:14:53 -07:00
Harshavardhana
b210ea79bc
do not save MTime in newMultipartUpload() to avoid side-affects ( #17340 )
2023-06-02 14:38:09 -07:00
Harshavardhana
5cd9dcb844
rebalance 'null' delete markers properly ( #17282 )
2023-05-25 16:12:53 -07:00
Krishnan Parthasarathi
3e128c116e
Add lifecycle event source to audit log tags ( #17248 )
2023-05-22 15:28:56 -07:00
Klaus Post
aaf1abc993
simplify HardLimitReader by using LimitReader for internal usage ( #17218 )
2023-05-16 13:14:37 -07:00
Poorna
e07c2ab868
Use hash.NewLimitReader for internal multipart calls ( #17191 )
2023-05-12 11:19:08 -07:00
Krishnan Parthasarathi
e7cac8acef
Add tags to auditLogLifecycle ( #17081 )
2023-04-26 17:49:00 -07:00
Harshavardhana
6825bd7e75
fix: inlined objects don't need to honor long locks ( #17039 )
2023-04-17 12:16:37 -07:00
Harshavardhana
b984bf8d1a
allow expiration of all versions during Listing() ( #16757 )
2023-03-09 15:15:30 -08:00
Klaus Post
b923a62425
Check pool-index for invalid setups ( #16501 )
2023-01-30 18:33:07 +05:30
Krishnan Parthasarathi
71c95ad0d0
Signal stop-rebalance to all rebalancing pools ( #16438 )
2023-01-19 06:54:23 +05:30
Anis Elleuch
acc9c033ed
debug: Add X-Amz-Request-ID to lock/unlock calls ( #16309 )
2022-12-23 19:49:07 -08:00
Krishnan Parthasarathi
0159b56717
fix: rebalance to account for object's on-disk size ( #16240 )
2022-12-14 00:15:14 -08:00
Aditya Manthramurthy
a30cfdd88f
Bump up madmin-go to v2 ( #16162 )
2022-12-06 13:46:50 -08:00
Klaus Post
a713aee3d5
Run staticcheck on CI ( #16170 )
2022-12-05 11:18:50 -08:00
Harshavardhana
5a8df7efb3
re-implement StorageInfo to be a peer call ( #16155 )
2022-12-01 14:31:35 -08:00
Krishnan Parthasarathi
4523da6543
feat: introduce pool-level rebalance ( #15483 )
2022-10-25 12:36:57 -07:00