Skip to content

Gcsfuse v4.0.0

Latest

Choose a tag to compare

@gcsfuse-github-machine-user-bot gcsfuse-github-machine-user-bot released this 24 Nov 15:41
· 19 commits to master since this release
730c4fa

New Features

  • gRPC Default-On for High-Performance GKE Machines: Enabled gRPC over direct connectivity (with automatic fallback to HTTP/1.1) as the default client protocol on high-performance GKE machine types (A2, A3, A4, A4X, TPU v5, TPU v6e, and TPU7x) when --client-protocol and --custom-endpoint are not explicitly set (gcsfuse#5187).
  • Added new metrics:
    • fs/read_bytes_count: Captures the total number of bytes that are returned by GCSFuse for file read requests (gcsfuse#5176).
    • metadata_cache/size: Captures the estimated memory size (in bytes) of the metadata cache. Also provides the distribution of positive and negative entries (gcsfuse#5163).

Bug fixes & Improvements

  • Multi-Range Downloader Stall Retry & gRPC Read Fixes: Upgraded Go Storage SDK to v1.71.0 to apply read-stall timeouts and retries during initial gRPC multi-range stream creation, preventing tail latency spikes on stalled stream opens (gcsfuse#5269).
  • gRPC Write-Stall Protection: Enabled per-chunk transfer timeout (10s default) and retry deadline (120s default) stall protection for gRPC streaming and appendable writes (gcsfuse#5137).
  • gRPC Mid-Stream Stall Detection: Configured client-side HTTP/2 keepalive pings (30s interval, 20s timeout) on active gRPC streams to detect and recover from wedged connections (gcsfuse#5165).
  • Reduced gRPC OpenTelemetry Metric Overhead: Filtered unexported grpc.* OpenTelemetry instruments in the metric view, retaining only the 4 GKE-exported gRPC metrics to reduce memory usage on high-pod-count GKE CSI sidecars (gcsfuse#5216).
  • Large Read Accounting in read/block_sizes: Fixed read/block_sizes recording vectored reads larger than 1 MiB as 0 bytes by recording op.Size instead of len(op.Dst) (gcsfuse#5183).
  • Leading Slash Warning for --only-dir: Added a mount-time warning log when a leading / is stripped from --only-dir (gcsfuse#5213).

Dependency Upgrades / CVE fixes

Package Upgrade CVEs / Advisories Fixed PR
Go Toolchain (stdlib) 1.27.2 → 1.27.4 CVE-2026-97054, CVE-2026-111943 gcsfuse#5241
golang.org/x/net v0.61.0 → v0.62.0 CVE-2026-78661, CVE-2026-97045 gcsfuse#5241
golang.org/x/crypto v0.58.0 → v0.59.0 GO-2026-5932 gcsfuse#5241
github.com/go-jose/go-jose/v4 v4.1.4 → v4.1.6 CVE-2026-116585, CVE-2026-116586, CVE-2026-116587 gcsfuse#5222
go.opentelemetry.io/otel (sdk, trace) v1.46.0 → v1.47.0 CVE-2026-128085 gcsfuse#5222