mirror of
https://github.com/rustfs/rustfs.git
synced 2026-12-01 13:44:49 +00:00
d82bf5b1f5
* fix(ecstore,rustfs): fix rolling restarts, health probe, and request_id - Unpin STREAM_AUTH_PINNED_ENDPOINTS on authenticated peer boot_epoch rotation (probed via signed Ping on legacy-downgraded streams) while remaining fail-closed for unauthenticated downgrades under unchanged epochs, fixing 1.0.8 -> 1.0.7 rollback stream-auth failures. - Probe peer boot_epoch and re-sign replay scope headers on transient internode gRPC Unauthenticated errors during same-version restarts. - Propagate online_drives_strict onReadQuorum retry hints and treat transient transport disconnects during quorum reads as retriable shard unavailable errors instead of immediate 503 SlowDown. - Evaluate live erasure set read/write quorums across local and remote drives in /minio/health/cluster and /minio/health/cluster/read so a 2/4-node outage returns HTTP 503 instead of a false-healthy 200. - Propagate S3 x-amz-request-id end-to-end across internode gRPC and HTTP storage RPC boundaries for cross-node observability correlation. Refs: https://github.com/rustfs/backlog/issues/3390 * fix(connect,release): raise symbol caps, compact 1GiB set, sync 1.0.8 - Raise GNU symbol-catalog budgets (aarch64-gnu 48 MiB, x86_64-gnu 56 MiB) in crates/connect-symbol-catalog to accommodate expanded workspace symbol tables. - Switch low-RAM (<= 2 GiB cgroup/host) CPU profile symbolizer fallback to a compact Vec<(u64, u64, Box<str>)> sorted address table so 1 GiB hosts never OOM during CPU profile symbolization. - Synchronize workspace Cargo.toml, Cargo.lock, flake.nix, rustfs.spec, and helm/rustfs/Chart.yaml versions to 1.0.8. Refs: https://github.com/rustfs/backlog/issues/3390 * fix(filemeta,scanner,heal): stabilize xl.meta, MRF fairness, telemetry - Sort HashMap entries deterministically before MessagePack encoding in FileMeta::encode_to so healed and re-encoded xl.meta shards produce identical byte layouts and HighwayHash/CRC checksums across nodes. - Classify confirmed object absence in MRF heal execution as terminal instead of looping recreate_failed retries, and enforce anti-starvation fairness for Scanner and ReadRepair lanes under MRF High bursts. - Expose executed heal counters by source (MRF, Scanner, ReadRepair) in MRF status endpoints and export dirty_pending_buckets / scanner cycle telemetry in scanner activity snapshots. Refs: https://github.com/rustfs/backlog/issues/3390 * fix(ecstore): bound 3x4 SIGSTOP stalls with hedging and host fast-fail - Hedge multi-pending shard reads and read_xl_meta quorum fetches across remaining drives instead of stalling behind a single SIGSTOP'd node, and bound post-quorum write/delete straggler grace windows. - Record peer straggler timeouts into host fast-fail windows and apply host fast-fail on read retries (including IgnoreFailure attempt 0) so subsequent operations bypass hung peers immediately. - Allow .rustfs.sys metadata read-repair staging under a shared lock so a hung peer cannot hold an exclusive write lock for 10s across bucket validation paths. - Switch SetDisks::stat_bucket_with_quorum from join_all to FuturesUnordered early-return on presence quorum or strict-majority absence so bucket existence revalidation after TTL expiry never blocks on a SIGSTOP'd peer. Refs: https://github.com/rustfs/backlog/issues/3390 * test(ecstore): wire real-ECStore multipart DST cutpoints and SimDisk - Wire opt-in DST crash cutpoints (MultipartBeforeQuorumRename, MultipartMidQuorumRename, MultipartAfterCommitBeforeCleanup) directly into SetDisks::complete_multipart_upload_inner and add transactional part staging/commit support in DstSimDisk. - Add real-ECStore deterministic crash-recovery tests verifying all-or-nothing multipart visibility and convergent post-crash cleanup. Refs: https://github.com/rustfs/backlog/issues/3390 * fix(ecstore,fuzz): fix test clippy lint and sync fuzz/Cargo.lock - Replace index range loop over errs in 3x4 SIGSTOP metadata read test with errs.iter().enumerate().take(4) to satisfy clippy --all-targets. - Sync workspace crate versions to 1.0.8 in fuzz/Cargo.lock so --locked fuzz harness checks succeed.
140 lines
4.7 KiB
RPMSpec
140 lines
4.7 KiB
RPMSpec
%global _enable_debug_packages 0
|
|
%global _empty_manifest_terminate_build 0
|
|
Name: rustfs
|
|
Version: 1.0.8
|
|
Release: 1
|
|
Summary: High-performance distributed object storage for MinIO alternative
|
|
|
|
License: Apache-2.0
|
|
URL: https://github.com/rustfs/rustfs
|
|
Source0: https://github.com/rustfs/rustfs/archive/refs/tags/%{version}.tar.gz
|
|
|
|
BuildRequires: cargo
|
|
BuildRequires: rust
|
|
BuildRequires: mold
|
|
BuildRequires: pango-devel
|
|
BuildRequires: cairo-devel
|
|
BuildRequires: cairo-gobject-devel
|
|
BuildRequires: gdk-pixbuf2-devel
|
|
BuildRequires: atk-devel
|
|
BuildRequires: gtk3-devel
|
|
BuildRequires: libsoup-devel
|
|
BuildRequires: cmake
|
|
BuildRequires: clang-devel
|
|
|
|
%description
|
|
RustFS is a high-performance distributed object storage software built using Rust, one of the most popular languages worldwide. Along with MinIO, it shares a range of advantages such as simplicity, S3 compatibility, open-source nature, support for data lakes, AI, and big data. Furthermore, it has a better and more user-friendly open-source license in comparison to other storage systems, being constructed under the Apache license. As Rust serves as its foundation, RustFS provides faster speed and safer distributed features for high-performance object storage.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version}
|
|
|
|
%build
|
|
# Set the target directory according to the schema
|
|
export CMAKE=$(which cmake3)
|
|
%ifarch x86_64 || aarch64 || loongarch64
|
|
TARGET_DIR="target/%_arch"
|
|
PLATFORM=%_arch-unknown-linux-gnu
|
|
%else
|
|
TARGET_DIR="target/unknown"
|
|
PLATFORM=unknown-platform
|
|
%endif
|
|
|
|
# Set CARGO_TARGET_DIR and build the project
|
|
#CARGO_TARGET_DIR=$TARGET_DIR RUSTFLAGS="-C link-arg=-fuse-ld=mold" cargo build --release --package rustfs
|
|
%ifarch loongarch64
|
|
CFLAGS="-mcmodel=medium" CARGO_TARGET_DIR=$TARGET_DIR RUSTFLAGS="-C link-arg=-fuse-ld=mold -C link-arg=-lm" cargo build --release --target $PLATFORM -p rustfs --bins
|
|
%else
|
|
CARGO_TARGET_DIR=$TARGET_DIR RUSTFLAGS="-C link-arg=-fuse-ld=mold -C link-arg=-lm" cargo build --release --target $PLATFORM -p rustfs --bins
|
|
%endif
|
|
|
|
%install
|
|
mkdir -p %buildroot/usr/bin/
|
|
install %_builddir/%{name}-%{version}/target/%_arch/%_arch-unknown-linux-gnu/release/rustfs %buildroot/usr/bin/
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc docs
|
|
%_bindir/rustfs
|
|
|
|
%changelog
|
|
* Mon Nov 30 2026 RustFS Team <dev@rustfs.com>
|
|
- Update RPM package to RustFS 1.0.8
|
|
|
|
* Wed Nov 11 2026 overtrue <anzhengchao@gmail.com>
|
|
- Update RPM package to RustFS 1.0.5
|
|
|
|
* Mon Oct 26 2026 overtrue <anzhengchao@gmail.com>
|
|
- Update RPM package to RustFS 1.0.4
|
|
|
|
* Sun Oct 18 2026 overtrue <anzhengchao@gmail.com>
|
|
- Update RPM package to RustFS 1.0.3
|
|
|
|
* Fri Oct 16 2026 overtrue <anzhengchao@gmail.com>
|
|
- Update RPM package to RustFS 1.0.2
|
|
|
|
* Sat Oct 03 2026 overtrue <anzhengchao@gmail.com>
|
|
- Update RPM package to RustFS 1.0.1
|
|
|
|
* Wed Sep 16 2026 overtrue <anzhengchao@gmail.com>
|
|
- Record the RustFS 1.0.0 stable release
|
|
|
|
* Mon Sep 14 2026 overtrue <anzhengchao@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0
|
|
|
|
* Mon Aug 31 2026 overtrue <anzhengchao@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0-rc.5
|
|
|
|
* Thu Aug 27 2026 overtrue <anzhengchao@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0-rc.4
|
|
|
|
* Thu Aug 20 2026 overtrue <anzhengchao@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0-rc.3
|
|
|
|
* Fri Aug 14 2026 overtrue <anzhengchao@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0-rc.2
|
|
|
|
* Sat Aug 08 2026 overtrue <anzhengchao@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0-rc.1
|
|
|
|
* Thu Jul 30 2026 overtrue <anzhengchao@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0-beta.12
|
|
|
|
* Thu Jul 23 2026 overtrue <anzhengchao@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0-beta.11
|
|
|
|
* Fri Jul 17 2026 overtrue <anzhengchao@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0-beta.10
|
|
|
|
* Thu Jul 16 2026 houseme <housemecn@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0-beta.10-preview.4
|
|
|
|
* Thu Jul 16 2026 houseme <housemecn@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0-beta.10-preview.1
|
|
|
|
* Tue Jul 14 2026 houseme <housemecn@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0-beta.9
|
|
|
|
* Wed Jun 10 2026 houseme <housemecn@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0-beta.8
|
|
|
|
* Wed Jun 03 2026 houseme <housemecn@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0-beta.7
|
|
|
|
* Thu May 28 2026 houseme <housemecn@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0-beta.6
|
|
|
|
* Thu May 20 2026 houseme <housemecn@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0-beta.4
|
|
|
|
* Thu May 14 2026 houseme <housemecn@gmail.com>
|
|
- Update RPM package to RustFS 1.0.0-beta.3
|
|
|
|
* Thu Jan 28 2026 houseme <housemecn@gmail.com>
|
|
- Initial RPM package for RustFS 1.0.0-alpha.81
|
|
|
|
* Thu Nov 20 2025 Wenlong Zhang <zhangwenlong@loongson.cn>
|
|
- Initial RPM package for RustFS 1.0.0-alpha.69
|
|
|
|
* Tue Jul 08 2025 Wenlong Zhang <zhangwenlong@loongson.cn>
|
|
- Initial RPM package for RustFS 1.0.0-alpha.36
|