Repository navigation
Review Process
A large part of KingresDB is checked by independent reviews. Each is a report in kingres/docs/reviews (119 files, dated 2026-11-14 to 2026-11-23). This page describes how the reviews work in practice, taken from the reports and from how kingres/README.md and the work log record them. There is no separate written review policy file in the repository: the format below is observed from the reports, not prescribed by a document, and the README of the reviews directory does not exist.
- Independent. The reviewer did not write the code. Reports state it ("Reviewer: independent (did not write the code)") together with the commit and extension version under review.
- Read-only. Nothing in the tree under review is changed except the report file. Builds, experiments and mutants run in private copies of the installation and of the tree, with their own ports and work directories, bounded in time and disk, and without touching other jobs' processes.
- Against the design. The reviewer reads the design document of the phase and the user-facing README, then the code, and checks each claim of the README. A README that claims more than the code does is itself a finding ("Is the README honest about the window, the refusals and the cost?").
- On both majors. Builds are clean with warnings as errors on PostgreSQL 18 and 19, and the suites run on both.
The reports share a shape (they vary in detail):
- Title, reviewer statement, tree and version under review.
- Scope and method: what was read, in which order, what was run (per major), with the limits stated (an incomplete review says so, for example "This review is INCOMPLETE" with a "Not covered" section).
- Summary: a count by severity and the most serious findings.
- Answers to the questions put to the reviewer (for example whether an earlier finding is really fixed, whether the online engine is correct, a security round).
- What held under attack: attempts that failed to break a claim.
- Mutants: a table of one-line mutants with results.
- Findings, each with an ID, a severity word and a title.
- Not reproduced, Not examined and housekeeping notes (private work left behind, cleanup).
Severity words are critical, high, medium, low and note. Finding IDs are a short prefix of the review plus a number, such as P9B-01 (phase 9, second review), T13-01 (timepart conversion) or FO-01 (failover); a later round continues with a new prefix and says which earlier findings it checked. A finding gives the file and function, numbered steps (on which majors, how many nodes), the expected result, the actual result, the cause, and the precondition that makes it matter. A suspicion counts as a finding only when a script showed it; unreproduced ones go in "Not reproduced".
- The author fixes each finding with a test that fails without the fix. The test is also tried against a one-line mutant that removes the fix.
- The fixes are committed and recorded in the work log entry of the day: what was done, how it was verified, what is still open.
- A fix is not trusted until a later review has attacked it. Review rounds are numbered in the file names (
...-fixes,-second-fixes,-third-fixesand so on). - A later round checks that earlier fixes hold and typically finds new defects in the fixes themselves. The README says plainly when the fixes of the latest round have not been reviewed again, so a statement about review state belongs to the README, not to this page.
kingres/README.md is the single place for the state of each phase: a table of the phases with their status and a link to the design, and the limits of each extension in its own README. "Done" there means written, tested and reviewed where the work log says so; the work log and the reports in kingres/docs/reviews hold each review and what it found. The README is the authority over the wiki; where the two differ, the README is right (Status and Roadmap, Limitations and Known Issues).
A review is requested for a delivered part (a phase increment or the fixes of a round). Typical questions: is a named earlier finding really fixed; is the engine correct under concurrency, crash and cancel; is there a privilege problem (a non-superuser's code run as superuser, an injection through names); do the documented limits match behaviour; do the tests kill their mutants. The reviews also compare generated statements with a single node and inject faults (Testing Strategy).
- Check against the design. A phase can also be checked against its design document (for example the configuration work of phase 13, with its own reviews of 2026-11-22), with the findings recorded in the README and the work log.
- Needs-verification items. An item the architecture document marks [Needs verification] is checked against the PostgreSQL source or documentation before code depends on it, with the result in the work log (Coding Standards).
- Reviews of control-plane parts. The control plane is reviewed the same way (for example the review of the wiring of anchoring and the fixes of the publication, 2026-11-20).
- kingres/README.md
- kingres/docs/worklog.md
- kingres/docs/dev/documentation.md
- kingres/docs/reviews/2026-11-20-kingres-shard-phase9-rebuild.md
- kingres/docs/reviews/2026-11-20-kingres-timepart-0.2.md
- kingres/docs/reviews/2026-11-17-kingresd-failover-increments-0-2.md
- kingres/docs/reviews/2026-11-20-kingresd-anchoring-wiring-and-publication-fixes.md
KingresDB's own code is licensed under AGPL-3.0-only. PostgreSQL code keeps the PostgreSQL License. Copyright of the project's own code: RooyeKhat Media Co. KingresDB is derived from PostgreSQL and is not endorsed by the PostgreSQL project. Repository | Licence | COPYRIGHT
KingresDB
1. Product
- Product Overview and Features
- Status and Roadmap
- User Guide
- Administrator Guide
- REST API Reference
- Web Console
- Command Line Client
- Extensions
- Limitations and Known Issues
- Release Notes
Features in detail
- Sharding
- Sharding Query Pushdown
- Sharding Table Lifecycle
- High Availability
- Ledger
- Ledger Signing and Publication
- Ledger Anchoring
- The Verifier
- Analytics Extensions
Administration
- Cluster Setup
- Servers Databases and Roles
- Rebalancing
- Configuration
- Memory and Warm-up
- Control Plane and REST API
- Upgrades
2. Architecture (arc42)
- Architecture
- Architecture Introduction and Goals
- Architecture Constraints
- Architecture System Context
- Architecture Containers
- Architecture Components
- Architecture Runtime Views Sharding
- Architecture Runtime Views Availability and Ledger
- Architecture Deployment
- Architecture Crosscutting Concepts
- Security Model
- Architecture Decisions
- Architecture Quality Requirements
- Architecture Risks and Technical Debt
- Enterprise Architecture
3. Data architecture
- Data Architecture
- Data Model Sharding
- Data Model Ledger
- Data Model System Database
- Data Model Analytics
- Data Lifecycle
- Backup Restore and PITR
- Data Security
- Data Quality and Integrity
4. Development
- Building from Source
- Development and Testing
- Repository Layout
- Coding Standards
- Branching and Synchronisation
- Testing Strategy
- Review Process
- Release Process
- Contributing
5. Operations