Repository navigation
Consolidate overlapping status corrections from docs PRs 27-31 - #36
Merged
Merged
Conversation
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>
There was a problem hiding this comment.
🟡 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
| | 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` | |
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>
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>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Documentation corrections only. This pull request is not merged to
main.mainisf9425f39fa241f44b1938909c35bc653b36de36f(parent9b152ae4f820fa5f8e6971eab0862d23e5ca385f, tree2899e237e58a0ead613745e8bd65b8f2863e456c). Head763058c1cf6d267053bcb9a562810467c49d2883is a normal merge of that commit onto5520bb3adf511ac3c9e8d29b32ce28e79fd98a77. 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
maindoes 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. Themetadb-ctl benchsentences forhotspot-createandbulk-ttl-deletestay as they were. These documentation edits were not executed as a running server. Commita48d038was 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 source5f9a50e555653b51685ab76c9af9936a46296f57).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:
allow_unauthenticated = trueapplies only to a literal loopback IP (127.0.0.0/8or::1). The hostnamelocalhostis not accepted and is not resolved. A whitespace-only secret is rejected. A usable secret combined with the flag is rejected.8b276d3714ef8aef02179d93baefb1cdb0a933e1. After normalization (lowercase, hyphens become underscores), a key fails when it containssecret,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, orcafile, or when it starts withsecur. The only exceptions are the direct keys[security].shared_secretand[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_optionsis not#[serde(skip)]. Omitted fields use heartbeat 150 ms, election timeout 450–900 ms,max_in_snapshot_log_to_keep0, and segment size 64 MiB (67108864).election_timeout_min_msmust be greater thanheartbeat_interval_msand less thanelection_timeout_max_ms.max_segment_bytes = 0is rejected. Values apply when a group starts, are not reloaded, and do not rewrite segments already on disk.join_timeoutis not a TOML field./livez,/readyz, and/healthzexist only whennode.metrics_listen_addris set./readyzdoes not wait for the 250 ms 2PC recovery pass. A leader election makes/readyzand/healthzreturn 503 when no leader is known./readyzis not a restart probe. The gRPC listener stays open when/readyzis 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 becauseraft_optionswas skipped by serde. That claim is false on currentmain. The resolved item keeps the landed readiness gaps and states that[raft]is loaded and applied at group start. Item 6, the checked-inmetadb-ctl benchgap, is unchanged.SHAs
main)f9425f39fa241f44b1938909c35bc653b36de36f5520bb3adf511ac3c9e8d29b32ce28e79fd98a77763058c1cf6d267053bcb9a562810467c49d2883main9b152ae4f820fa5f8e6971eab0862d23e5ca385fmainSHA)5f9a50e555653b51685ab76c9af9936a46296f57Versus
5520bb3, this head also contains the product and test tree already onmainatf9425f39, because that commit is the second parent. The additional documentation edits drop the stale#[serde(skip)]and “no[raft]table” sentences inArchitecture.md,docs/en/operability.md,docs/en/operations.md, anddocs/{de,fr,ja,zh}/{architecture,configuration,operations}.md. The diff of this head againstf9425f39has no files undercrates/or.github/.Eight corrected runnable samples
Each loopback development sample still uses
--config,grpc_listen_addr = "127.0.0.1:...", andallow_unauthenticated = true, and shows the[security]block to substitute when a secret is set.docs/de/build-and-run.mddocs/fr/build-and-run.mddocs/ja/build-and-run.mddocs/zh/build-and-run.mddocs/guides/de/deployment.mddocs/guides/fr/deployment.mddocs/guides/ja/deployment.mddocs/guides/zh/deployment.mdRemaining real gaps
These are not open merge dependencies:
docs/designs/sharding_and_control_plane.mdstill says aGetDirPartitionStatbarrier “guarantees zero future writes<= barrier_hlc”. This pass did not re-readacquire_fixed_snapshot.crates/metadb-storage/tests/mvcc_snapshot_tests.rsstill mentions~60%KV write pruning in a comment. The test does not assert that ratio. Tests were not edited.Test plan
docs/en/operations.mdand confirm it no longer saysraft_optionsis skipped.[raft]paragraphs inArchitecture.mdanddocs/{de,fr,ja,zh}/{architecture,configuration}.mdand confirm they say the table is loaded, with the landed validation and readiness limits.git diff f9425f39fa241f44b1938909c35bc653b36de36f...763058c1cf6d267053bcb9a562810467c49d2883has no paths undercrates/or.github/.