Skip to content

Add a eager fetcher and fan-out fetch of parity shards on slow reads - #4

Open
jhindersson wants to merge 3 commits into
masterfrom
feature/copy-minio-changes
Open

jhindersson wants to merge 3 commits into
masterfrom
feature/copy-minio-changes

Conversation

@jhindersson

Copy link
Copy Markdown

Add configurable hedged erasure reads to alleviate horrendous cluster performance on dying HDDs (1-30s read latency).

Configurable with mc admin config set <alias> drive.read_fanout_delay=250ms. 0=disabled

When enabled the cluster read K+1 shards to answer client instantly even though one disk is slow. If the request takes more than read_fanout_delay a full fanout is made for the rest of the parity shards to answer the client as quickly as possible.

Adds minimal to no overhead, read buffer is always sized to fetch all shards anyway. Most drives in the erasure set are active anyway so the extra read penalty is a negligible 100/K % extra network overhead which is totally irrelevant on a HDD backed server with 10Gbit+ network where performance will be mostly IOPS bound (pushing 2-3Gbit per server with 12 drives is considered good unless we are doing fully sequential workloads, fully random 4k workload will max out at 200Mbit per server). Also CPUs are mostly idle in a HDD IO constrained server so we have LOTS to spare for reconstructing data from parity.

…6-33322

- CVE-2026-41145: only accept Authorization header credentials for
  STREAMING-UNSIGNED-PAYLOAD-TRAILER auth type.
- CVE-2026-40344: add missing authTypeStreamingUnsignedTrailer handling
  in PutObjectExtractHandler (Snowball auto-extract).
- CVE-2026-34204: ignore X-Minio-Replication-* SSE metadata headers on
  non-replication PutObject/PostPolicy requests.
- CVE-2026-33322: restrict OIDC JWT ValidMethods to algorithms advertised
  by the provider, defaulting to asymmetric only, and only register the
  client secret as HMAC key when HMAC is advertised.

Includes regression tests for all four CVEs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant