Skip to content

Consolidate overlapping status corrections from docs PRs 27-31 - #36

Merged
loverustfs merged 6 commits into
mainfrom
cursor/consolidate-docs-status-0c8e
Nov 19, 2026
Merged

loverustfs merged 6 commits into
mainfrom
cursor/consolidate-docs-status-0c8e

Conversation

@loverustfs

@loverustfs loverustfs commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Documentation corrections only. This pull request is not merged to main.

main is f9425f39fa241f44b1938909c35bc653b36de36f (parent 9b152ae4f820fa5f8e6971eab0862d23e5ca385f, tree 2899e237e58a0ead613745e8bd65b8f2863e456c). Head 763058c1cf6d267053bcb9a562810467c49d2883 is a normal merge of that commit onto 5520bb3adf511ac3c9e8d29b32ce28e79fd98a77. History was not rebased and was not force-pushed. This update does not merge the pull request.

The status wording consolidated from open pull requests #27, #28, #29, #30, and #31 still exists only on this branch. This pull request does not merge, close, or comment on those pull requests. The diff against current main does not change product code, tests, GitHub Actions, or repository settings. It does not say workflows are enabled, and it does not claim a launch pass, a three-VM pass, an official-load pass, or a scale pass. Pull request #33 is not touched. The metadb-ctl bench sentences for hotspot-create and bulk-ttl-delete stay as they were. These documentation edits were not executed as a running server. Commit a48d038 was not imported.

Already on main, and not withdrawn here: #26 (memtable settings are applied), #32 (in-flight 2PC lease renewal), #34 (seeded simulation catalog), #35 (explicit unauthenticated opt-in, 9b152ae4f820fa5f8e6971eab0862d23e5ca385f), and #38 (readiness and [raft] loading, f9425f39fa241f44b1938909c35bc653b36de36f; reviewed source 5f9a50e555653b51685ab76c9af9936a46296f57).

No open merge dependency

#35 and #38 are on main. This branch does not wait on either.

Checked-in pages state the landed rules directly:

  • An empty secret does not start. allow_unauthenticated = true applies only to a literal loopback IP (127.0.0.0/8 or ::1). The hostname localhost is not accepted and is not resolved. A whitespace-only secret is rejected. A usable secret combined with the flag is rejected.
  • Locale configuration openings use the full classifier from Require an explicit opt-in before serving without a secret #35 at 8b276d3714ef8aef02179d93baefb1cdb0a933e1. After normalization (lowercase, hyphens become underscores), a key fails when it contains secret, password, passwd, token, credential, auth, anonymous, anon, insecure, api_key, apikey, bearer, jwt, private_key, privatekey, encryption, encrypt, tls, ssl, cert, x509, mtls, cipher, keystore, https, ca_file, or cafile, or when it starts with secur. The only exceptions are the direct keys [security].shared_secret and [security].allow_unauthenticated. Any other direct key under [security] fails. Unknown keys inside [raft] fail. Keys that do not match this classifier are still ignored.
  • [raft] is loaded. ServerTomlConfig.raft_options is not #[serde(skip)]. Omitted fields use heartbeat 150 ms, election timeout 450–900 ms, max_in_snapshot_log_to_keep 0, and segment size 64 MiB (67108864). election_timeout_min_ms must be greater than heartbeat_interval_ms and less than election_timeout_max_ms. max_segment_bytes = 0 is rejected. Values apply when a group starts, are not reloaded, and do not rewrite segments already on disk. join_timeout is not a TOML field.
  • There is no gRPC health RPC. /livez, /readyz, and /healthz exist only when node.metrics_listen_addr is set. /readyz does not wait for the 250 ms 2PC recovery pass. A leader election makes /readyz and /healthz return 503 when no leader is known. /readyz is not a restart probe. The gRPC listener stays open when /readyz is 503.

Resolved conflict

