SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
go 1.26 (#10797)
Chris Lu1bcd55eba2a6
diff --git a/.github/workflows/ec-integration-tests.yml b/.github/workflows/ec-integration-tests.ymlindex b4c05f1086..e078e01e6c 100644--- a/.github/workflows/ec-integration-tests.yml+++ b/.github/workflows/ec-integration-tests.yml@@ -30,7 +30,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:- go-version: ^1.25+ go-version: ^1.26id: go- name: Check out code into the Go module directorydiff --git a/.github/workflows/kafka-quicktest.yml b/.github/workflows/kafka-quicktest.ymlindex cf8e898c8a..c18a87048b 100644--- a/.github/workflows/kafka-quicktest.yml+++ b/.github/workflows/kafka-quicktest.yml@@ -42,7 +42,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:- go-version: ^1.25+ go-version: ^1.26cache: truecache-dependency-path: |**/go.sumdiff --git a/.github/workflows/kafka-tests.yml b/.github/workflows/kafka-tests.ymlindex 7d82844fb2..7a40ee3583 100644--- a/.github/workflows/kafka-tests.yml+++ b/.github/workflows/kafka-tests.yml@@ -43,7 +43,7 @@ jobs:matrix:container-id: [unit-tests-1]container:- image: golang:1.24-alpine+ image: golang:1.26-alpineoptions: --cpus 1.0 --memory 1g --hostname kafka-unit-${{ matrix.container-id }}env:GOMAXPROCS: 1@@ -53,7 +53,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:- go-version: ^1.25+ go-version: ^1.26id: go- name: Check out code@@ -87,7 +87,7 @@ jobs:matrix:container-id: [integration-1]container:- image: golang:1.24-alpine+ image: golang:1.26-alpineoptions: --cpus 2.0 --memory 2g --ulimit nofile=1024:1024 --hostname kafka-integration-${{ matrix.container-id }}env:GOMAXPROCS: 2@@ -98,7 +98,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:- go-version: ^1.25+ go-version: ^1.26id: go- name: Check out code@@ -134,7 +134,7 @@ jobs:matrix:container-id: [e2e-1]container:- image: golang:1.24-alpine+ image: golang:1.26-alpineoptions: --cpus 2.0 --memory 2g --hostname kafka-e2e-${{ matrix.container-id }}env:GOMAXPROCS: 2@@ -148,7 +148,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:- go-version: ^1.25+ go-version: ^1.26cache: truecache-dependency-path: |**/go.sum@@ -313,7 +313,7 @@ jobs:matrix:container-id: [consumer-group-1]container:- image: golang:1.24-alpine+ image: golang:1.26-alpineoptions: --cpus 1.0 --memory 2g --ulimit nofile=512:512 --hostname kafka-consumer-${{ matrix.container-id }}env:GOMAXPROCS: 1@@ -327,7 +327,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:- go-version: ^1.25+ go-version: ^1.26cache: truecache-dependency-path: |**/go.sum@@ -475,7 +475,7 @@ jobs:matrix:container-id: [client-compat-1]container:- image: golang:1.24-alpine+ image: golang:1.26-alpineoptions: --cpus 1.0 --memory 1.5g --shm-size 256m --hostname kafka-client-${{ matrix.container-id }}env:GOMAXPROCS: 1@@ -489,7 +489,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:- go-version: ^1.25+ go-version: ^1.26cache: truecache-dependency-path: |**/go.sum@@ -633,7 +633,7 @@ jobs:matrix:container-id: [smq-integration-1]container:- image: golang:1.24-alpine+ image: golang:1.26-alpineoptions: --cpus 1.0 --memory 2g --hostname kafka-smq-${{ matrix.container-id }}env:GOMAXPROCS: 1@@ -647,7 +647,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:- go-version: ^1.25+ go-version: ^1.26cache: truecache-dependency-path: |**/go.sum@@ -794,7 +794,7 @@ jobs:matrix:container-id: [protocol-1]container:- image: golang:1.24-alpine+ image: golang:1.26-alpineoptions: --cpus 1.0 --memory 1g --tmpfs /tmp:exec --hostname kafka-protocol-${{ matrix.container-id }}env:GOMAXPROCS: 1@@ -805,7 +805,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:- go-version: ^1.25+ go-version: ^1.26id: go- name: Check out codediff --git a/.github/workflows/postgres-tests.yml b/.github/workflows/postgres-tests.ymlindex 3acefddd37..a0369b134e 100644--- a/.github/workflows/postgres-tests.yml+++ b/.github/workflows/postgres-tests.yml@@ -41,7 +41,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:- go-version: ^1.25+ go-version: ^1.26id: go- name: Check out codediff --git a/.github/workflows/s3-parquet-tests.yml b/.github/workflows/s3-parquet-tests.ymlindex 92e47b8f01..52e602a637 100644--- a/.github/workflows/s3-parquet-tests.yml+++ b/.github/workflows/s3-parquet-tests.yml@@ -41,7 +41,7 @@ jobs:- name: Set up Gouses: actions/setup-go@v7with:- go-version: ^1.25+ go-version: ^1.26cache: true- name: Set up Python ${{ matrix.python-version }}@@ -148,7 +148,7 @@ jobs:- name: Set up Gouses: actions/setup-go@v7with:- go-version: ^1.25+ go-version: ^1.26cache: true- name: Run Go unit testsdiff --git a/.github/workflows/test-s3-over-https-using-awscli.yml b/.github/workflows/test-s3-over-https-using-awscli.ymlindex 5a01f40bcd..57838cecb4 100644--- a/.github/workflows/test-s3-over-https-using-awscli.yml+++ b/.github/workflows/test-s3-over-https-using-awscli.yml@@ -36,7 +36,7 @@ jobs:- uses: actions/setup-go@v7with:- go-version: ^1.25+ go-version: ^1.26- name: Build SeaweedFSrun: |diff --git a/.github/workflows/tls-rotation-tests.yml b/.github/workflows/tls-rotation-tests.ymlindex 2e13de33a9..ce4ecc99d2 100644--- a/.github/workflows/tls-rotation-tests.yml+++ b/.github/workflows/tls-rotation-tests.yml@@ -30,7 +30,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:- go-version: ^1.25+ go-version: ^1.26id: go- name: Check out code into the Go module directorydiff --git a/.github/workflows/vacuum-integration-tests.yml b/.github/workflows/vacuum-integration-tests.ymlindex 889b9f116e..e9f2a4ce13 100644--- a/.github/workflows/vacuum-integration-tests.yml+++ b/.github/workflows/vacuum-integration-tests.yml@@ -30,7 +30,7 @@ jobs:- name: Set up Go 1.xuses: actions/setup-go@v7with:- go-version: ^1.25+ go-version: ^1.26id: go- name: Check out code into the Go module directorydiff --git a/docker/Dockerfile.foundationdb_large b/docker/Dockerfile.foundationdb_largeindex aec40acdc2..9ec3e137fc 100644--- a/docker/Dockerfile.foundationdb_large+++ b/docker/Dockerfile.foundationdb_large@@ -1,4 +1,4 @@-FROM golang:1.25 AS builder+FROM golang:1.26 AS builderRUN apt-get update && \apt-get install -y build-essential wget ca-certificates && \diff --git a/docker/Dockerfile.go_build b/docker/Dockerfile.go_buildindex 2857482983..6ca5192574 100644--- a/docker/Dockerfile.go_build+++ b/docker/Dockerfile.go_build@@ -1,6 +1,6 @@# Pin the builder to the host arch and cross-compile the (CGO-free) Go binary,# so arm64/arm/386 targets skip QEMU emulation of the whole compile.-FROM --platform=$BUILDPLATFORM golang:1.25-alpine AS builder+FROM --platform=$BUILDPLATFORM golang:1.26-alpine AS builderRUN apk add git g++ fuseRUN mkdir -p /go/src/github.com/seaweedfs/ARG BRANCH=${BRANCH:-master}diff --git a/docker/Dockerfile.rocksdb_dev_env b/docker/Dockerfile.rocksdb_dev_envindex 20123db640..95154c3737 100644--- a/docker/Dockerfile.rocksdb_dev_env+++ b/docker/Dockerfile.rocksdb_dev_env@@ -1,4 +1,4 @@-FROM golang:1.25 AS builder+FROM golang:1.26 AS builderRUN apt-get updateRUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-devdiff --git a/docker/Dockerfile.rocksdb_large b/docker/Dockerfile.rocksdb_largeindex 0274d29405..d902c544e9 100644--- a/docker/Dockerfile.rocksdb_large+++ b/docker/Dockerfile.rocksdb_large@@ -1,4 +1,4 @@-FROM golang:1.25 AS builder+FROM golang:1.26 AS builderRUN apt-get updateRUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-devdiff --git a/seaweedfs-rdma-sidecar/Dockerfile.sidecar b/seaweedfs-rdma-sidecar/Dockerfile.sidecarindex 87bf9b33e0..d5f21c7e79 100644--- a/seaweedfs-rdma-sidecar/Dockerfile.sidecar+++ b/seaweedfs-rdma-sidecar/Dockerfile.sidecar@@ -1,5 +1,5 @@# Multi-stage build for Go Sidecar-FROM golang:1.25-alpine AS builder+FROM golang:1.26-alpine AS builder# Install build dependenciesRUN apk add --no-cache git ca-certificates tzdatadiff --git a/seaweedfs-rdma-sidecar/Dockerfile.test-client b/seaweedfs-rdma-sidecar/Dockerfile.test-clientindex 8798635ea5..99d015bcb7 100644--- a/seaweedfs-rdma-sidecar/Dockerfile.test-client+++ b/seaweedfs-rdma-sidecar/Dockerfile.test-client@@ -1,5 +1,5 @@# Multi-stage build for Test Client-FROM golang:1.25-alpine AS builder+FROM golang:1.26-alpine AS builder# Install build dependenciesRUN apk add --no-cache git ca-certificates tzdatadiff --git a/seaweedfs-rdma-sidecar/README.md b/seaweedfs-rdma-sidecar/README.mdindex 402a992a58..559da79de1 100644--- a/seaweedfs-rdma-sidecar/README.md+++ b/seaweedfs-rdma-sidecar/README.md@@ -61,7 +61,7 @@ This project implements a **high-performance RDMA (Remote Direct Memory Access)```bash# Required dependencies-- Go 1.23++- Go 1.26+- Rust 1.70+- UCX libraries (for hardware RDMA)- Linux with RDMA-capable hardware (InfiniBand/RoCE)diff --git a/telemetry/server/Dockerfile b/telemetry/server/Dockerfileindex 76fcb54cce..beb169424a 100644--- a/telemetry/server/Dockerfile+++ b/telemetry/server/Dockerfile@@ -1,4 +1,4 @@-FROM golang:1.25-alpine AS builder+FROM golang:1.26-alpine AS builderWORKDIR /appdiff --git a/test/foundationdb/Dockerfile.build b/test/foundationdb/Dockerfile.buildindex 58887acbb9..b93ca74563 100644--- a/test/foundationdb/Dockerfile.build+++ b/test/foundationdb/Dockerfile.build@@ -1,6 +1,6 @@# Simplified single-stage build for SeaweedFS with FoundationDB support# Force x86_64 platform to use AMD64 FoundationDB packages-FROM --platform=linux/amd64 golang:1.25-bookworm+FROM --platform=linux/amd64 golang:1.26-bookwormARG FOUNDATIONDB_VERSION=7.4.5ENV FOUNDATIONDB_VERSION=${FOUNDATIONDB_VERSION}@@ -43,7 +43,7 @@ WORKDIR /build# Copy source codeCOPY . .-# Using Go 1.24 to match project requirements+# Using Go 1.26 to match project requirements# Download dependencies (using versions from go.mod for deterministic builds)RUN go mod downloaddiff --git a/test/foundationdb/Dockerfile.build.arm64 b/test/foundationdb/Dockerfile.build.arm64index d62d7eda81..24c47f590d 100644--- a/test/foundationdb/Dockerfile.build.arm64+++ b/test/foundationdb/Dockerfile.build.arm64@@ -1,5 +1,5 @@# Multi-stage Dockerfile to build SeaweedFS with FoundationDB support for ARM64-FROM --platform=linux/arm64 golang:1.25-bookworm AS builder+FROM --platform=linux/arm64 golang:1.26-bookworm AS builderARG FOUNDATIONDB_VERSION=7.4.5ENV FOUNDATIONDB_VERSION=${FOUNDATIONDB_VERSION}diff --git a/test/foundationdb/Dockerfile.test b/test/foundationdb/Dockerfile.testindex 70191f08b5..3e16ff10d8 100644--- a/test/foundationdb/Dockerfile.test+++ b/test/foundationdb/Dockerfile.test@@ -1,5 +1,5 @@# Test environment with Go and FoundationDB support-FROM golang:1.25-bookworm+FROM golang:1.26-bookworm# Install system dependenciesRUN apt-get update && apt-get install -y \diff --git a/test/fuse_integration/Makefile b/test/fuse_integration/Makefileindex 3c1e68d592..1da4647dee 100644--- a/test/fuse_integration/Makefile+++ b/test/fuse_integration/Makefile@@ -2,7 +2,7 @@# ConfigurationWEED_BINARY := weed-GO_VERSION := 1.24+GO_VERSION := 1.26TEST_TIMEOUT := 30mCOVERAGE_FILE := coverage.outdiff --git a/test/fuse_integration/README.md b/test/fuse_integration/README.mdindex 8c0387806a..3cae4b3883 100644--- a/test/fuse_integration/README.md+++ b/test/fuse_integration/README.md@@ -216,7 +216,7 @@ jobs:- uses: actions/checkout@v3- uses: actions/setup-go@v3with:- go-version: '1.24'+ go-version: '1.26'- name: Install FUSErun: sudo apt-get install -y fuse@@ -232,7 +232,7 @@ jobs:### Docker Testing```dockerfile-FROM golang:1.24+FROM golang:1.26RUN apt-get update && apt-get install -y fuseCOPY . /seaweedfsWORKDIR /seaweedfsdiff --git a/test/kafka/Dockerfile.kafka-gateway b/test/kafka/Dockerfile.kafka-gatewayindex 32b3d46631..a1300b070b 100644--- a/test/kafka/Dockerfile.kafka-gateway+++ b/test/kafka/Dockerfile.kafka-gateway@@ -1,5 +1,5 @@# Dockerfile for Kafka Gateway Integration Testing-FROM golang:1.25-alpine AS builder+FROM golang:1.26-alpine AS builder# Install build dependenciesRUN apk add --no-cache git make gcc musl-dev sqlite-devdiff --git a/test/kafka/Dockerfile.seaweedfs b/test/kafka/Dockerfile.seaweedfsindex ce889e25e4..84ddac3a9f 100644--- a/test/kafka/Dockerfile.seaweedfs+++ b/test/kafka/Dockerfile.seaweedfs@@ -1,5 +1,5 @@# Dockerfile for building SeaweedFS components from the current workspace-FROM golang:1.25-alpine AS builder+FROM golang:1.26-alpine AS builderRUN apk add --no-cache git make gcc musl-dev sqlite-devdiff --git a/test/kafka/Dockerfile.test-setup b/test/kafka/Dockerfile.test-setupindex e4290ecdad..d5026c0751 100644--- a/test/kafka/Dockerfile.test-setup+++ b/test/kafka/Dockerfile.test-setup@@ -1,5 +1,5 @@# Dockerfile for Kafka Integration Test Setup-FROM golang:1.25-alpine AS builder+FROM golang:1.26-alpine AS builder# Install build dependenciesRUN apk add --no-cache git make gcc musl-devdiff --git a/test/kafka/kafka-client-loadtest/Dockerfile.loadtest b/test/kafka/kafka-client-loadtest/Dockerfile.loadtestindex b16bdb9c08..5e157744e0 100644--- a/test/kafka/kafka-client-loadtest/Dockerfile.loadtest+++ b/test/kafka/kafka-client-loadtest/Dockerfile.loadtest@@ -2,7 +2,7 @@# Multi-stage build for cross-platform support# Stage 1: Builder-FROM golang:1.25-alpine AS builder+FROM golang:1.26-alpine AS builderWORKDIR /appdiff --git a/test/kafka/kafka-client-loadtest/README.md b/test/kafka/kafka-client-loadtest/README.mdindex 4f465a21bc..49375323be 100644--- a/test/kafka/kafka-client-loadtest/README.md+++ b/test/kafka/kafka-client-loadtest/README.md@@ -314,7 +314,7 @@ make dev-env# Build load test binarymake build-# Run tests locally (requires Go 1.21+)+# Run tests locally (requires Go 1.26+)cd cmd/loadtest && go run main.go -config ../../config/loadtest.yaml```diff --git a/test/postgres/Dockerfile.client b/test/postgres/Dockerfile.clientindex 789de64514..53871de1c1 100644--- a/test/postgres/Dockerfile.client+++ b/test/postgres/Dockerfile.client@@ -1,4 +1,4 @@-FROM golang:1.25-alpine AS builder+FROM golang:1.26-alpine AS builder# Set working directoryWORKDIR /appdiff --git a/test/postgres/Dockerfile.producer b/test/postgres/Dockerfile.producerindex 77396ab1da..b64cd6a5c3 100644--- a/test/postgres/Dockerfile.producer+++ b/test/postgres/Dockerfile.producer@@ -1,4 +1,4 @@-FROM golang:1.25-alpine AS builder+FROM golang:1.26-alpine AS builder# Set working directoryWORKDIR /appdiff --git a/test/postgres/Dockerfile.seaweedfs b/test/postgres/Dockerfile.seaweedfsindex 951c4b034d..b6f75d4dbe 100644--- a/test/postgres/Dockerfile.seaweedfs+++ b/test/postgres/Dockerfile.seaweedfs@@ -1,4 +1,4 @@-FROM golang:1.25-alpine AS builder+FROM golang:1.26-alpine AS builder# Install git and other build dependenciesRUN apk add --no-cache git makediff --git a/test/s3/iam/Dockerfile.s3 b/test/s3/iam/Dockerfile.s3index 52ba670a5e..75b86c3a1d 100644--- a/test/s3/iam/Dockerfile.s3+++ b/test/s3/iam/Dockerfile.s3@@ -1,5 +1,5 @@# Multi-stage build for SeaweedFS S3 with IAM-FROM golang:1.25-alpine AS builder+FROM golang:1.26-alpine AS builder# Install build dependenciesRUN apk add --no-cache git make curl wgetdiff --git a/test/s3/iam/README.md b/test/s3/iam/README.mdindex b28d0d2620..f6ebbdab2a 100644--- a/test/s3/iam/README.md+++ b/test/s3/iam/README.md@@ -83,7 +83,7 @@ The S3 IAM integration tests validate the complete end-to-end functionality of:### Prerequisites-1. **Go 1.19+** with modules enabled+1. **Go 1.26+** with modules enabled2. **SeaweedFS Binary** (`weed`) built with IAM support3. **Test Dependencies**:```bash@@ -425,7 +425,7 @@ jobs:- uses: actions/checkout@v3- uses: actions/setup-go@v3with:- go-version: '1.19'+ go-version-file: 'go.mod'- name: Build SeaweedFSrun: go build -o weed ./main.go