Self-host SeaweedFS
4.53Distributed object and file store for billions of files
$ docker run -p 8333:8333 -v weed-data:/data -e AWS_ACCESS_KEY_ID=admin -e AWS_SECRET_ACCESS_KEY=secret -e S3_BUCKET=my-bucket chrislusf/seaweedfs- Stars
- 35 963
- Rating
- 4.0 (1)
- Ports
- 8333 (S3 API endpoint), 9333 (master server), 8080 (volume server), 8888 (filer HTTP UI/API), 7333 (WebDAV gateway), 9324 (metrics port of the master (volume 9325, filer 9326, S3 9327))
chrislusf/seaweedfsWhat is SeaweedFS?
SeaweedFS is a distributed storage cluster you run on your own hardware, built to hold billions of files and hand them back quickly. One weed process can serve S3 requests, a POSIX-style file layer, and table storage for a lakehouse, all over the same bytes. Masters only track volumes, each volume server holds a tiny in-memory index entry per blob, so a read costs a single seek, and the filer plus gateway layers are stateless — adding capacity means starting another volume server that registers with the master. Buckets, objects, S3 Tables, identity and STS calls all land on one port, with versioning, object lock, lifecycle rules, CORS, presigned URLs and server-side encryption backed by external key managers. The same namespace is reachable through FUSE mounts on Linux, macOS and Windows, WebDAV, SFTP, HTTP, HDFS-compatible access and TUS uploads, and it can mirror or offload to cloud buckets, acting as a read cache or a home for warm data. Apache Iceberg and Lance tables come with a built-in REST catalog, plus background compaction and snapshot cleanup. To install, use the shell script, a one-command weed mini node, the Docker image, the compose file, or the project's Helm chart; the directory metadata may sit in LevelDB, RocksDB, SQLite, or a database you already operate. The core is Apache-2.0 licensed; a paid Enterprise tier layered onto the identical cluster adds data recovery, point-in-time recovery, self-healing, custom erasure-coding ratios, sealed directories and OIDC sign-in for the admin UI, free for dev and test use below 25TB.
SeaweedFS alternatives
RustFSRustFS is an open-source, S3-compatible high-performance object storage system supporting migration and coexistence with other S3-compatible platforms such as MinIO and Ceph.CompareRustFS with SeaweedFS
juicefsSelf-hosted, open-source JuiceFS is a POSIX file system: blocks go to object storage, metadata to Redis, MySQL or SQLite, plus S3, WebDAV and HDFS access.Comparejuicefs with SeaweedFS
drivebaseDrivebase is a self-hosted, open-source file manager unifying Google Drive, S3, Dropbox, and local files into a desktop-like web UI with real-time transfers.Comparedrivebase with SeaweedFS
leilfsLeilFS is a self-hosted, open-source distributed POSIX file system with high availability, erasure coding, and linear scalability for media, AI, backup, and HPC.Compareleilfs with SeaweedFS
SeafileOpen-source, self-hosted file sync and share platform: libraries sync separately, groups share files, and custom properties drive table, Kanban and gallery views.CompareSeafile with SeaweedFS
leofsLeoFS is a self-hosted, open-source distributed object storage with S3 API compatibility, multi-datacenter replication, and REST/NFS support for large-scale data lakes.Compareleofs with SeaweedFS
ZPanOpen-source, self-hosted S3-native cloud drive: browser-to-bucket presigned uploads, share links, image hosting, WebDAV mounting, remote downloads and team spaces.CompareZPan with SeaweedFS
sairoSelf-hosted S3 browser with cost intelligence, AI analytics via MCP, and petabyte-scale performance.Comparesairo with SeaweedFS
All self-hosted alternatives to HDFS → All self-hosted alternatives to MinIO → All self-hosted alternatives to Ceph →
Should you self-host SeaweedFS?
SeaweedFS scores 80/100 on selfhost.directory (how scoring works) and ranks #1 of 11 in Cloud Storage. It has 35 963 GitHub stars, +721 in the last 30 days.
It shipped 30 stable releases in the past year. The latest, 4.53, came out on 8 November 2026. New versions land roughly every 4 days.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Go.
Its closest alternative on selfhost.directory is garage (68/100, 4 845 stars). SeaweedFS scores higher overall. See SeaweedFS vs garage side by side.
Features
- Admin UIOIDC login and central metrics dashboards in the Admin UI require an Enterprise license.
- Built-in Iceberg REST catalog
- Change data capture and webhooks
- Cloud storage tiering and caching
- Erasure CodingCustomizable EC ratios are an Enterprise feature.
- HDFS-compatible access
- Horizontal Scaling
- IAM users, groups and bucket policies
- POSIX file system
- Prometheus Metrics
- Replication
- S3-compatible object storage
- SFTP server
- WebDAV
SeaweedFS README
How to install SeaweedFS
Install SeaweedFS with Docker
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, S3_BUCKETdocker run -p 8333:8333 -v weed-data:/data \
-e AWS_ACCESS_KEY_ID=admin \
-e AWS_SECRET_ACCESS_KEY=secret \
-e S3_BUCKET=my-bucket \
chrislusf/seaweedfs
Same behavior as the weed mini command.
Install SeaweedFS with Docker Compose
wget https://raw.githubusercontent.com/seaweedfs/seaweedfs/master/docker/seaweedfs-compose.yml
wget -P prometheus https://raw.githubusercontent.com/seaweedfs/seaweedfs/master/docker/prometheus/prometheus.yml
docker compose -f seaweedfs-compose.yml -p seaweedfs up
Runs master, volume server, filer, S3, and WebDAV as separate services; the docker/compose folder has variants for replication, mounts and message queues.
Install SeaweedFS with Kubernetes
helm repo add seaweedfs https://seaweedfs.github.io/seaweedfs/helm
helm install seaweedfs seaweedfs/seaweedfs -n seaweedfs --create-namespace -f values.yaml
A production-shaped values.yaml configures replication, masters, volume data dirs, filer and S3; the SeaweedFS Operator and CSI driver are the other Kubernetes paths.
Install SeaweedFS with Build from Source
git clone https://github.com/seaweedfs/seaweedfs.git
cd seaweedfs/weed && make install
weed lands in $GOPATH/bin.
How to configure SeaweedFS
AWS_ACCESS_KEY_IDS3 access key for the weed mini / S3 gateway processAWS_SECRET_ACCESS_KEYS3 secret key for the weed mini / S3 gateway processS3_BUCKETName of an S3 bucket to create on startupS3_TABLE_BUCKETAlso create an Iceberg table bucket (append ":LANCE" for a Lance one)WEED_ADMIN_PASSWORDAdmin authentication password that lets weed mini keep binding the Admin UI/API to -ip.bind instead of loopback
SeaweedFS releases & version history
AI summary S3 and filer fixes plus JSON compression
What's Changed
- fix(s3tables,s3vectors): bind DeleteNamespace and the vector bucket cleanup to the authorized records by @chrislusf in #12331
- filer: allow renaming into a sibling that shares the name prefix by @fazpu in #12337
- compression: compress JSON uploads, and match file types by extension by @patwhite in #12339
- filer: reuse IsEqualOrUnder for the rename subdirectory check by @chrislusf in #12338
- s3vectors: support TagResource, UntagResource and ListTagsForResource by @chrislusf in #12335
- volume: replicas keep the primary's compression and metadata by @chrislusf in #12350
- admin: manage S3 vector buckets by @chrislusf in #12334
- admin: configurable file browser upload size limit by @chrislusf in #12348
- build(deps): bump go.etcd.io/etcd/client/pkg/v3 from 3.7.1 to 3.7.3 by @dependabot[bot] in #12344
- build(deps): bump actions/setup-python from 5 to 7 by @dependabot[bot] in #12345
- build(deps): bump google.golang.org/api from 0.297.0 to 0.310.0 by @dependabot[bot] in #12343
- build(deps): bump github.com/aws/aws-sdk-go-v2/service/sts from 1.51.1 to 1.51.6 by @dependabot[bot] in #12346
- build(deps): bump github.com/peterh/liner from 1.2.2 to 1.2.3 by @dependabot[bot] in #12341
- build(deps): bump actions/setup-go from 5 to 7 by @dependabot[bot] in #12347
- s3vectors: support tag conditions in vector bucket policies by @chrislusf in #12351
- build(deps): bump cloud.google.com/go/kms from 1.35.0 to 1.36.1 by @dependabot[bot] in #12342
- operation: pad the marginal gzip test past Go 1.26's stored block by @chrislusf in #12352
- filer: say jwt.filer_signing.key gates only the IAM gRPC service by @chrislusf in #12353
- fix(s3api): reject an invalid storage class before uploading the body by @omninguyen in #12354
- s3api: known-answer fixture generator for SSE-S3 and filer-encrypted chunks by @chrislusf in #12355
- test/s3vectors: a hardened cluster with TLS volume servers, read JWTs and encrypted chunks by @chrislusf in #12356
- admin: summarize the EC delete_count accounting warning per refresh by @chrislusf in #12359
- admin: scope plugin job and activity fetches to the selected job type by @chrislusf in #12360
- fix(fsck): inspect references to deleted volumes by @Neo1228 in #12357
- shell: keep fs.mergeVolumes and fs.distributeChunks from reverting entries written while they run by @chrislusf in #12362
- fix(storage): update deletion metrics in SortedFileNeedleMap.Delete (#12363) by @Tyagiquamar in #12364
- rust volume: count sorted-map files and deletes the way Go does by @chrislusf in #12365
- filer.sync: skip a rewritten source version regardless of its mtime order by @chrislusf in #12366
- filer.sync: stop chunk retries with the same supersession check the skip uses by @chrislusf in #12367
- rust volume: exit cleanly on SIGTERM, and make the harness notice when a server does not by @chrislusf in #12370
- rust volume: run each gRPC TLS handshake on its own task by @chrislusf in #12372
- filer UI, admin: upload a folder by @chrislusf in #12371
- weed-vector: gRPC TLS to the masters and for the gateway by @chrislusf in #12368
- admin: fail an in-flight detection when its worker disconnects by @chrislusf in #12376
- weed-vector: check master certificates against the server allowlists, read -config_dir by @chrislusf in #12374
- topology: refresh EC file and delete counts from heartbeats by @chrislusf in #12378
- admin: let a buffered detection completion win over the stream closing by @chrislusf in #12379
- test/s3vectors: wait for the S3 port before handing out the cluster by @chrislusf in #12383
- weed-worker: find jwt.filer_signing.key where the Go worker does, and let the chart deliver it by @chrislusf in #12373
- volume: a read plan waits for a vacuum commit instead of answering 404 by @pingqiu in #12375
- s3api: per-bucket Block Public Access (BlockPublicAcls, IgnorePublicAcls) by @chrislusf in #12381
- remote.uncache, remote.meta.sync, remote.cache: keep local writes that land while they run by @chrislusf in #12382
- admin: count executor slots per job type and stop lanes waiting on capacity they cannot free by @chrislusf in #12384
- admin: credit an unitemized slot to a pending job only after a later heartbeat by @chrislusf in #12385
- master: tell a warming-up Assign or LookupVolume client when warm-up ends by @pingqiu in #12386
- filer: clear a dead test replica's reachability record before closing it by @chrislusf in #12387
- seaweed-vector: record seaweed-worker-core's toml dependency in Cargo.lock by @chrislusf in #12388
- s3: keep service account keys when a pushed identity replaces its parent by @chrislusf in #12394
- plugin worker: stop forwarding the stream's admin token to job RPCs by @chrislusf in #12391
- fix(s3tables): validate policy conditions and fail safe on unusable ones by @omninguyen in #12389
- volume: count EC intervals served by reconstruction by @pingqiu in #12392
- grafana: chart EC reconstruction and other unplotted metrics by @chrislusf in #12406
- ec: rebuild a needle when other shards are corrupt over its range by @chrislusf in #12401
- fix(s3): accept fresh admin tokens when context carries stale authorization (#12390) by @Tyagiquamar in #12397
- s3: reject POST Object header fields with control characters by @chrislusf in #12400
- s3: expose ReadAcp/WriteAcp in shell and admin UI, log ACL-upload denials by @chrislusf in #12396
- volume: report EC file and delete counts in incremental shard messages by @chrislusf in #12404
- admin/plugin: fail a dispatch its restarted worker no longer lists by @chrislusf in #12402
- admin: regenerate the plugin pages' templ output from weed/admin by @chrislusf in #12405
- seaweed-vector: dev plan for ANN search over S3 Vectors indexes by @chrislusf in #12408
- seaweed-vector: build a vector index from the CLI and measure it in the perf suite (ANN phase 0) by @chrislusf in #12411
- seaweed-vector: probe policy for indexed queries (ANN phase 1) by @chrislusf in #12412
- weed-worker: build the vector index of S3 Vectors tables past a row threshold (ANN phase 2) by @chrislusf in #12413
- weed-worker: keep a vector index covering as its table grows (ANN phase 3) by @chrislusf in #12414
- s3vectors test: skip a query lease tag released between list and HEAD by @chrislusf in #12409
- seaweed-volume: run the preallocating max-volume test on a fake disk by @chrislusf in #12423
- seaweed-volume: stage optional EC sidecar copies before replacing by @chrislusf in #12403
- ec.rebuild: repair shards that fail a checksum scrub in complete volumes by @chrislusf in #12410
- volume: redial a master that just dropped a registered stream after a second by @chrislusf in #12420
- volume: bound each FetchAndWriteNeedle replica write by @chrislusf in #12415
- s3api: answer success when a failed completion already committed by @chrislusf in #12416
- volume: bound each replica forward so a silent peer cannot hold a write by @chrislusf in #12417
- filer.remote.sync: stop a touched file from being restamped forever by @impuls42 in #12419
- weed/shell: resolve collection from topology when ec.decode is given only volumeId by @Tyagiquamar in #12424
- admin: make the cluster lock's fairness window configurable by @chrislusf in #12426
- weed/command: skip remote bucket delete when bucket is unmounted (#12418) by @Tyagiquamar in #12425
- weed/server: verify data shards against bitrot sidecar before ec decode (#12422) by @Tyagiquamar in #12427
- filer: hide write controls in the UI on the read-only port by @chrislusf in #12429
- admin: re-send the master vacuum disable every poll so it survives leader changes by @kpei in #12430
- s3api: apply copy bucket-default SSE after the ACL re-auth by @stefan-wisbric in #12436
- s3: commit the delete marker in the owner's finalize transaction by @chrislusf in #12432
- s3: require their own actions to change a bucket's CORS or versioning by @chrislusf in #12433
- s3api: speed up recursive listing of branched directory trees by @chrislusf in #12438
- master: export Hashicorp raft metrics through the go-metrics global raft uses by @chrislusf in #12448
- fix(s3tables): route REST RenameTable and refuse unrouted S3 Tables requests by @omninguyen in #12446
- volume: a delete cancels writes of its needle still in flight by @chrislusf in #12445
- filer.remote.sync: bounded filer lookups, one chunk cache per process by @jsas in #12441
- filer.remote.sync: bound the stamp and offset writes, startup offset fixes, stamp a copy by @chrislusf in #12447
- volume: stop serving EC reads from quarantined shards by @chrislusf in #12450
- s3 lifecycle: walker deletes carry the listed identity and must target the latest version by @chrislusf in #12452
- filer: release metadata log chunks a failed append leaves unreferenced by @MorezMartin in #12455
- s3api: mint a versioned PUT's id at commit, after the lock wait and the upload by @chrislusf in #12454
- filer: no lazy remote fetch inside a store transaction by @jsas in #12439
- filer: a full remote-deletion tombstone table keeps the lazy fetch off by @jsas in #12440
- filer.meta.backup: stream from the start of an unfinished walk by @chrislusf in #12458
- filer.remote.gateway: keep the remote object while a version under a delete marker is locked by @chrislusf in #12459
- filer: fold small chunks into manifests 256 at a time by @chrislusf in #12462
- master: stop the resumed single-master leader from checking quorum every 1 ms by @chrislusf in #12463
- grafana: chart the remote-deletion tombstone gauges by @chrislusf in #12444
- mount: keep retrying writeback chunk uploads through a volume outage by @chrislusf in #12465
- admin: show disk usage on the dashboard instead of the data size by @chrislusf in #12466
- S3 Vectors: the gateway resolves the table it sends to weed-vector by @chrislusf in #12468
- S3 Vectors: weed-vector reads tables from the filers and volume servers by @chrislusf in #12469
- s3tables, iceberg: one catalog record per table location by @chrislusf in #12473
- filer.remote.sync: skip pre-mount mount-table versions, decide the unmount before admitting later events by @chrislusf in #12472
- S3 Vectors: weed-vector, weed-worker and the CLI write tables to the filers and volume servers by @chrislusf in #12470
- volume: check a needle's CRC the first time a range of it is read by @jrcichra in #12467
- fix(iceberg): keep a losing table create from deleting the winner's metadata by @omninguyen in #12474
- ec_balance: drain a server holding far more shards than its siblings by @chrislusf in #12477
- filer.remote.sync: -allMounts writes back every mounted directory from one process by @jatorre in #12476
- ec_balance: make the per-rack cap on global moves a worker setting by @chrislusf in #12478
- s3tables, iceberg: give tables created without a location their own directory by @chrislusf in #12475
- Retry transient failures in star history generation by @chrislusf with @Copilot in #12479
- volume.fsck: batch and deduplicate filer entry deletions by @Tyagiquamar in #12480
- s3: don't report a version delete as done when the filer lookup failed by @mansur-akhmadi in #12482
- S3 Vectors: refuse an SSE-S3 index when the engine has no key for it by @chrislusf in #12484
- S3 Vectors: weed-vector drops the ignored --namespace and --filer-signing-key by @chrislusf in #12485
- S3 Vectors: help text for weed-vector, weed-vector-cli and weed-worker by @chrislusf in #12486
- Volume encryption follows the filer: weed s3, weed-vector, weed-worker, weed-vector-cli by @chrislusf in #12487
- helm: say what the Lance worker needs from security.toml by @chrislusf in #12489
- shell: include collection names when topology statistics are unavailable by @pingqiu in #12490
- shell: test collection.list keeps live statistics next to offline names by @chrislusf in #12492
- master: keep a re-registered filer in the lock ring when its old stream ends by @chrislusf in #12494
New Contributors
- @fazpu made their first contribution in #12337
- @Neo1228 made their first contribution in #12357
- @kpei made their first contribution in #12430
- @stefan-wisbric made their first contribution in #12436
- @mansur-akhmadi made their first contribution in #12482
Full Changelog: 4.52...4.53
AI summary Improved WebDAV and S3 multipart upload handling
What's Changed
- ci: fix aarch64/amd64 musl rust builds on ubuntu-24.04 by @chrislusf in #12070
- webdav: copy a file onto a collection URL without losing the collection by @jayhemnani9910 in #12068
- s3: group ListMultipartUploads by delimiter into CommonPrefixes by @jayhemnani9910 in #12069
- filer: support nanosecond timestamps for conditional delete (#11339) by @Tyagiquamar in #12071
- iceberg: fix CREATE TABLE rejecting a partition on the first column by @omninguyen in #12072
- fix: volume.fsck -volumeId purges live chunks referenced from outside the volume's bucket by @kisow in #12076
- fix(volume): keep preallocated growth above -volume.minFreeSpace by @JoePassanante in #12067
- mount: resume metadata-log replay where a dropped stream stopped by @chrislusf in #12079
- [Volume] Preserve request semantics in replica proxy reads by @ssshr-66 in #12075
- build(deps): bump actions/download-artifact from 7 to 8 by @dependabot[bot] in #12093
- build(deps): bump docker/login-action from 4.6.0 to 4.7.0 by @dependabot[bot] in #12094
- build(deps): bump github/codeql-action from 4.39.0 to 4.39.1 by @dependabot[bot] in #12092
- build(deps): bump actions/github-script from 7 to 9 by @dependabot[bot] in #12095
- build(deps): bump github.com/ThreeDotsLabs/watermill from 1.5.2 to 1.5.3 by @dependabot[bot] in #12091
- build(deps): bump github.com/redis/go-redis/v9 from 9.22.0 to 9.23.0 by @dependabot[bot] in #12088
- build(deps): bump github.com/getsentry/sentry-go from 0.49.0 to 0.50.0 by @dependabot[bot] in #12089
- build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.23.2 to 1.23.3 by @dependabot[bot] in #12087
- build(deps): bump github.com/pkg/sftp from 1.13.11 to 1.13.12 by @dependabot[bot] in #12086
- master, volume, filer: start on a read-only mounted directory and serve existing data read-only by @vic6996-web in #12081
- admin: install the go.mod-pinned templ, not @latest by @chrislusf in #12090
- vector: seaweed-vector workspace + flat/indexed top-K engine (P0 phase 1) by @chrislusf in #12096
- vector: ANN coverage introspection + prefilter (P0 phase 2) by @chrislusf in #12097
- vector: spike CLI, reference-comparison suite, CI (P0 phase 3) by @chrislusf in #12098
- s3: keep transient object-entry errors out of ErrObjectNotFound by @chrislusf in #12083
- filer,pb,mount: keep per-chunk cipher keys out of logs by @chrislusf in #12085
- admin: bump a-h/templ to v0.3.1100 to match @latest codegen by @chrislusf in #12100
- filer: deliver meta-log events under their stream position, not their stamp by @chrislusf in #12084
- vector: restore spike CLI flags lost in the #12098 rebase by @chrislusf in #12099
- filer: shut down test filers' meta-log buffers, fixing the 32-bit OOM by @chrislusf in #12104
- vector: VectorService gRPC contract (P1) by @chrislusf in #12101
- vector: weed-vector-server, the VectorService gRPC (P1) by @chrislusf in #12102
- s3: list every bucket when auth is off by @jayhemnani9910 in #12077
- ci: retry the timing-sensitive s3 lifecycle expiration tests once by @chrislusf in #12073
- vector: S3 Vectors API gateway (P1) by @chrislusf in #12103
- s3: fix CreateIndex metadata panic and ListVectors segmented paging by @chrislusf in #12106
- test: boto3 s3vectors conformance harness (P1) by @chrislusf in #12105
- test/vectors: fix the S3 Vectors e2e harness by @chrislusf in #12112
- filer.remote.gateway: stop zero-byte uploads of remote-only entries by @chrislusf in #12110
- test: assert the resumed segment token in ListVectors paging by @chrislusf in #12108
- vector: snapshot lease + maintenance safety tests (P2) by @chrislusf in #12107
- vector: address remaining s3vectors review findings by @chrislusf in #12115
- cluster: bound each DistributedLock attempt with a timeout by @julian-corbet in #12113
- mount: drain OFD locks when a file description is released by @chrislusf in #12117
- s3api: cap SOSAPI capacity by the reported physical disk bytes by @chrislusf in #12118
- topology: keep oversized volumes out of the writable list across re-registration by @chrislusf in #12120
- build(deps): bump google.golang.org/grpc past the #9330 deadlock fix by @chrislusf in #12123
- s3: allow bucket ownership controls when auth is off by @jayhemnani9910 in #12121
- webdav: refuse MKCOL and PUT under a missing folder with 409 by @jayhemnani9910 in #12122
- vector: index-segment restriction + partition helper (P3 seam) by @chrislusf in #12124
- Fix s3 cancelled read relookup by @HectorPeeters in #12130
- volume: replicate FetchAndWriteNeedle writes over the configured TLS scheme by @chrislusf in #12128
- remote_storage/s3: send Content-MD5 on RemoveDirectory DeleteObjects by @chrislusf in #12129
- s3: keep multipart part encryption on the initiate-time decision by @chrislusf in #12134
- s3: answer NoSuchBucket for encryption and policy writes to a missing bucket by @chrislusf in #12133
- filer,webdav,iam,sftp: add -idleTimeout flag for connection idle timeout by @chrislusf in #12136
- helm: render numbers and booleans in extraEnvironmentVars as values by @egezamb in #12137
- build(deps): bump github.com/go-jose/go-jose/v4 from 4.1.5 to 4.1.6 in /test/kafka by @dependabot[bot] in #12140
- build(deps): bump org.xerial.snappy:snappy-java from 1.1.10.4 to 1.1.10.9 in /test/java/spark by @dependabot[bot] in #12143
- build(deps): bump rustls from 0.23.45 to 0.23.46 in /seaweed-worker by @dependabot[bot] in #12142
- helm: keep the filer db credentials across uninstall and install by @egezamb in #12138
- helm: render the filer's mysql credentials once when the user sets them by @egezamb in #12139
- build(deps): bump rustls from 0.23.45 to 0.23.46 in /seaweed-volume by @dependabot[bot] in #12144
- build(deps): bump com.google.guava:guava from 32.1.3-jre to 33.7.1-jre in /test/java/spark by @dependabot[bot] in #12141
- build(deps): bump github.com/go-jose/go-jose/v4 from 4.1.5 to 4.1.6 by @dependabot[bot] in #12148
- vector: carry the full identity through s3vectors auth by @chrislusf in #12152
- vector: expose index names in segment planning by @chrislusf in #12150
- wdclient: count an elapsed caller deadline as caller-gave-up in LookupVolumeIds by @chrislusf in #12151
- vector: preserve typed error chains in lease pin/release by @chrislusf in #12153
- vector: weed-vector registers to master; s3 discovers it there by @chrislusf in #12146
- vector: round-trip and enforce non-filterable metadata keys by @chrislusf in #12157
- build(deps): bump com.google.guava:guava from 32.0.0-jre to 33.7.1-jre in /other/java/client by @dependabot[bot] in #12147
- wdclient: regression test for the elapsed caller-deadline lookup path by @chrislusf in #12154
- s3vectors: cover non-filterable key round-trip and nested filter rejection by @chrislusf in #12160
- sftp: refuse mkdir and uploads under a missing folder by @jayhemnani9910 in #12156
- vector: cover the identity object in s3vectors auth by @chrislusf in #12162
- vector: cover index names in named_segment_fragments by @chrislusf in #12161
- vector: owner-prefixed lease tags stop cross-server reaping by @chrislusf in #12158
- vector: only follow a leader hint that points elsewhere by @chrislusf in #12164
- s3: allow PutObjectAcl when auth is off by @jayhemnani9910 in #12155
- server: keep the first write on a fresh weed server from stalling by @chrislusf in #12149
- master: let location-constrained assigns wait for pending growth by @chrislusf in #12167
- sftp: fail rm and rmdir of a missing path, and mkdir of an existing one by @jayhemnani9910 in #12168
- fix(iceberg): serve a registered table's metadata on load and commit by @omninguyen in #12159
- master: replicate the recovery-wait growth unfreeze through raft by @chrislusf in #12165
- ec: rebuild a needle's suspect shard ranges when it fails to parse by @chrislusf in #12170
- vector: DeleteIndex format guard, sticky discovery, advertise normalize by @chrislusf in #12171
- vector: Lease::forget hands the tag name off without releasing by @chrislusf in #12174
- s3: route regular copy source reads to the write owner by @chrislusf in #12173
- filer.remote.sync: skip an event the filer has written past, not only rewritten by @impuls42 in #12176
- s3: allow PutBucketAcl when auth is off by @jayhemnani9910 in #12180
- s3: return x-amz-copy-source-version-id from CopyObject and UploadPartCopy by @jayhemnani9910 in #12181
- filer.remote.sync: upload a holed entry zero-filled instead of skipping it by @chrislusf in #12178
- admin: show maintenance lock blockers in scheduler UI by @chrislusf in #12184
- filer.redis3: accept username and keyPrefix options by @chrislusf in #12192
- admin: explain detection cooldowns and skipped scans by @chrislusf in #12185
- s3: accept bare composite checksum on CompleteMultipartUpload by @chrislusf in #12194
- iceberg maintenance: apply equality deletes only to older data files in their partition by @jatorre in #12187
- iceberg maintenance: an unreadable parquet file fails the job, not the process by @jatorre in #12188
- iceberg maintenance: bound decimal, time, uuid, fixed and rescaled timestamp columns on compacted files by @jatorre in #12190
- admin: warn on dashboard when cluster nodes run mixed versions by @chrislusf in #12196
- mount: rebuild dropped directory listings and stale sections on lookup by @chrislusf in #12195
- remote: reuse one guarded remote storage client per configuration by @jatorre in #12189
- ec.rebuild: remount shards the rebuild replaced, keep regenerated copies by @chrislusf in #12193
- vector: recheck master discovery quickly while no worker is cached by @chrislusf in #12199
- util: do not bind outbound dials to a loopback -ip.bind by @multivac61 in #12198
- mount, s3: clarify allowOthers requirement and bucket name error by @pingqiu in #12197
- iceberg maintenance: cache a remote-only file before reading it by @jatorre in #12191
- s3vectors: cap PutVectors at 500 items and check data against the index dimension by @chrislusf in #12200
- s3vectors: put, get and delete vector bucket policies by @chrislusf in #12201
- s3vectors: bound QueryVectors topK at the AWS limit by @chrislusf in #12202
- s3vectors: accept and return encryptionConfiguration on vector buckets by @chrislusf in #12203
- mount: keep the shared directory build out of the requester's context by @lucndm in #12206
- s3: evaluate multipart completion conditions under the object lock by @chrislusf in #12209
- s3: evaluate all conditional write headers under the object lock by @chrislusf in #12211
- vector: implement drop_index and have DeleteIndex drop the data by @chrislusf in #12204
- s3tables: reject s3vectors resources in bucket policies by @chrislusf in #12213
- s3vectors: fix shared API behavior and test Go/Rust volume parity by @chrislusf in #12216
- s3vectors: keep bucket policies in vector form and evaluate them in the gateway by @chrislusf in #12214
- filer.sync: skip superseded replays before fetching any chunks by @chrislusf in #12212
- s3tables: reject s3vectors resources in every ARN partition by @chrislusf in #12215
- s3tables: keep the admin bypass off an identified caller's empty action list by @chrislusf in #12217
- s3vectors: bound ListVectorBuckets and ListIndexes maxResults by @chrislusf in #12218
- mount: refuse to attach opens to a draining file handle by @chrislusf in #12219
- s3api: label bucket-level requests correctly in the access log by @pingqiu in #12224
- s3vectors: reject empty boolean-operator lists and sub-objects in filters by @chrislusf in #12220
- s3vectors: e2e conformance for vector bucket policy evaluation by @chrislusf in #12221
- s3vectors: validate index ARNs and expand live integration coverage by @chrislusf in #12222
- backup: resume incremental copies by index position instead of appendAtNs by @chrislusf in #12228
- backup: don't Close a volume after Destroy by @ki7dk in #12225
- s3api: return NoSuchUpload when aborting an upload that was already completed by @pingqiu in #12227
- test: use an s3vectors action in the vector policy round-trip by @chrislusf in #12226
- test/s3vectors: integration test design and catalog-surface suite by @chrislusf in #12229
- test: move the s3vectors pytest suite under test/s3vectors by @chrislusf in #12230
- webdav: overwrite on MOVE when the Overwrite header is missing by @jayhemnani9910 in #12232
- backup: carry index-only tombstones through incremental copies by @chrislusf in #12231
- webdav: answer 204 to a PUT that replaces a file by @jayhemnani9910 in #12233
- helm: mount existingClaim data and logs volumes for filer and master by @patwhite in #12234
- fix(volume): return conflict and explicit proof for read-only upload refusals by @chrislusf in #12236
- s3vectors: bound GetVectors and DeleteVectors key lists by @chrislusf in #12238
- helm: set resources on the worker-lance container by @AkshatIIITD in #12240
- s3vectors: record request metrics on the dispatch path by @chrislusf in #12241
- test/s3vectors: data-plane lifecycle integration test by @chrislusf in #12242
- test: add s3 integration tests for SQLite Cloud Backed Storage by @chrislusf in #12243
- fix(s3tables): refuse a create that a namespace delete can lose by @omninguyen in #12239
- vector: accept Go-style single-dash long flags by @chrislusf in #12247
- seaweed-volume: pin the read-only write status to 409 in the test by @chrislusf in #12244
- filer: buffer recently fetched chunks so parallel readers do not refetch by @chrislusf in #12254
- filer.backup: add -s3.flattenVersions to mirror the current S3 view of versioned buckets by @chrislusf in #12255
- volume.copy: drop the needle-map index a failed copy leaves behind by @chrislusf in #12252
- rust volume: keep a copied replica on deleted-count drift, as Go does by @franchb in #12251
- rust volume: remove the redb index when a failed VolumeCopy cleans up by @franchb in #12250
- volume.copy: reject only on file-count drift, warn on deleted-count by @chrislusf in #12253
- helm: add namespaceOverride to deploy into another namespace by @jeffWild in #12256
- deps: bump seaweedfs/raft for PreVote (leader survives partition rejoins) by @chrislusf in #12264
- helm: add commonLabels to the metadata of every object by @jeffWild in #12257
- fix(s3tables): answer 404 for a table name that was renamed away by @omninguyen in #12258
- security: fail closed on gRPC TLS errors, verify dialed server identity by @chrislusf in #12263
- volume: after losing the leader, dial the leader the other masters name by @fjvbn2003 in #12259
- s3: let bucket-scoped Admin grants auto-create matching buckets by @chrislusf in #12268
- s3: auto-create bucket on POST Object uploads to a missing bucket by @chrislusf in #12266
- fix(volume): reject a negative suffix length in Range headers by @hsdfat in #12269
- fix(s3): reject non-integer max-parts, part-number-marker and max-uploads by @hsdfat in #12270
- s3: keep an unset CORS MaxAgeSeconds unset by @jayhemnani9910 in #12272
- s3: take list markers as raw keys under encoding-type=url by @chrislusf in #12275
- s3: allow POST Object uploads when auth is off by @jayhemnani9910 in #12273
- fix(s3tables): keep the data under a deleted namespace by @omninguyen in #12276
- s3: honor assignment fsync in streaming copies by @ohnicholas93 in #12277
- filer: resume a rejoining peer's meta subscription at its last position by @chrislusf in #12279
- release: ship the Linux Rust binaries as static musl builds by @chrislusf in #12284
- master: deleting a read-only volume no longer drifts the active count by @chrislusf in #12285
- s3 sink: forward user metadata to the destination object by @chrislusf in #12286
- s3: drop retired volume servers from the gateway location cache by @chrislusf in #12281
- ec.balance: spread concurrent shard moves over target nodes by @arozanov in #12283
- s3vectors: authorize CreateVectorBucket as a vector action, close DeleteIndex race, fold policy service case by @chrislusf in #12287
- s3vectors: bound ListVectors parameters and lowercase distanceMetric by @chrislusf in #12290
- vector: keep S3 Vectors requests off the master-discovery lock by @chrislusf in #12291
- s3tables: make the vector namespace of a vector bucket read-only by @chrislusf in #12292
- s3tables: keep the vector-namespace fence on a declare of an existing index by @chrislusf in #12293
- vector: confine DropIndex to the table's own path, bound master dials, check the gRPC port by @chrislusf in #12294
- vector: follow a leader hint at once and skip one that failed this pass by @chrislusf in #12295
- vector: keep ListVectors pages and segments flat as an index grows; read only keys in GetVectors by @chrislusf in #12300
- volume: serve a ranged GET without reading the whole needle by @chrislusf in #12301
- vector: stop re-parsing a filter's JSONPath for every scanned row by @chrislusf in #12302
- test(s3vectors): add an opt-in end-to-end perf suite for vector buckets by @chrislusf in #12297
- admin: measure volume server usage like its capacity by @Tyagiquamar in #12306
- vector: cache reads of write-once Lance files across requests by @chrislusf in #12303
- fix(s3tables): let DeleteTableBucket remove empty leftover directories by @omninguyen in #12307
- fix(s3): verify SigV4 signature with decoded path behind X-Forwarded-Prefix by @Tyagiquamar in #12299
- volume: read a manifest chunk from another replica when one fails by @chrislusf in #12313
- filer.backup: keep local sink writes inside the sink directory by @chrislusf in #12310
- Ship weed-vector in release assets and Docker images by @chrislusf in #12322
- volume: don't let an unreachable tier backend hold up volume server startup by @chrislusf in #12312
- filer: scope a prefix JWT to the directory a zip extract writes under by @chrislusf in #12305
- s3vectors: match a filter value against the elements of an array by @chrislusf in #12321
- s3vectors: vend write credentials to index data only to the vector engine and Lance worker by @chrislusf in #12316
- shell: dial volume servers on their registered gRPC port in volume.scrub, ec.scrub, volume.server.state by @chrislusf in #12315
- vector: build weed-vector without a system protoc by @chrislusf in #12317
- s3vectors: resolve the caller like table buckets and honor bucket-scoped identity actions by @chrislusf in #12319
- s3vectors: report the Euclidean distance, not its square by @chrislusf in #12318
- seaweed-vector: work on its defaults, and without identities or credentials by @chrislusf in #12323
- s3vectors: encrypt the objects of a vector bucket declared AES256 by @chrislusf in #12324
- s3vectors: accept bodies up to the 32 MiB limit, report larger ones as a size error, log engine failures by @chrislusf in #12320
- s3api: let the vectors route, not the credential scope, raise the body limit by @chrislusf in #12326
- s3: require Admin to put or delete a bucket's lifecycle configuration by @chrislusf in #12327
- fix(s3tables): bind table and view writes to the record they were authorized against by @omninguyen in #12328
- fix(s3tables,s3vectors): bind table and vector bucket writes to the bucket they were authorized against by @chrislusf in #12329
- ci: cancel a PR's runs when it is merged or closed by @chrislusf in #12330
New Contributors
- @vic6996-web made their first contribution in #12081
- @julian-corbet made their first contribution in #12113
- @HectorPeeters made their first contribution in #12130
- @multivac61 made their first contribution in #12198
- @ki7dk made their first contribution in #12225
- @patwhite made their first contribution in #12234
- @AkshatIIITD made their first contribution in #12240
- @jeffWild made their first contribution in #12256
- @ohnicholas93 made their first contribution in #12277
- @arozanov made their first contribution in #12283
Full Changelog: 4.51...4.52
AI summary S3 API and admin session improvements
What's Changed
- s3api: stop echoing stored tags and internal attributes on GET/HEAD by @chrislusf in #12053
- admin: keep read-only sessions out of the filer /etc tree by @chrislusf in #12057
- s3tables: scope the anonymous identity's grant on the table catalogs by @chrislusf in #12056
- master: shorten the first-write hold after a fresh topology id by @chrislusf in #12059
- filer, volume: ignore Range when If-Range no longer matches by @jayhemnani9910 in #12052
- feat: send EC shards in parallel per destination disk by @CHEPURNOV-S-S in #12050
- command: no extra localhost listener when -ip.bind is specified by @chrislusf in #12055
- mini: lift the post-mint allocation hold on first inventory report by @chrislusf in #12061
- filer: auto-enable per-path commit records when a peer has its own store by @chrislusf in #12062
- s3: answer GET and HEAD of a delete marker as S3 does by @jayhemnani9910 in #12051
- iam/oidc: drop single-use web-identity tokens and the jti replay cache by @chrislusf in #12065
Full Changelog: 4.50...4.51
AI summary Improved startup stability and S3 lifecycle management
What's Changed
- filer: do not stall startup waiting out the leader-settle window by @chrislusf in #11972
- volume: drop stale index entries that resolve to a different needle by @chrislusf in #11948
- s3 lifecycle: route version-file writes to current-version expiration by @chrislusf in #11956
- s3: end a catalog-vended session with the access key it was vended for by @jatorre in #11945
- fuse integration: run posix suites on weed mini and allow allow_other mounts by @chrislusf in #11984
- ci: cancel superseded workflow runs on PR pushes by @chrislusf in #11979
- ci: build test binaries once, share them across shard jobs by @chrislusf in #11981
- ci: cache docker build layers for container_dev by @chrislusf in #11980
- ci: skip setup-go cache on self-hosted runners by @chrislusf in #11985
- ci: skip actions/cache on self-hosted runners by @chrislusf in #11986
- helm: fix bucket hook treating an existing bucket as missing by @bati-valensas in #11982
- test: stop EC integration tests from pinning default master port 9333 by @chrislusf in #11988
- test/fuse: fix cluster startup in the fuse test framework by @chrislusf in #11977
- shell: retry filer discovery until a filer registers by @chrislusf in #11994
- tests: pin weed mini admin ports and disable unused aux services by @chrislusf in #11997
- volume: also listen on localhost like other components by @chrislusf in #11995
- server: skip local unix sockets that cannot be bound by @chrislusf in #12000
- command: keep filer, s3, and sftp up when the local unix socket cannot bind by @chrislusf in #11999
- ci: gate go/java/python tool caches to github-hosted runners by @chrislusf in #12001
- master: cap writable volumes per collection via -maxWritableVolumes by @chrislusf in #11923
- s3: gate POST Object acl fields behind PutObjectAcl by @chrislusf in #11939
- iam: GetUserPolicy returns NoSuchEntity for a policy name the user does not have by @jayhemnani9910 in #11944
- ec.encode: require shard placement to meet -shardReplicaPlacement by @chrislusf in #11947
- ci: set up Go for CodeQL autobuild by @chrislusf in #12007
- test: raise mini-server startup wait from 30s to 90s in Makefiles by @chrislusf in #12005
- test: gofmt s3tables test files by @chrislusf in #12011
- s3: url-encode ListMultipartUploads results for encoding-type=url by @Tyagiquamar in #11998
- volume.fsck: run all filer-entry purges through the shared worker pool by @chrislusf in #11960
- ci: make docker registry and compose steps idempotent on self-hosted runners by @chrislusf in #12012
- filer: bootstrap a timestamp-less peer entry onto a missing local path by @chrislusf in #11975
- test: skip catalog client images that cannot execute on the host CPU by @chrislusf in #12014
- ci: install fuse3 when runners lack fusermount3 by @chrislusf in #12013
- docker: build RocksDB v11.1.2 for grocksdb v1.11.1 by @chrislusf in #12002
- filer.backup: process metadata events through the concurrent processor by @chrislusf in #11951
- operation: euthanize pooled upload conns that stall far below a fast host by @chrislusf in #12003
- filer.conf: merge fsync on presence like worm by @chrislusf in #11953
- iceberg maintenance: match percent-decoded keys when checking file references by @chrislusf in #11978
- test(s3 remote cache): wait for the master to list the filer before shell commands by @chrislusf in #12018
- ci: isolate S3 lifecycle mini from LAN clusters by @chrislusf in #12022
- test: handle unsupported catalog clients in S3 Tables CI by @chrislusf in #12023
- master: cap parallel vacuums per rack via master.vacuum.max_parallel_per_rack by @chrislusf in #11935
- filer.remote.sync: dispatch an update event by the side of the mount it touches instead of slicing the mount prefix off a path outside it by @jsas in #11958
- build(deps): bump github.com/go-chi/chi/v5 from 5.3.1 to 5.4.0 by @dependabot[bot] in #12004
- shell: retry filer discovery until master knows a filer by @chrislusf in #11989
- iceberg maintenance: a merged file with null row ids names no first_row_id by @jatorre in #11973
- ci: invoke pip via python -m in s3tests clone steps by @chrislusf in #12010
- s3api: support s3:RequestObjectTagKeys in bucket policies by @junkerderprovinz in #11993
- notification: named webhook targets for per-path event routing by @chrislusf in #11925
- release: digest-bound provenance and SBOM attestations for container images by @chrislusf in #12024
- s3api: write the null version's object-lock metadata to the plain entry by @chrislusf in #12033
- master: never auto-admit raft peers on a single-node configuration by @chrislusf in #12021
- s3: evaluate bucket CORS for path-style OPTIONS on the bucket root by @wleeaf in #12028
- topology: mark replica quarantined before recording the pair by @chrislusf in #11983
- iam/oidc: wrap the jti replay cache in its own type by @chrislusf in #12017
- filer: let NewChunkStreamReaderFromFiler fall back to the master on a cache miss by @niko4464 in #11964
- s3: allow up to 50 tags in a bucket tag set by @wleeaf in #12030
- volume: keep a below-minimum fsync batch open for stragglers by @chrislusf in #12016
- filer: match If-Match and If-None-Match against "*" and ETag lists by @jayhemnani9910 in #12026
- master: read the writable-volumes cap from master.toml by @chrislusf in #12009
- volume: check If-None-Match before If-Modified-Since and match ETag lists by @jayhemnani9910 in #12027
- topology: stop a stale duplicate-vid report from re-quarantining the survivor by @chrislusf in #12032
- s3: accept a self-copy that changes the storage class by @wleeaf in #12031
- feat: Free Volume Deadband (M) for EC shard placement by @CHEPURNOV-S-S in #12029
- ci: clean up stale FUSE mounts before running tests by @chrislusf in #12020
- mq/kafka: wait for a filer to register instead of panicking on an empty list by @pingqiu in #12019
- s3: make ListObjectsV2 continuation tokens round-trip XML-unsafe keys by @Tyagiquamar in #11996
- test(fuse): raise mini/filer and mount readiness waits to 90s by @chrislusf in #12037
- s3: fix wildcard matcher skipping '*' targets in policy patterns by @chrislusf in #12034
- filer.backup: retry a failed checkpoint read instead of replaying from the epoch by @AdzerKI in #12036
- remote_storage/s3: send only real object tags to the remote by @chrislusf in #12039
- ci: run s3-go-tests on remote_storage changes by @chrislusf in #12043
- shell: run volume.configure.replication in parallel per volume server by @junkerderprovinz in #12041
- helm: remove filer.redirectOnRead, which weed filer does not accept by @junkerderprovinz in #12040
- redis2: pipeline entry reads when listing a directory by @junkerderprovinz in #12042
- test: mismatched If-None-Match serves the object over If-Modified-Since by @chrislusf in #12045
- s3: authorize POST policy uploads through the shared object check by @chrislusf in #12047
- volume: overlap the local needle write with the replica fan-out by @chrislusf in #10074
- filer: fix prefixed listing when the resume point sorts below the prefix by @chrislusf in #12049
- test: bound trino container memory + dump logs when it exits before ready by @chrislusf in #12044
New Contributors
- @bati-valensas made their first contribution in #11982
- @wleeaf made their first contribution in #12028
- @niko4464 made their first contribution in #11964
Full Changelog: 4.49...4.50
iam/oidc: reject reused jti claims with a bounded replay cache (#11936)
* iam/oidc: reject reused jti claims with a bounded replay cache
* iam/sts: pass jti replay settings through convertToOIDCConfig
* iam/oidc: keep consumed jtis and stop the cleanup worker across re-init
Re-initializing a provider reset the JTI store, so an already-used token
could be presented again after a config refresh; the store is now
allocated once and survives Initialize. The cleanup worker is stopped on
every re-init (previously only when protection stayed enabled), is
started only after the rest of Initialize has succeeded, and Shutdown no
longer consumes a permanent sync.Once, so a re-initialized worker can be
stopped again.
* iam/oidc: enforce the jti replay cache bound for every token
Tokens without a usable jti claim skipped the cache entirely and stayed
reusable; they are now keyed by the token's own fingerprint so a repeat
presentation is still a replay. Tokens without exp previously failed as
expired on first use; their entry now gets a bounded retention. The
replay test-and-set now runs before any capacity work so replayed tokens
cannot each trigger a full-cache scan, the entry count is incremented as
part of the insert so concurrent validations cannot overshoot the bound,
and a guaranteed serialized sweep runs before a capacity rejection while
opportunistic sweeps are rate limited and confined to one at a time. Raw
token identifiers are no longer written to logs or errors, a stable
fingerprint is logged instead.
* iam/sts: shut down providers dropped by the managed-provider swap
Each managed OIDC provider runs a background JTI cleanup worker, but
SetIAMManagedOIDCProviders replaced the provider map without stopping
the old providers, so every refresh leaked goroutines. Providers absent
from the new map are now shut down; providers that stay keep running.
* iam/integration: reuse providers across refreshes for unchanged records
Every refresh rebuilt providers from their records, so a refreshed
provider forgot the JTIs it had already consumed and an already-used
token could be presented again. Records are now fingerprinted and an
unchanged record reuses its provider, keeping the consumed-token cache;
changed records are rebuilt, removed records are dropped, and the swap
in STS releases the workers of whatever is no longer referenced.
* iam/oidc: consume replay entries only on the single-use exchange path
Bearer authentication validates the same token on every request, so
consuming it in shared ValidateToken/Authenticate made every token
single-use and rejected all but the first request. The replay check now
runs only for the STS exchange via AuthenticateSingleUse; bearer paths
validate without consuming. A token without exp also no longer gets a
bounded replay entry that ages out while the token stays valid: its
entry is kept until the capacity bound evicts it, so it can never become
usable again.
* iam/oidc: keep the mock provider on the mock path for single-use calls
* iam/oidc: require exp on single-use tokens
A cache slot frees only by expiry, so an expiry-less entry would hold it
forever; a burst of distinct tokens could exhaust the bound permanently
and block every later exchange.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* s3: give each web-identity test token a unique jti
Subtests minted tokens with identical claims inside one second, so the
exchange saw the same token fingerprint twice and the second call read
as a replay. Each exchange now carries its own jti.
* iam/oidc: carry the consumed-token replay store across provider rebuilds
A record change rebuilds the managed provider with a fresh JTI store, so a token consumed before the rebuild could be presented again until it expired. The new provider adopts the replaced provider's replay store before it is published, and the replaced provider is shut down so only one cleanup worker sweeps the shared store.
* iam/oidc: stop the cleanup worker of providers dropped from the store
A refresh removed the provider object from the managed cache but left its JTI cleanup goroutine running for the life of the process.
* iam/oidc: merge a provider's consumed replay entries into another's store
MergeReplayStateFrom folds one provider's consumed-token entries into
another's, skipping already-expired ones. Unlike AdoptReplayStateFrom it
swaps no pointers, so it is safe on a provider still serving validators.
* iam/integration: share one provider and replay store across identical issuer records
Records for the same issuer URL with identical validation settings now
reuse a single provider, so a token consumed through one account's
record is rejected through the other's — previously each record owned a
separate jti store and a spent token could be replayed cross-account.
A superseded provider's consumed entries merge into the shared store so
no rejection is lost, and a removed or rebuilt provider is only shut
down once no remaining record references it.
* iam/oidc: hand the superseded provider's live replay store to the shared one
* iam/oidc: carry merged replay entries without charging the capacity bound
* iam/oidc: key the jti-less replay fingerprint on the signed input
Hashing the whole token lets ECDSA signature malleability (s -> N-s)
mint a second cache key for identical claims, so a consumed token could
be replayed for another exchange. Key the fallback on header.payload
instead.
* iam/oidc: publish the jti cache bound before the enabled flag
Initialize stored jtiEnabled ahead of jtiMaxSize, so a provider flipped
from disabled to enabled exposed enabled=true with a zero bound for a
window; a single-use validation landing there would compute
newCount > maxSize and reject with "JTI cache capacity exceeded". Store
the bound first so the flag is the last thing published.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
---------
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@ Every self-hosted release, weekly
One Monday email with the week's stable releases across the directory.
More in Cloud Storage
SFTPGoSelf-hosted managed file transfer platform supporting SFTP, FTP/S, HTTP/S and WebDAV protocols with S3, Google Cloud Storage and Azure Blob backends.- slclSelf-hosted, open-source web file server ('cloud') written in C99 with no JavaScript, offering quota-limited uploads, read-only public sharing and zip downloads.
spacedriveAn open-source, self-hosted file manager that unifies local drives, NAS, servers and cloud buckets into one searchable, indexed filesystem across your devices.
storjOpen-source (AGPLv3) code behind Storj's distributed object storage network: satellite, storage node and S3 gateway services you can self-host with Docker Compose.
swiftstackOpen-source, self-hosted distributed object storage for unstructured data, with a REST API, S3 compatibility, replication, erasure coding and storage policies.
Sync-inSync-in is a self-hosted, open-source workspace for file storage, sharing, sync and team collaboration, with WebDAV, OIDC/LDAP sign-in and online office editing.
TG VaultSelf-hosted Telegram file archiver that stores files to local disk, OneDrive, Google Drive, S3, WebDAV and more with a web UI and bot for private cloud management.
UguuSelf-hosted, open-source temporary file host where visitors drop, paste or upload files with no account; it offers a JSON/CSV/text upload API and configurable expiry.
Versity S3 GatewayVersityGW is an open-source, Apache-2.0 S3 object-storage gateway in Go: it turns POSIX filesystems, ScoutFS or Azure Blob into an S3 API, with IAM, WebUI and Helm.
webdavSelf-hosted, open-source WebDAV server written in Go: basic auth with bcrypt hashes, fine-grained read/create/update/delete rules, built-in TLS, and Docker images.
Zenko CloudServerZenko CloudServer, an open-source Node.js implementation of the Amazon S3 protocol on the front-end and backend storage capabilities to multiple clouds, including Azure and Google.
ZPanOpen-source, self-hosted S3-native cloud drive: browser-to-bucket presigned uploads, share links, image hosting, WebDAV mounting, remote downloads and team spaces.





0 comments