The only conflict was docs/en/operations.md, documentation-gap item 5. The previous branch text said operators could not set a Raft timer because raft_options was skipped by serde. That claim is false on current main. The resolved item keeps the landed readiness gaps and states that [raft] is loaded and applied at group start. Item 6, the checked-in metadb-ctl bench gap, is unchanged.

SHAs

Ref SHA
Base (main) f9425f39fa241f44b1938909c35bc653b36de36f
First parent (previous head) 5520bb3adf511ac3c9e8d29b32ce28e79fd98a77
Head 763058c1cf6d267053bcb9a562810467c49d2883
#35 on main 9b152ae4f820fa5f8e6971eab0862d23e5ca385f
#38 reviewed source (squash input, not the main SHA) 5f9a50e555653b51685ab76c9af9936a46296f57

Versus 5520bb3, this head also contains the product and test tree already on main at f9425f39, because that commit is the second parent. The additional documentation edits drop the stale #[serde(skip)] and “no [raft] table” sentences in Architecture.md, docs/en/operability.md, docs/en/operations.md, and docs/{de,fr,ja,zh}/{architecture,configuration,operations}.md. The diff of this head against f9425f39 has no files under crates/ or .github/.

Eight corrected runnable samples

Each loopback development sample still uses --config, grpc_listen_addr = "127.0.0.1:...", and allow_unauthenticated = true, and shows the [security] block to substitute when a secret is set.

  • docs/de/build-and-run.md
  • docs/fr/build-and-run.md
  • docs/ja/build-and-run.md
  • docs/zh/build-and-run.md
  • docs/guides/de/deployment.md
  • docs/guides/fr/deployment.md
  • docs/guides/ja/deployment.md
  • docs/guides/zh/deployment.md

Remaining real gaps

These are not open merge dependencies:

Test plan

  • Read documentation-gap item 5 in docs/en/operations.md and confirm it no longer says raft_options is skipped.
  • Read the [raft] paragraphs in Architecture.md and docs/{de,fr,ja,zh}/{architecture,configuration}.md and confirm they say the table is loaded, with the landed validation and readiness limits.
  • Confirm git diff f9425f39fa241f44b1938909c35bc653b36de36f...763058c1cf6d267053bcb9a562810467c49d2883 has no paths under crates/ or .github/.
  • Do not treat this documentation edit as an executed server test.
Open in Web Open in Cursor 

Describe Baidu production figures and the listdir P99 as paper data,
not results of this tree. Label the status matrix by design claim,
crate test, or missing multi-process rehearsal, and stop describing
role-split Stage 3 or jumbo host moves as something this binary does.
Record the checked-in Format timeout of 90 minutes and the package
timeout of 45 minutes without saying workflows are enabled.

Co-authored-by: RustFS <hello@rustfs.com>
Copilot AI balanced review requested due to automatic review settings November 19, 2026 19:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The documentation understates existing same-machine, multi-process test coverage and needs consistent crate-tested wording while retaining the three-VM/operator-acceptance caveat.

1 open issue
What changed in this PR

This documentation-only PR consolidates status corrections from PRs #27–#31, separating MetaDB’s implemented behavior and test coverage from design targets and Baidu production results. Product code, tests, and workflows remain unchanged.

Changes:

  • Replaces blanket verification claims with scoped status labels and capacity-model caveats.
  • Removes unsupported deployment procedures and clarifies that jumbo isolation does not move shards between hosts.
  • Corrects documented CI timeouts, benchmark reporting, and Raft configuration limits.
