Skip to content

Reconcile in-tree stress and join docs from #33 - #42

Merged
loverustfs merged 2 commits into
mainfrom
cursor/reconcile-stress-join-docs-0c8e
Nov 19, 2026
Merged

loverustfs merged 2 commits into
mainfrom
cursor/reconcile-stress-join-docs-0c8e

Conversation

@loverustfs

@loverustfs loverustfs commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This pull request reconciles #33 without modifying it. Pull request #33, branch cursor/docs-stress-acceptance-6d35, and commit a7c7a4d7ef425b2148485127362b626009815014 are left open and unchanged. No comment was added there.

The branch started at d9030543ccca15281803de84dddabb5405fd369d (the squash of #36). Current main is now 36f50655441d79ba744d820c6957bfc977521158 (#40, parent d9030543). This branch was not merged with that commit: the English docs/en/operations.md overlap is disjoint, and this update does not edit that file. Head is 1d0b4c54d2bce1be297b9a45f82e9f5bf6429a3a. This pull request is not merged.

Documentation only. No product code, tests, benches, GitHub Actions, or a48d038. These edits were not executed as a running server. No throughput or latency number is recorded as a repository result.

Changed sentences are English, including on the locale pages. Existing locale prose, the #34 simulation-catalog paragraph, the #35 auth fixtures, and the #36 status wording stay in place. The files were not replaced wholesale.

Heartbeat sentence on the four locale operations pages

1d0b4c54 changes only docs/{de,fr,ja,zh}/operations.md, one sentence each (4 insertions, 4 deletions) versus 3dc558b7. The old sentence said metadbd has no heartbeat sender and StoreHeartbeat does not persist. That is false after #40. The replacement says registered-node liveness is fsynced in CELL_CONTROL_PLANE, metadbd persists its own record about every 3 seconds and sends it to the current leader when this process is not the leader, descriptors on that RPC are annotations and not routes, and the observation does not schedule placement. It links Scale control plane. It does not claim automatic leadership transfer or shard-file movement.

What was carried over from #33

Read from #33's diff against 4a0a4c3b7e3f15953949bb5736a957e90a9cf3f8, then checked against the tree at d9030543:

  • cargo test -p metadb-server --test stress_harness is in this tree. stress_smoke_mixed_workload runs with cargo test --workspace and ignores METADB_STRESS_* (5 seconds, 4 clients, 4 directories). stress_local_mixed_workload is #[ignore] and reads those variables (defaults 30 seconds, 8 clients, 16 directories).
  • metadb-ctl bench --embedded and --workload mixed call the same harness and do not dial --endpoint or use --ops. --profile defaults to smoke. --profile ci is that same smoke profile. --profile local reads the environment, then --duration-secs, --concurrency, --keyspace, and --seed override it. Remote hotspot-create and bulk-ttl-delete ignore --profile.
  • ops counts successful mixed-loop operations only. ops_per_s divides that count by elapsed time. errors counts mixed-loop operations that did not succeed. A failed maintenance tick adds one to errors, sets correctness_errors to 1, and skips the check. When the check runs, correctness_errors counts mismatched listings, dirstat, and quota, and failed dirstat, listdir, and get_quota calls. Latency percentiles cover every mixed-loop attempt, including failures. They are not percentiles of ops. This tree does not enforce a latency threshold.
  • A printed line is a result for the machine that printed it. It is not a checked-in service-level result, not a first-ship pass, and not the official 1,000,000-create prefix load.
  • The documentation gap that said a second and third metadbd process could not join is removed. join_existing_group covers two cases: metadbd_processes_join_existing_group_and_fail_over starts real metadbd processes; join_sends_the_shared_secret opens two clusters inside the test process and does not start two metadbd OS processes. Join still reaches only the current leader. A second Cell remains an error.
  • Locale pages no longer say those commands exist only on pull request Add persistent topology tests and a mixed stress harness #2, and they no longer quote the sample line ops=12219.

Locale gap conflict

#33 renumbered the locale documentation gaps and left item 5 as "an operator-settable Raft timer." That claim is false on current main: [raft] is loaded, applied when a group starts, and not reloaded. The resolved item 5 uses the landed operability gaps instead: no gRPC health RPC, no probes without metrics_listen_addr, no per-shard Prometheus series, /readyz does not wait for the 250 ms 2PC recovery pass, and an unknown leader makes /readyz and /healthz return 503. The following item stays the checked-in metadb-ctl bench result limitation, without the sentence that said the harness is absent from this tree.

Test plan

  • Read the heartbeat bullet in docs/{de,fr,ja,zh}/operations.md and confirm it points at docs/en/scale-control-plane-status.md and does not say there is no sender.
  • Confirm git diff 3dc558b7aa3df3df98f462ef9f5d535078728b23...1d0b4c54d2bce1be297b9a45f82e9f5bf6429a3a is those four lines only.
  • Do not treat this documentation edit as an executed server test.
Open in Web Open in Cursor 

cursoragent and others added 2 commits November 19, 2026 20:19
Reconcile the stress-harness and join wording from pull request 33 onto current main. Keep machine-local bench disclaimers, drop the stale second-process gap, and keep the landed readiness limits instead of a missing Raft timer.

Co-authored-by: RustFS <hello@rustfs.com>
Registered-node heartbeats are fsynced in CELL_CONTROL_PLANE. metadbd persists its own record about every 3 seconds and sends it to the current leader. Descriptors stay annotations and do not schedule placement.

Co-authored-by: RustFS <hello@rustfs.com>
@loverustfs
loverustfs merged commit 9abd426 into main Nov 19, 2026
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.

2 participants