File Description
README.md Clarifies implementation status, deployment limits, benchmarks, and CI timeouts.
docs/​guides/​zh/​operations-and-tuning.md Corrects jumbo isolation behavior and threshold.
docs/​guides/​zh/​deployment.md Replaces unsupported Stage 3 procedures with design limitations.
docs/​guides/​ja/​operations-and-tuning.md Corrects jumbo isolation behavior and threshold.
docs/​guides/​ja/​deployment.md Replaces unsupported Stage 3 procedures with design limitations.
docs/​guides/​fr/​operations-and-tuning.md Corrects jumbo isolation behavior and threshold.
docs/​guides/​fr/​deployment.md Replaces unsupported Stage 3 procedures with design limitations.
docs/​guides/​en/​README.md Reworks feature readiness labels and coverage descriptions.
docs/​guides/​en/​deployment.md Distinguishes same-cell joining from unsupported multi-cell deployment.
docs/​guides/​de/​operations-and-tuning.md Corrects jumbo isolation behavior and threshold.
docs/​guides/​de/​deployment.md Replaces unsupported Stage 3 procedures with design limitations.
docs/​en/​operations.md Explains why TOML cannot configure Raft timers.
docs/​en/​ci-and-release-gates.md Corrects timeouts without asserting workflows are enabled.
Architecture.md Separates paper results, capacity models, and repository capabilities.

Review effort: Balanced

Comment thread Architecture.md
| Protobuf v1 / `tonic` gRPC Wire Contracts | Production RPC | **crate-tested**. One all-in-one process serves `MetadataService`, `TransactionService`, `RaftTransportService`, and `ControlPlaneService` on one listener. | `metadb-proto` |
| Pure-Rust WAL-less Disk LSM (SSTable, Manifest, Bloom, Cache) | Production RocksDB (WAL off) | **crate-tested**. This tree's `LsmStorageBackend` (64B footer, `flush_generation`, 16-shard LRU `BlockCache`) is covered by storage crate tests. The paper column is Baidu's RocksDB deployment. | `metadb-storage` |
| `SnapshotGuard` `ReadCut` MVCC & `LocalityCompactor` | Production (`5s` window). A flat `listdir` P99 under `<4ms` is a design target, not a measurement of this repository. | **crate-tested**. `ActiveSnapshotRegistry` and bottommost range compaction are covered by storage crate tests. `crates/metadb-storage/tests/first_ship_storage_regressions.rs` covers live-row `listdir` limit pushdown and density rebuild on open. That file is not a launch pass and not a measured P99. Process-restart `listdir` and multi-process 3-voter failover `listdir` with `entries_examined` assertions are not in this tree. | `metadb-storage` |
| Multi-Raft Consensus (`1-Voter -> 3-Voter` + `ReadIndex`) | Production Baidu `braft` | **multi-process unverified**. `multi_raft_failover_tests` runs three tonic listeners and a basic KV state machine inside one OS process. It does not start `metadbd` and does not serve `MetadataService`. `join_existing_group` starts a second `metadbd --role all-in-one` and joins one group. A three-`metadbd` voter rehearsal is outside these tests. | `metadb-raft` |
cursoragent and others added 2 commits November 19, 2026 19:30
Stop stating zero future-read anomalies and a measured 60 percent
write reduction. Mark multi-cell evolution and the embedded simulator
as they actually run, and describe empty-secret loopback auth in the
locale guides as an explicit opt-in.

Co-authored-by: RustFS <hello@rustfs.com>
Attribute paper ratios and the 60 percent write figure, and describe
jumbo isolation as a route flag. Mark Phase 0 as a design note, qualify
Implemented headings that match runnable code, and record that locale
auth text depends on unmerged pull request 35 while raft loading stays
off main until pull request 38.

Co-authored-by: RustFS <hello@rustfs.com>
cursoragent and others added 3 commits November 19, 2026 19:43
State the auth rules as the resulting tree, without saying what main
does today or which pull request is still open. The eight runnable
locale samples now pass --config and a literal 127.0.0.1 development
flag, and show the security block to use instead when a secret is set.

Co-authored-by: RustFS <hello@rustfs.com>
The four opening summaries named only a short set of keys and then
said every other unknown key is ignored. Match the substring rule:
api_key, bearer, jwt, private_key, encryption, https, ca_file, and a
secur prefix are rejected too.

Co-authored-by: RustFS <hello@rustfs.com>
Keep the landed readiness limits in the operations gap and record that [raft] is loaded. Locale and root architecture and configuration no longer say raft_options is skipped.

Co-authored-by: RustFS <hello@rustfs.com>
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.

3 participants