RCA Register - Errors, Dead-Ends, Approximations & Roadmap Ideas¶
Governance Rule (
AGENTS.md&.agents/rules/project-governance.md): Update all four sections in English on every request, every change, and every result.
1. Errors & Bugs Encountered (RCA-XXX)¶
RCA-001 - Empty Repository Rejects Initial Pull Request Targeting main¶
- Date / Action:
2026-11-19(ACT-001) - Observed Symptom: Opening a PR from a feature branch against
mainfails on GitHub whenmainhas zero commits. - Root Cause Analysis: GitHub requires at least one existing commit on the base branch (
main) before a Pull Request diff can be computed. - Applied Change / Fix: Committed the minimal baseline (
LICENSE,.gitignore,.gitattributes) onmainprior to opening Issue#1and branchingfeat/issue-1-governance-and-test-harness. - Result & Non-Regression Test: Branching, PR creation, and merge workflow succeed cleanly.
RCA-002 - Transient Permission denied on make clean over WSL2 9p Mount¶
- Date / Action:
2026-11-19(ACT-002) - Symptom:
rm -rf tests/__pycache__failed immediately afterpython3 -m unittest. - Root Cause: Host file indexer briefly locks
.pycdirectories on WSL2 9p mounts. - Fix: Exported
PYTHONDONTWRITEBYTECODE := 1and usedshutil.rmtree(..., ignore_errors=True)inMakefileclean. - Result:
make test+make cleansucceed cleanly without residue.
RCA-003 - GitHub Push Rejected for .github/workflows/ci.yml Without workflow Scope¶
- Date / Action:
2026-11-19(ACT-002) - Symptom:
git pushfailed withrefusing to allow an OAuth App to create or update workflow .github/workflows/ci.yml without workflow scope. - Root Cause: The active
ghOAuth token holdsgist, read:org, repo, userscopes only and lacks theworkflowscope required by GitHub to push workflow YAML files. - Fix / Mitigation: Excluded
.github/workflows/ci.ymlfrom PR soMakefileand test harness land cleanly onmain; documented CI workflow addition as pending maintainerworkflowscope authorization. - Result: Remaining files push and merge cleanly; local
make lintandmake testrun identically to CI.
RCA-004 - pgedge Spock Output Plugin SQLSTATE 42501 & Localhost Binding¶
- Date / Action:
2026-11-19(ACT-019/ACT-025) - Symptom: Initial pgEdge 3-node mesh failed subscription startup with
SQLSTATE 42501onspock_outputwhile containers bound onlylocalhostand failed cross-node replication auth. - Root Cause:
ghcr.io/pgedge/pgedge-postgres:17-spock5-minimaldefaults tooutput_plugin_libraries='pgoutput, test_decoding',listen_addresses=localhost, andlogging_collector=on. - Fix: Overrode container command flags (
-c listen_addresses=* -c logging_collector=off -c output_plugin_libraries=pgoutput,spock_output) and addedhost replication all all scram-sha-256topg_hba.conf. - Result: 3-node Spock
5.0.14mesh converged (2/2replicating per node,0drift underspock.delta_apply).
RCA-005 - Stock postgres:17 Missing plperl & DBI for Bucardo db_getconn¶
- Date / Action:
2026-11-19(ACT-019/ACT-026) - Symptom:
bucardo installand multi-master sync setup failed when targeting stockpostgres:17. - Root Cause:
bucardo.schemadefinesdb_getconn()inplperluusing PerlDBI/DBD::Pg, which are omitted from the standardpostgres:17image. - Fix: Built
stacks/bucardo/Dockerfile.pg(postgres:17+postgresql-plperl-17,libdbi-perl,libdbd-pg-perl) paired withstacks/bucardo/Dockerfile(debian:trixie-slim+bucardo5.6.0-4). - Result:
sync_mm(db1:source db2:source) initialized cleanly (plperlu=1,delta_triggers=5/5).
RCA-006 - Keyless pgbench_history Triggers 55000 / Rejection / 0A000 Across Engines¶
- Date / Action:
2026-11-19(ACT-021/ACT-031) - Symptom: Standard
pgbench -icreatespgbench_historywithout a primary key, causingSQLSTATE 55000onpg-birepupdates, silent skipping (default_insert_only) onpgedge,validate_syncfailure onbucardo, andSQLSTATE 0A000on Citus post-distributionADD PRIMARY KEY. - Root Cause: Logical decoding, trigger-delta queues, and distributed hash-sharding require replica identity or upfront primary/distribution keys.
- Fix: Standardized
pgbench_historywith an explicit upfront surrogate PK (hid BIGSERIAL PRIMARY KEYorDEFAULT unique_rowid()on CockroachDB) before workload execution and documented the55000/0A000limits inresults/functional_limits_matrix.csv. - Result: All 8 benchmarked topologies executed Suites A-F without keyless-table breakage.
RCA-007 - Distributed Consensus 40001 Retries, XCEXF, and 2/3 Raft Quorum Halt¶
- Date / Action:
2026-11-19(ACT-028/ACT-029) - Symptom: Concurrent same-row updates triggered
SQLSTATE 40001(WriteTooOldErroron CockroachDB,RRconflict on YugabyteDB) andsysbenchlogged685ignored errors on CockroachDB (XCEXFon defaultTEMP TABLEand42601onLISTEN); killing 2/3 nodes halted both clusters (57014/timeout) whileyugabytedinitially reportedrf=0before full 3-node join. - Root Cause: Serializable/Snapshot Raft consensus aborts conflicting writes optimistically (
40001), forbids writes without majority (< 2/3), and omits async session features (LISTEN/NOTIFYdisabled0A000on YugabyteDB). - Fix: Added RF=3 readiness wait + memory caps in
stacks/yugabytedb/, verified40001application retry convergence (bal=1100), and recorded all raw SQLSTATEs honestly. - Result:
10/10functional/limit probes passed acrosscitus,cockroach, andyugabyte.
RCA-008 - pgedge SQL_ASCII Encoding Rejects Non-ASCII chr() With SQLSTATE 54000¶
- Date / Action:
2026-11-19(ACT-051/ACT-064) - Symptom: During the
T14rich-data fidelity probe,chr()calls for multi-byte UTF-8 codepoints failed onpgedgewithSQLSTATE 54000(requested character too large for encoding). - Root Cause:
ghcr.io/pgedge/pgedge-postgres:17-spock5-minimalinitializes default databases withSQL_ASCIIencoding rather thanUTF8. - Fix / Mitigation: Verified raw UTF-8 byte-stream preservation across all 3 Spock nodes (
md5=f798eb5aidentical on 3/3 nodes) while explicitly preservingSQLSTATE 54000inresults/extended_functional_matrix.csvand Chapter 08; production deployments must enforceinitdb -E UTF8. - Result: Documented transparently across
results/extended_functional_matrix.csv, dashboard matrix tab, and EN/FR Chapter 08.
RCA-009 - Native Logical Replication Sequence Non-Sync Causes Post-Failover SQLSTATE 23505¶
- Date / Action:
2026-11-19(ACT-051/ACT-067) - Symptom: In
T18(sequence_sync_after_50), promoting or writing to the peer node after 50SERIALinserts on node 1 immediately failed withSQLSTATE 23505(duplicate key value violates unique constraint) acrosspg17-logical,pg-birep,pgedge(without Snowflake), andbucardo. - Root Cause: PostgreSQL 17 logical decoding does not replicate sequence state changes (
last_valuestayed stuck at1|falseon subscribers/peers), whereas physical WAL streaming (pg17-async-streaming,pg17-sync-streaming) replicated exact WAL sequence state (66|true) and Raft engines (yugabyte,cockroach) advanced global sequences cleanly. - Fix / Mitigation: Documented the mandatory operational workarounds (Snowflake/UUIDv7 keys, disjoint
INCREMENT/STARTstrides, orsetval()failover runbook) in Chapters 08 and 10 and recorded23505verbatim inresults/extended_functional_matrix.csv. - Result: Verified deterministically across all 10 topologies (
T18matrix and Chapter 10).
RCA-010 - pg-birep FOR ALL TABLES Sysbench Schema Propagation Catch-Up¶
- Date / Action:
2026-11-19(ACT-052/ACT-071) - Symptom: Running V2 Sysbench suites (
E2-E4) dynamically createdsbtest1onpg_birep_node1without automatic replication topg_birep_node2underFOR ALL TABLES. - Root Cause: PostgreSQL 17 logical replication does not propagate DDL (
CREATE TABLE), and existing subscriptions only discover newly createdFOR ALL TABLESrelations afterALTER SUBSCRIPTION ... REFRESH PUBLICATIONonce matching DDL exists on the peer. - Fix: Updated the V2 benchmark harness in
env/multi-db-docker-env(scripts/bench_pg_v2_lib.py) to create symmetric Sysbench DDL on both nodes and refresh subscriptions withcopy_data = falsebefore workload execution. - Result: All V2 Sysbench suites (
E2_sysbench_oltp_ro,E3_sysbench_oltp_wo,E4_sysbench_point_select) converged cleanly across bothpg-birepnodes.
RCA-011 - M1 Solution Sheet Depth Links, PoC Script Paths, Table B Status & ASCII Governance Gap¶
- Date / Action:
2026-11-20(ACT-087..ACT-091) - Symptom: Forensic audit and Iteration 2 checks on the initial 8
docs/{en,fr}/solutions/pg17_*.mdsheets found: (1) all 8[Index](../../README*.md)links resolved to missingdocs/README*.md; (2)docs/ACTION_LOGBOOK.mdline 55 (ACT-079) held 4 non-ASCIIU+2013en-dashes undetected byACCENTSregex; (3) Table D cited bare/parent-repo script paths underenv/multi-db-docker-env/headings; (4)pg17_physical_streaming_patroniomitted Table BStatus (Both)and abbreviatedL1/L8, whilepg17_standaloneL24 mixed standalone (-93.4%) and sync LAN (-86.1%) denominators. - Root Cause: Solution sheets live 3 levels below repo root (
docs/{en,fr}/solutions/),test_governance_and_security.pychecked only French accented characters rather thanord(c) > 127, and Table D paths mixed submodule (scripts/pg_*/) and parent-repo (scripts/) locations. - Fix: Remediated all 8 M1 sheets across atomic
< 15,000B PRs (#174,#176,#178,#180,#182), fixing../../../README*.mdfooters, exact submodule script paths, Table BStatusand Table CL1/L8CSV parity, denominator/p99 wording, and 100% 7-bit ASCII governance registers. - Result:
0broken relative links across all 8 sheets,0missing PoC paths,0non-ASCII lines inACTION_LOGBOOK.mdandRCA_REGISTER.md, andmake test(13/13OK) +make lintpassing onmain.
RCA-012 - Unverified #16 pg17-logical Reference Anchor in pglogical2 EN/FR Sheets¶
- Date / Action:
2026-11-20(ACT-096,ACT-097,ACT-100) - Symptom: M2 Verification Wave (
auditor_m2_1,reviewer_m2_1,reviewer_m2_2,challenger_m2_1) detected unverified inflatedA_single_rwTPS and underestimatedT15lag figures for#16 pg17-logicalon line 94 ofdocs/{en,fr}/solutions/pglogical2.md, conflicting withresults/benchmark_summary.csv:65(532.38TPS),results/extended_functional_matrix.csv:5(p50=1.68ms), anddocs/{en,fr}/solutions/pg17_logical_unidirectional.md. - Root Cause: The comparison-table anchor for
#16 pg17-logicalwas written without programmatic verification againstresults/benchmark_summary.csvandresults/extended_functional_matrix.csv, and the erroneous values were propagated from EN (PR #192) into FR (PR #194). - Fix: Replaced the erroneous
#16 pg17-logicalanchor values on line 94 ofdocs/{en,fr}/solutions/pglogical2.mdwith verified532.38 TPS(A) and1.68 ms(T15) underIssue #199alongsideforward_origins='{all}'(L58) and FR prose alignment (L24,L85,L92). Non-regression rule: cross-check every comparison-table baseline number programmatically againstresults/*.csvbefore opening any documentation PR. - Result:
0unverified anchor metrics acrosspglogical2EN/FR sheets, 100%results/*.csvparity, 7-bit ASCII compliance (ord(c) <= 127) in governance registers, andmake test(13/13OK) +make lintpassing onmain.
RCA-013 - Sysbench tx_committed vs. tx_failed Denominator Conflation in cockroachdb.md¶
- Date / Action:
2026-11-20(ACT-110, Issue#219) - Symptom: M3 adversarial verification (
teamwork_challenger_m3_1) reproduced an arithmetic misstatement on line 71 ofdocs/en/solutions/cockroachdb.md(685 of 902) anddocs/fr/solutions/cockroachdb.md(equivalent685 / 902), which implied a75.9%abort rate instead of the true43.2%(685 / 1,587). - Root Cause: In
scripts/bench_pg_lib.py:225-226andresults/logs/cockroach.log:184-191,sysbenchtransactions(902) records committed transactions (tx_committed) separately fromignored errors(685, captured astx_failed), so total attempted transactions equaltx_committed + tx_failed = 902 + 685 = 1,587. - Fix: Updated line 71 in both
docs/en/solutions/cockroachdb.md(685failed with902committed /1,587attempted) anddocs/fr/solutions/cockroachdb.md(matching French wording for685failed,902committed /1 587attempted), and audited all 8 M3 sheets (citus,yugabytedb,cockroachdb,opentenbase_pgxlEN/FR) confirming no other sheet conflatestx_committedwith total attempted transactions. - Result: Exact parity restored with
results/benchmark_summary.csvandresults/logs/cockroach.log:184-191, 149-line EN/FR parity preserved, 7-bit ASCII compliance (ord(c) <= 127) verified in governance registers, andmake test(13/13OK) +make lintpassing.
RCA-014 - M5 Catalog ID #14/#16 Collision, 03a EDB PGD Drift, and Stale Ch. 01 Status Remediation¶
- Date / Action:
2026-11-20(ACT-121..ACT-128, Issues#241,#245,#247,#253,#255) - Symptom: Pre-M5 repository audit detected: (1)
#14vs#16Catalog ID collision taggingpg17-logicalas#14inREADME.md:32,README.fr.md:22, anddocs/en/06_empirical_test_and_benchmark_results.md:26while#14was assigned to Legacy Trigger Systems (Slony-I / Londiste / RubyRep); (2)docs/en/03a_solutions_native_and_extensions.md:91,95omitting#16and referencing non-existentlww_element/ reversedbdr.global_sequencesorder; and (3) stalePending/phase empirique suivantemarkers and unlinked02-10references in01EN/FR. - Root Cause: Chapter 10 introduced
pg17-logical(#16) after earlyresults/functional_limits_matrix.csv(#14 Baseline) and Chapter 01/03a/06 texts were authored, and03apre-dated theedb_pgd.mdsheet audit. - Fix: Reassigned all
pg17-logicaldocumentation references to#16with explicit disambiguation footnotes preserving read-onlyresults/functional_limits_matrix.csv, added#16subsections and harmonizedbdr.crdt_*/bdr.conflict_history/bdr.global_sequencesin03aEN/FR, updated01EN/FR status and links, and added 17-row Solutions Catalog tables toREADME.md/README.fr.md(verifiedpg17_standalone.md:147already usesLogique). - Result: Zero broken relative links across all 59 Markdown files, zero
#14/#16adjacency collisions, 100% 7-bit ASCII governance registers, andmake test(13/13OK) +make lintpassing.
RCA-015 - Ch. 06 Suite E Denominator Contradiction, Cross-Chapter Precision Drift, and Tier 5 E2E Blind Spots¶
- Date / Action:
2026-11-20(ACT-133..ACT-136, Issues#265,#267+) - Observed Symptom: M6 Tier 5 adversarial review (
teamwork_challenger_m6_t5_1,teamwork_challenger_m6_t5_2) found: (1)docs/en/06_empirical_test_and_benchmark_results.md:82-84reported Suite Etx_failedagainsttx_committed(9 (of 3,797),685 (of 902)) instead of total attempted transactions (committed + failed=3,806and1,587), contradictingresults/logs/cockroach.log:184-186,README.md:18,cockroachdb.md:71, and06line 88 (43.2%abort exposure); (2) minor cross-chapter drift (#15aT1/N1vsT0/N0,snowflake.node1..1024vs1..1023, FR03bOpenTenBasePG 10/14vsPG 10-11, andpgedge_spock.md:133omittingBYTEA=65536B;); and (3) E2E test blind spots (test_solution_sheets.pyacceptingflowchart XX, space-separated quotes, andma OR mb,test_solution_sheets_parity.pycovering only 1 of 4 benchmark CSVs without row-scoping or README 4-column catalog/headline checks, andMakefile:75failing on hyphenatedmake test-solution-sheets). - Root Cause Analysis: Chapter 06 Suite E table copied
tx_committeddenominators beforeRCA-013fixedcockroachdb.md, early chapter drafts predated sheet verification, and Tiers 1-4 E2E tests targeted core summary parity within< 14 KBper file without an adversarial Tier 5 module. - Applied Change / Fix: Aligned Suite E denominators (
3,806/2,574/1,587) in EN/FR Chapter 06, harmonized03a/03b/pgedge_spock.mdEN/FR details (ACT-133), loggedRCA-015(ACT-134), hardenedtest_solution_sheets.py,test_solution_sheets_parity.py, andMakefile:75(ACT-135), and addedtests/test_solution_sheets_tier5.pycovering README 4-column catalogs, headline parity, all 4 benchmark CSVs row-by-row, matrix metrics, and EN/FR table parity (ACT-136). - Result & Non-Regression Test:
0denominator contradictions,0cross-chapter/sheet precision drifts,100%of injected Tier 5 failure probes caught with0false positives, andmake test && make lintpassing onmain.
RCA-016 - PostgreSQL 18 Official Docker Image PGDATA Path & VOLUME Layout Change¶
- Date / Action:
2026-11-20(ACT-138,ACT-141) - Observed Symptom: Existing PostgreSQL 17 Docker Compose volume mounts targeting
/var/lib/postgresql/datafail to persist or initialize cleanly underpostgres:18(18.6). - Root Cause Analysis: Upstream
docker-library/postgreschangedpostgres:18defaults toPGDATA=/var/lib/postgresql/18/dockerwith parentVOLUME /var/lib/postgresqlto support major-versionpg_upgradeside-by-side directories. - Applied Change / Fix: Mounted named volumes at
/var/lib/postgresqland alignedPGDATAexpectations across the 3 new PG 18.6 Compose stacks (pg18-streaming,pg18-logical,pg18-birep) inenv/multi-db-docker-envv2.3.0(8ea028b7) and documented the breaking change in Chapter 12. - Result & Non-Regression Test: All 5 PostgreSQL 18.6 topologies initialize, crash-recover (
T16RPO=0), and passmake lintacross all 12 Compose stacks.
RCA-017 - PostgreSQL 18 io_method=io_uring Fails With EPERM Under Default Docker Seccomp¶
- Date / Action:
2026-11-20(ACT-138,ACT-140) - Observed Symptom: Starting
postgres:18with-c io_method=io_uringaborts immediately withEPERMinside standard unprivileged Docker containers. - Root Cause Analysis: Docker's default seccomp profile blocks
io_uring_setupsyscalls for container security isolation, whereas PostgreSQL 18's defaultio_method=worker(io_workers=3) uses standard POSIX workers. - Applied Change / Fix: Standardized the PG 18.6 PoC stacks on default
io_method=worker, executed controlled A/B probes (workercut cold sequential scan latency-18.5%from1,018.3 msto829.4 ms, while smallfsyncRW ran290.75vs323.98 TPSwithdata_checksums=on), and recordedio_uring=EPERMverbatim inresults/functional_limits_pg18.csvand Chapter 12. - Result & Non-Regression Test: Deterministic AIO behavior verified across all 5 PG 18.6 topologies without requiring privileged containers.
RCA-018 - PostgreSQL 18.6 FOR ALL SEQUENCES / REFRESH SEQUENCES Rejected (SQLSTATE 42601)¶
- Date / Action:
2026-11-20(ACT-138,ACT-140) - Observed Symptom: Executing
CREATE PUBLICATION ... FOR ALL SEQUENCESorALTER SUBSCRIPTION ... REFRESH SEQUENCESon PostgreSQL 18.6 fails withSQLSTATE 42601(syntax error), andT18subscriber sequences stay at1|falsecausing post-failoverSQLSTATE 23505. - Root Cause Analysis: Native logical sequence synchronization was deferred from PostgreSQL 18 to PostgreSQL 19, leaving
SERIALnon-sync unchanged from PG 17 (RCA-009), while PostgreSQL 18 added native RFC 9562uuidv7()and the 7th conflict counterconfl_multiple_unique_conflicts. - Applied Change / Fix: Recorded
SQLSTATE 42601verbatim inresults/functional_limits_pg18.csvand Chapter 12, and verified nativeuuidv7()active-active convergence onpg18-birep(50/50dual-node inserts,0x 23505,H_append_only_insert = 2,066.70 TPS,3.30xvs PG 17). - Result & Non-Regression Test: Honest PG 18.6 capability boundary verified across
pg18-logicalandpg18-birepand asserted bytests/test_benchmark_artifacts.py.
RCA-019 - Canonical GitHub Repository Redirects, True Watchers & Tag-Only Release Fallback¶
- Date / Action:
2026-11-20(ACT-137,ACT-140) - Observed Symptom: Naive GitHub REST queries misreported SymmetricDS via redirected slug
JumpMind/symmetric-ds, omittedGoogleCloudPlatform/pgadapter, duplicated star counts viawatchers_count, and returned HTTP 404 on/releases/latestfor tag-only projects (postgres/postgres,pgEdge/spock,cockroachdb/cockroach,pgpool/pgpool2). - Root Cause Analysis: GitHub's REST
watchers_countaliasesstargazers_count(true watchers live insubscribers_count), organization renames redirect canonical slugs, and mature C/Go repositories publish Git tags without GitHub Release objects. - Applied Change / Fix: Implemented
scripts/collect_popularity.pyto target canonicaljumpmindinc/symmetric-dsandGoogleCloudPlatform/pgadapter(marked client-proxy only), readsubscribers_count, compute exact commit/contributor counts viaper_page=1Link: rel="last"pagination without cloning, and fall back to GraphQLTAG_COMMIT_DATE DESC. - Result & Non-Regression Test: Verified 21 catalog rows (
18public repos +3proprietary/managed engines) inresults/project_popularity.csvandtests/test_benchmark_artifacts.py.
RCA-020 - WSL2 /tmp tmpfs Auto-Shutdown Wipe During Multi-PR Staging¶
- Date / Action:
2026-11-20(ACT-139,ACT-140) - Observed Symptom: Staging modified tracked files into WSL2
/tmp/cps_v3_stage/beforegit checkout -- .lost the staged copies when the WSL2 VM briefly idled and restarted between host commands. - Root Cause Analysis: WSL2 mounts
/tmpas volatile RAM-backedtmpfs, which is purged automatically whenever the WSL2 distribution shuts down on idle timeout. - Applied Change / Fix: Relocated staging buffers strictly to persistent host scratch storage outside the repository, verified 100% byte-for-byte parity on all recovered Wave 3 dashboard and documentation files, and normalized LF line endings prior to every atomic commit.
- Result & Non-Regression Test: All 24 atomic Wave 3 PRs landed cleanly with exact verified file sizes,
node --checkpassing on all 11 JS bundles, andmake test(20/20OK).
RCA-021 - YT Cluster 1.21.3 Default cc=half Synchronous 2PC vs Async cc=0 Behavior¶
- Date / Action:
2026-11-20(ACT-143,ACT-146) - Observed Symptom: Default YT Cluster
1.21.3(PostgreSQL18.7+yt_cluster 1.21/ytserv) write transactions exhibited quorum synchronous 2PC latency and cross-node commit coordination overhead (A_single_rw = 20.63 TPS,p95 = 1,330.433 ms,B2_overlap_rw = 10.69 TPS,F_wan_netem_25ms = 2.25 TPS,p95 = 5,557.313 ms), contrasting with async mode (cc=nodes>=0,yt-cluster-async,A_single_rw = 41.45 TPS,B2_overlap_rw = 55.03 TPS,D_hot_conflict = 163.01 TPS,F_wan_netem_25ms = 4.78 TPS) while read-only local queries reachedC_multinode_ro = 48,787.74 TPSandE4_sysbench_point_select = 165,472.75 TPS. - Root Cause Analysis: YT Cluster defaults
def_cluster_committo{"at_least":0,"mode":1}(halfsynchronous 2PC acrossytservnodes withsequential_consistency=0), enforcing zero-drift multi-master consistency (0drift across all suites, emitting55409/40001conflict retries) at the cost of write-path 2PC RTT amplification, whereas explicitcc=nodes>=0switches to asynchronous commit dispatch. - Applied Change / Fix: Benchmarked and documented both modes side-by-side (
yt-clustersynccc=halfandyt-cluster-asynccc=0,22rows total) inresults/benchmark_yt_cluster.csv,dashboard/data_bench_yt.js, anddocs/{en,fr}/solutions/yt_cluster_lite.md. - Result & Non-Regression Test: Both modes verified end-to-end with
0balance drift inresults/benchmark_yt_cluster.csvand enforced bytests/test_benchmark_artifacts.pyandtests/test_solution_sheets_parity.py.
RCA-022 - YT Cluster SAVEPOINT Rollback Rejection (SQLSTATE 0A000) & min_cluster_size=2 Halt (SQLSTATE 57P03)¶
- Date / Action:
2026-11-20(ACT-143,ACT-146) - Observed Symptom: Executing
SAVEPOINTrollback failed withSQLSTATE 0A000(rows=0), and stopping 2 of 3 cluster nodes blocked client writes withSQLSTATE 57P03(yt_synchronize: Network: YT-E1852) undermin_cluster_size=2(while single-node SIGKILL also briefly returned57P03during the 8 s party failover window before recovering20/20withRPO=0). - Root Cause Analysis: YT Cluster's distributed 2PC coordinator does not support subtransaction savepoint rollback across coordinated PostgreSQL nodes, and quorum safety blocks writes once active nodes drop below
min_cluster_size=2to prevent split-brain divergence. - Applied Change / Fix: Recorded
0A000,40001,55409, and57P03verbatim inresults/functional_limits_yt_cluster.csv,results/logs/yt-cluster-benchmark.log, anddocs/{en,fr}/solutions/yt_cluster_lite.md, and asserted all four SQLSTATEs intests/test_solution_sheets_parity.py. - Result & Non-Regression Test: All four SQLSTATE boundaries are reproducibly tested and verified in
make test(20/20OK).
RCA-023 - Stale .s.YT.5432.pid Lock File Triggers YT-E1104 on Unclean Container Restart¶
- Date / Action:
2026-11-20(ACT-143,ACT-147) - Observed Symptom: Restarting a SIGKILL-terminated
ytservcontainer failed startup withYT-E1104on PID reuse due to a lingering.s.YT.5432.pidlock file. - Root Cause Analysis: Unclean container termination skips graceful
ytservshutdown hooks, leaving.s.YT.5432.pidon the persisted socket/data path and preventingytservfrom binding cleanly on container restart. - Applied Change / Fix: Added deterministic stale PID cleanup during container startup in
env/multi-db-docker-envv2.4.0(e130508f89bf9c9c61cad3f7aa8d9299e4bcca93,docker-compose-yt-cluster.yml) and documented theYT-E1104risk inresults/functional_limits_yt_cluster.csvanddocs/{en,fr}/solutions/yt_cluster_lite.md. - Result & Non-Regression Test: Verified clean crash-recovery (
T16,20/20,RPO=0) and deterministicmake lintvalidation across all 13 submodule Compose stacks.
RCA-024 - YT Cluster Async Non-Leader WAN Bypass & sbtest SQLSTATE 55000 recon Lock¶
- Date / Action:
2026-11-21(ACT-171,multi-db-docker-envv2.4.1#336) - Observed Symptom: Static
yt1async WAN sweeps were non-monotonic (92.08 -> 4.78 -> 81.06) andE3_sysbench_oltp_wohitSQLSTATE 55000(reconrow blocked) afterE_sysbench_oltp_rw. - Root Cause Analysis: Leader
yt1bypassed peernetem, and async concurrentE_rwleftrecon-quarantined diverged rows on reusedsbtest1..4tables. - Applied Change / Fix:
env/multi-db-docker-env(v2.4.1,0ec32dd) targets non-Leaderwn, adds cooldown/retry and isolatedprep_sb()beforeE3; updated CSV,#18sheets, Ch.06&09. - Result & Non-Regression Test: 36/36 YT rows pass (
drift = 0), monotonic async WAN (41.45 -> 8.47 -> 4.78 -> 2.90 TPS),E3 = 133.55 TPS(make test+make lint).
RCA-025 - V5 PG_SCALE=20 Production Tuning Traps (Citus Scatter, CRDB 42P02/42501, YT CLI & 55409 Exit)¶
- Date / Action:
2026-11-21(ACT-184,multi-db-docker-envv2.6.13515629) - Observed Symptom: Initial
PG_SCALE=20runs surfaced five failures/bottlenecks: (1) Cituspgbench_historycolocated onbidtriggered 32-shard scatter onWHERE aid=:aid(40.56 TPS,197.2msavg); (2) PG 17 (17.11) failed on PG 18io_method/io_workersGUCs andio_uringhit DockerEPERM; (3) CockroachDBv25.4rejectedsql.defaults.default_transaction_isolation(42P02) andALTER ROLE ALLignoredroot(42501); (4) YTpostgres -c shared_preload_libraries=...clobberedconf.d/yt.confandpgbenchexitedRC=2on55409; (5) YugabyteCOPYatPG_SCALE=20risked OOM andpgedgeneeded peer history drain beforehs[0]reset. - Root Cause Analysis: (1)
pgbenchhot updates filter byaid, notbid; (2)io_methodis PG 18+ only and Docker seccomp blocksio_uring; (3) CRDBv25.4requiressql.txn.read_committed_isolation.enabled=trueplus a non-rootbenchrole; (4) CLI-coverrides include files andpgbenchonly retries40001/40P01; (5) DocDB tablet splits and Spock-olddelta replay are sensitive to bulk-load memory and residual queued deletes. - Applied Change / Fix: Built modular
v2.6.1bench_pg_optimized_runner.sh(fillfactor=90,lz4WAL, PG 18/YTio_method=worker/4,-M prepared,WARMUP_S=5, Spockdelta_apply+ drain, Cituscolocate_with=>'pgbench_accounts', Yugabyte50kchunked inserts +RC+CACHE 1000+ HAProxy:15470, CRDBv25.4HAProxy:15480+benchrole, YTYT_MAX_PREPARED=300+ytctlparallel tokens + Leader affinity + Lua55409/40001/40P01hook); documented in Ch.13,06 Section 8,09,README*withchart_12/chart_13. - Result & Non-Regression Test:
318/318sequential rows collected (results/benchmark_optimized.csv),0drift onpgedge,sync, Raft, Citus, and YT (317/318tx_failed=0, onlyyt-cluster-async | Dtx_failed=1), monotonic WAN sweeps across all 8 WAN-enabled consensus/sync stacks, andmake test && make lintpass.
RCA-026 - Dashboard Sharding Imbalance, Collector 301/Timeout Traps & Chart E1/Empty Regressions¶
- Date / Action:
2026-11-22(ACT-193/ACT-194, PRs#530-#560) - Observed Symptom: Baseline dashboard sharding skewed toward early shards,
collect_popularity.pyparsed intermediate HTTP301redirect JSON and risked hanging withoutghtimeouts,generate_charts*.pyfailed on empty data or hardcodedE1_vsE_suite names,charts.jsduplicated integer ticks and collided >4 sweep endpoint labels, andapp.jsleft CSV cells/tooltips unescaped. - Root Cause Analysis: Greedy single-threshold sharding filled shards unevenly;
gh api -iprepends intermediate HTTP headers/bodies on moved repos; chart generators duplicated parsing helpers instead of sharing validated routines; dashboard scripts duplicated formatting/sorting without boundary escaping. - Applied Change / Fix: Implemented byte-balanced 3-way
shard_rows(55+56+67=178rows) +math.isfiniteparse_num,split_http_response+run_gh(..., timeout=30), sharedscripts/chart_meta.py, sharedwindow.LPUtilhelpers, tick dedup & endpoint Y-spacing, XSS/CSV formula escaping, and Python/Node unit guards (tests/test_benchmark_artifacts.py). - Result & Non-Regression Test: Regenerated
chart_08..13+ balanced shards (178+318rows),31/31unit tests (Windows + WSL), Node VM harness,make pages-check, and Chrome headless CDP E2E pass.
RCA-027 - Stripped-Script PACELC Test Regression on Standalone LPUtil Consumer (opt.js)¶
- Date / Action:
2026-11-22(ACT-194, PR#554) - Observed Symptom:
tests/test_pacelc_selector.py(test_js_scoring_engine_and_ui_in_node) failed whenopt.jsunconditionally destructuredwindow.LPUtilbecause line 100 omitsmatrix.jswhen loadingindex.htmlscripts into Node VM. - Root Cause Analysis: Defining
window.LPUtilinsidematrix.jsintroduced an implicit runtime dependency when another test evaluatesopt.jswithoutmatrix.js. - Applied Change / Fix: Added a
W.LPUtil || {}defensive guard with compact local fallback helpers insidedashboard/opt.js(11,976B< 14,000B cap) while leavingtests/test_pacelc_selector.pyunmodified. - Result & Non-Regression Test: Both
test_pacelc_selector.pyandtest_dashboard_js_syntax_and_unit_behavior(31/31OK) plus Chrome CDP UI checks pass without skipping.
RCA-028 - Stale 11-Topology Counts, CockroachDB Version Drift & STE Structural Violations¶
- Date / Action:
2026-11-22(ACT-196..ACT-198, Issues#565,#567,#569) - Observed Symptom: Documentation audit found stale 11-topology and CockroachDB
v24.x-only counts instacks/README.md, >20/25-word sentences, semicolons, forbidden modals, Frencheventuellement, and multi-line HTML/chart blocks failingste_check.py. - Root Cause Analysis: Incremental updates across benchmark waves updated Compose stacks and CSVs without a unified STE procedural/mixed check or centralized stack/version cross-reference across
README*.md,stacks/README.md, anddocs/. - Applied Change / Fix: Updated
stacks/README.mdto 13 Compose stacks / 18 active topologies (cockroachdb/cockroach:latest-v25.4active +v24.3.0V1/V2 note) and refactoredREADME.md,README.fr.md, andstacks/README.mdto 0 STE procedural errors. - Result & Non-Regression Test: Windows
unittest(31/31) and WSLmake test lint check-math check-securitypass across PRs#566,#568, and#569.
RCA-029 - Cross-Document Drift, Unchecked Weak Modals & Submodule Image Tag Skew¶
- Date / Action:
2026-11-23(ACT-199..ACT-254, Issues#571..#681) - Observed Symptom: Documentation audit identified residual CockroachDB
v24.x-only prose, missing Diataxis quadrant portal, weak modals and non-CSVviaacrossREADME*, chapters01-13, and 38 solution sheets, plus stalev2.6.2andhaproxy:2.9-alpinereferences inREADME.mdvs submodulev2.6.3(haproxy:lts-alpine). - Root Cause Analysis: Previously no automated test verified GFM
#anchortargets,Makefilereferences, forbidden modals, or ASD-STE100 sentence/semicolon limits across Markdown docs, and submodule image tags changed upstream without root README sync. - Applied Change / Fix: Refactored every EN/FR chapter and all 38 solution sheets to 0 STE structural errors, added
docs/index.mdDiataxis portal linked fromREADME*, added stdlibtests/test_docs_hygiene.py, and syncedenv/multi-db-docker-envv2.6.3(acfb0c2b) +haproxy:lts-alpine. - Result & Non-Regression Test: Windows
unittest(35/35) and WSLmake test(35/35),make lint,make check-math,make check-security, andmake pages-checkpass.
RCA-030 - MkDocs CLI sys.path Slugify & SSH Workflow Push Resolution (#683-#687)¶
- Date / Action:
2026-11-23(ACT-255..ACT-257) - Observed Symptom: Bare
mkdocs buildfailed resolving!!python/name:scripts.mkdocs_hooks.gfm_slugifywithoutPYTHONPATH=., and HTTPS OAuth pushes lackedworkflowscope (RCA-003). - Root Cause Analysis: Console-script
mkdocsentrypoints omit CWD fromsys.pathduring YAML parse, and theghHTTPS token excludesworkflowscope. - Applied Change / Fix: Attached
gfm_slugifyinon_config()(scripts/mkdocs_hooks.py), switchedoriginto SSH (git@github.com), and addedscripts/build_mkdocs.pyplus.github/workflows/docs-publish.yml. - Result & Non-Regression Test:
build_mkdocs.py --strict --check, Windowsunittest, and WSL suites pass with zero banned paths or tokens.
RCA-031 - Dual EN/FR MkDocs Separation, Cross-Language Links & Workflow OAuth Scope (#713-#717)¶
- Date / Action:
2026-11-24(ACT-270..ACT-272) - Observed Symptom: Splitting
mkdocs.yml(EN/) andmkdocs.fr.yml(FR/fr/) initially overlapped onsite/fr/, broke cross-language.mdlinks under--strict, risked breaking/overview-fr/smoke checks, and remained subject to HTTPS OAuthworkflowscope limits (RCA-003). - Root Cause Analysis: MkDocs clears target
-ddirectories per build, excluded sibling-language docs do not emit local targets unless rewritten by hooks, and modifying.github/workflows/*.ymlrequiresworkflowscope (IDEA-002). - Applied Change / Fix: Separated
mkdocs.yml(exclude_docs, ENnav) andmkdocs.fr.yml(theme.language: fr, FRnav), added_alt_urlcross-language rewriting and virtualdocs/fr/index.mdmapping inscripts/mkdocs_hooks.py, added Apache.htaccess/overview-fr/->/fr/overview-fr/redirect plus EN/FR isolation guards inscripts/build_mkdocs.py, and executed strict EN+FR checks insidetests/test_mkdocs_publishing.pywithout altering.github/workflows/*.yml. - Result & Non-Regression Test:
40/40unittest,build_mkdocs.py --strict --check, andaudit_helpers.py(language_mix=0) pass.
2. Technical Dead-Ends & Abandoned Leads (IMP-XXX)¶
IMP-001 - Monolithic Bootstrap Pull Request Exceeding 15,000 Characters¶
- Date / Action:
2026-11-19(ACT-001) - Rejected Approach: Bundling governance rules, living registers,
Makefile, GitHub CI, and Python test suites in a single PR (~27.5K diff chars). - Reason: Exceeded the 15,000-character PR diff limit. Split cleanly into PR
#1(governance +.env.example+ registers) and PR#2(Makefile+ CI + test suites).
IMP-002 - Monolithic Benchmark JSON & Uncompacted 19 MB Retry Logs¶
- Date / Action:
2026-11-19(ACT-032/ACT-036) - Rejected Approach: Committing a single 28 KB
benchmark_summary.jsonand rawcockroach.log(19 MB / 142,831 repeated40001retry lines). - Reason: Violated the
< 15,000-char PR diff cap and bloated repository history. Split JSON intobenchmark_summary_part1.json+benchmark_summary_part2.jsonand summarizedcockroach.log(8,015bytes) preserving exact metrics and representative retry lines.
IMP-003 - Host-NAT Benchmark Execution & Uncapped Multi-Node Consensus Containers¶
- Date / Action:
2026-11-19(ACT-021) - Rejected Approach: Running
pgbench/sysbenchover WSL2/Windows localhost port-forwarding or running multiple multi-node clusters simultaneously without memory caps inside 16.4 GiB RAM. - Reason: Host NAT skews RTT and concurrent clusters risk OOM kills. Replaced with sequential one-stack-at-a-time execution using
multi-db-pgbench-sysbench:latestinside each stack's isolated Docker bridge network.
IMP-004 - Duplicated Standalone stacks/ Compose & Script Copies¶
- Date / Action:
2026-11-19(ACT-071..ACT-075) - Rejected Approach: Maintaining mirrored Docker Compose stacks and setup scripts inside
ClusterPostgreSQL-Series/stacks/<topology>/alongsidejmrenouard/multi-db-docker-env. - Reason: Dual maintenance caused configuration drift and omitted newer V2 topologies (
pg-streaming,pg-logical,T11-T18,bench_pg_v2_runner.sh). Replaced with a real Git submodule (env/multi-db-docker-envpinned tov2.2.0commit84acc72), delegatedMakefiletargets (MDB_DIR,init-env,up/down/setup/test-%,bench-all, 9-stacklint), and a single-source-of-truthstacks/README.md.
IMP-005 - Using Corporate Supporter Logo in the Series Primary Hero Slot¶
- Date / Action:
2026-11-20(ACT-077, Issue#153) - Rejected Approach: Placing the LightPath corporate SVG logo alone in the top hero banner of
README.md,README.fr.md, and the.brandslot ofdashboard/index.html. - Reason: Conflated project identity with corporate sponsorship. Generated dedicated
ClusterPostgreSQL-Seriesproject branding (assets/clusterpostgresql-series-logo.pngandassets/clusterpostgresql-series-icon.png) for primary headers, and repositioned LightPath SVG logos explicitly as"Supported by"/"Soutenu par"support branding.
IMP-006 - Monolithic Wave 3 Chart, Dashboard & Cross-Chapter PRs Exceeding < 14 KB / < 15 KB Caps¶
- Date / Action:
2026-11-20(ACT-138..ACT-141) - Rejected Approach: Appending Charts 08-10 into
scripts/generate_charts.py, embedding Popularity UI intodashboard/app.js, or committing fulldashboard/index.html(21.6 KBunified diff),dashboard/app.js(17.6 KBdiff), EN+FR cross-chapters (17.2 KBdiff), and both root READMEs (17.7 KBdiff) in single PRs. - Reason: Violated both the
< 14,000-byte per-file test cap and the< 15,000-byte PR diff cap. Split into modularscripts/generate_charts_v3.py,dashboard/popularity.js, dedicated< 13.5 KBJS data bundles (data_bench_pg18.js,data_matrix_pg18.js,data_popularity.js), and 24 sequential atomic PRs all strictly< 14,000bytes.
IMP-007 - Monolithic Wave 4 generate_charts_v3.py (15.3 KB) & Chapter 11 (14.9 KB) Diffs¶
- Date / Action:
2026-11-20(ACT-144,ACT-146) - Rejected Approach: Landing all Wave 4
scripts/generate_charts_v3.pyedits (15,328B unified diff) or full Chapter 11 EN/FR rewrites (14,746B /14,904B) in single PRs, or staging new solution sheets without intermediate test synchronization. - Reason: Exceeded or breached the strict
< 14,800-byte PR diff cap and would break strictlen(SLUGS)assertions mid-wave. Splitgenerate_charts_v3.pyinto typography compaction (7,301B) + 19-repo Charts 08-09 (8,909B), split EN/FR Chapter 11 into matrix (~9.9 KB) + insights (~5.2 KB), and maintained20/20OK on every single Wave 4 PR.
IMP-008 - Copying Partial Wave-4 Section 6 Layout or Uncompacted M1 Sheets Exceeding 14,000 B / 15,000-Char Caps¶
- Date / Action:
2026-11-20(ACT-149) - Rejected Approach: Reusing the abbreviated 2-bullet Section 6 table from Wave 4 (
pg18_native_clustering.md,yt_cluster_lite.mdomittingopen_issues/fullpushed_atISO) or appending full Section 6 ontopg17_physical_streaming_patroni.md(12,955/13,205B) andpgedge_spock.md(12,973/13,158B) without prose compaction. - Reason: Omitting
open_issues/watchers/SPDX/fullpushed_atviolates R1 verbatim telemetry coverage, and uncompacted sheets exceed the14,000-byte per-file test ceiling (14.3-14.9KB). Standardized on the full 8-column / 3-bullet Section 6 schema with surgical prose compaction preserving every CSV/probe number.
IMP-009 - Combined citus + cockroachdb M2 PR 3 Exceeding 14,000 B / 15,000-Char Caps¶
- Date / Action:
2026-11-20(ACT-155) - Rejected Approach: Appending Section 6 onto uncompacted
citus.md(12,848/12,859B) andfr/cockroachdb.md(12,684B) or bundling all 4citus+cockroachdbsheets in one PR (~16.2K-18.0Kunified diff chars). - Reason: Uncompacted
citus.mdapproaches14,000B (13,957B FR) and the 4-sheet diff breaches the< 15,000-char cap. Split into PR 3a (citusEN+FR with 4-line non-numeric prose compaction) and PR 3b (cockroachdbEN+FR with 3-line FR compaction).
IMP-010 - Combined 3-Slug M3 Batches Approaching the 15,000-Char PR Diff Ceiling¶
- Date / Action:
2026-11-20(ACT-158..ACT-161) - Rejected Approach: Bundling all 6 sheets of M3 PR 5 (
bucardo,pglogical2,opentenbase_pgxl) or M3 PR 6 (symmetricds,pgpool_ii,edb_pgd) plus governance register updates into single 3-slug PRs (~13,952-15,100unified diff chars). - Reason: Exceeded the advisory
~13,500-char split threshold and risked breaching the hard< 15,000-char PR diff cap (AGENTS.md). Split M3 into sequential 2+1 slug atomic PRs (PR 5a, PR 5b, PR 6a, PR 6b), keeping every PR diff well under11,000chars while preservingen_shape == fr_shape.
IMP-011 - Bundling 4-Repo legacy_triggers and Both Wave-4 R1 Alignments in One M4 PR 8¶
- Date / Action:
2026-11-20(ACT-163..ACT-165) - Rejected Approach: Combining
legacy_triggers(4-row Section 6 +#16scrub),pg18_native_clustering, andyt_cluster_liteEN/FR updates into a single PR 8 (~22,000unified diff chars) or a 2-PR split putting both Wave-4 alignments in one PR (~13,800-14,200chars). - Reason: Breached the
< 15,000-char PR diff cap (AGENTS.md) or exceeded the~13,500-char split threshold. Split M4 PR 8 into three sequential 1-slug atomic PRs (PR 8a, PR 8b, PR 8c), keeping each diff under10,500chars while preservingen_shape == fr_shape.
IMP-012 - Inlining PACELC UI & Styles Inside index.html / app.js¶
- Date / Action:
2026-11-22(ACT-187) | Rejected: Inlining PACELC controls/cards intoindex.html/app.jsbreached< 14,000B per-file cap; isolated intopacelc_ui.jsandpacelc.css.
IMP-013 - Bulk Reshuffling of All Audited Files, Legacy Removals & Test Suites in One PR¶
- Date / Action:
2026-11-22(ACT-192..ACT-194) | Rejected: Landing the full Ponytail audit diff (~85 KBacross 25 modified files, 14 deletions, charts, shards, and~16.7 KBtest_benchmark_artifacts.pydiff) in monolithic commits or overwritingorigin/mainPACELC/Pages features breached the< 15,000-char PR diff cap and would regress#497-#508. Split into sequential< 14,800B PRs (#510-#562) preserving Pages/PACELC.
IMP-014 - Creating a Separate dashboard/util.js File Beyond < 14 KB index.html & Manifest Caps¶
- Date / Action:
2026-11-22(ACT-194, PR#550) | Rejected: Adding a new standalonedashboard/util.jsscript tag instead of colocatingwindow.LPUtilinsidedashboard/matrix.js(4,986B) loaded ahead ofpopularity.js/opt.js/app.jsrisked pushingdashboard/index.html(13,893B) over14,000B and breaking offline manifest lists.
IMP-015 - Bundling README.md, README.fr.md & stacks/README.md STE Refactors in One PR¶
- Date / Action:
2026-11-22(ACT-196..ACT-198, PRs#566,#568,#569) | Rejected: CombiningREADME.md(14.4 KBdiff),README.fr.md(14.3 KBdiff), andstacks/README.md(3.2 KBdiff) exceeded the< 15,000-char PR diff limit due to-U3unified diff context on long catalog/synthesis lines. Split into three sequential atomic PRs.
IMP-016 - Bundling Ch. 04/Ch. 07 TDE Edits or Both Root README Syncs in One PR (> 14,800 B)¶
- Date / Action:
2026-11-23(ACT-261..ACT-269, Issues#695..#711) | Rejected: Combining Ch. 04 Matrix F (11.7 KB) with Ch. 07 (6.4 KB) produced16,963B, and bundlingdocs/index.md,mkdocs.yml,README.md,README.fr.md, andACTION_LOGBOOK.mdproduced23,352B (15,251B forREADME*+ACTION_LOGBOOK.md) due to-U3context around long single-line Markdown paragraphs (IMP-015). Split into atomic PRs (<= 11.7 KBeach).
3. Current Approximations & Simplifying Assumptions (APP-XXX)¶
APP-001 - Ephemeral Local Laboratory Credentials¶
- Date / Action:
2026-11-19(ACT-001) - Assumption:
.env.exampleprovidesPG_LAB_PASSWORD=pg_poc_ephemeralfor isolated local Docker Compose labs. - Impact & Removal Condition: Strictly prohibited outside ephemeral containers; production deployments must inject externally managed credentials at runtime.
APP-002 - Conditional Compose & Shell Linting Prior to PoC Modules¶
- Date / Action:
2026-11-19(ACT-002) - Assumption:
Makefilelintand.github/workflows/ci.ymlpass safely when zero*.shordocker-compose-*.ymlfiles exist during Phase 1 bootstrap. - Impact & Removal Condition: Every future PoC PR adding
.shordocker-compose-*.ymlfiles is automatically validated on addition.
APP-003 - Single-Host WSL2 Docker & tc netem 25ms WAN Approximation¶
- Date / Action:
2026-11-19(ACT-021) - Assumption: All benchmarks share one 20-vCPU / 16.4 GiB NVMe WSL2 host (
Suite Finjects25 msegress delay viatc netemon bridge containers). - Impact & Removal Condition: Captures Raft/sync RTT amplification accurately in relative terms but omits independent physical AZ disk contention, NIC jitter, and cross-datacenter packet loss; removable via multi-host cloud VM benchmarks.
APP-004 - Uniform PG_SCALE = 2 Dataset With Surrogate History PK¶
- Date / Action:
2026-11-19(ACT-021) - Assumption: All 8 topologies run
PG_SCALE = 2(200,000pgbench_accountsrows) with an added surrogate PK onpgbench_history. - Impact & Removal Condition: Keeps dataset working set within container RAM limits for apples-to-apples comparisons; larger disk-bound I/O profiles require higher
PG_SCALE.
APP-005 - Commercial & Cloud-Managed Engines Assessed by Architecture Only¶
- Date / Action:
2026-11-19(ACT-006/ACT-007) - Assumption: EDB Postgres Distributed (PGD/BDR), AWS Aurora Limitless, and Google Cloud Spanner/AlloyDB are covered in theoretical/feature chapters without live Docker PoCs.
- Impact & Removal Condition: Reflects licensing and managed-cloud boundaries rather than omission; benchmark comparison tables explicitly mark non-tested commercial/cloud offerings.
APP-006 - Single-Host V2 Concurrency (c=1..32) & Multi-Point tc netem (10/25/50ms) Sweeps¶
- Date / Action:
2026-11-19(ACT-051..ACT-052) - Assumption: V2 concurrency sweeps (
c=1, 4, 8, 16, 32) and 3-point WAN sweeps (10ms,25ms,50msegresstc netem) run sequentially on one Docker host (20vCPU /16.4GiB NVMe). - Impact & Removal Condition: Accurately exposes relative scaling knees, Raft/sync RTT amplification, and async decoupling across 10 topologies, while remaining bounded by shared host I/O; removable via multi-region bare-metal/cloud clusters.
APP-007 - Point-in-Time GitHub Popularity Snapshot & Shared-Host PG 18.6 AIO Benchmarks¶
- Date / Action:
2026-11-20(ACT-137,ACT-138) - Assumption:
results/project_popularity.csvcaptures live GitHub REST/GraphQL telemetry at2026-11-20T13:34:55Z(mirror repospostgres/postgresandpgpool/pgpool2report trusted committer counts rather than total mailing-list authors), and PG 18.6 benchmarks (results/benchmark_pg18.csv) run sequentially on one local WSL2 Docker host underio_method=worker. - Impact & Removal Condition: Enables reproducible apples-to-apples PG 18.6 vs PG 17.11 comparisons and transparent maintenance vitality tracking; refreshable anytime via
make popularityandmake bench-pg18.
APP-008 - YT Cluster Licensing Split (MIT Leaf Core vs Closed ytserv) & Vendor Self-Run Jepsen Scope¶
- Date / Action:
2026-11-20(ACT-143,ACT-146) - Assumption:
results/project_popularity.csvtracks the public MIT-licensedDBinvent/yt-cluster-liteRust leaf repository (15stars,21commits,2contributors), while the benchmarkedytservcluster server binary (1.21.3) is closed/dual-licensed; additionally, published Jepsen consistency claims come from DBinvent's own self-run test suite targetingcursor-stabilityrather than an independent third-party serializability audit. - Impact & Removal Condition: Documented explicitly across
docs/{en,fr}/solutions/yt_cluster_lite.mdand Chapters03a/04/07/11so production evaluators distinguish MIT leaf telemetry from closed server licensing and verify isolation guarantees independently; removable ifytservis open-sourced and independently Jepsen-audited.
APP-009 - GitHub Mirror Issue/Tag Artifacts (2026-11-20T17:26:02Z) & < 14 KB Sheet Compaction Ceiling¶
- Date / Action:
2026-11-20(ACT-149) - Assumption:
results/project_popularity.csv(2026-11-20T17:26:02Z,22rows) reportsopen_issues=0,contributors=58(trusted committers), and next-major tagREL_19_0on thepostgres/postgresGitHub mirror (canonical issue tracking lives onpgsql-bugs), whilepgEdge/spockreportsv6.0.0-beta.2alongside stable5.0.14tested in the PoC; additionally, tight sheets (pg17_physical_streaming_patroni,pgedge_spock) near13 KBrequire prose compaction in Sections 1-5/Table D to fit Section 6 under the14,000-byte cap (tests/test_solution_sheets.py:200). - Impact & Removal Condition: Preserves 100% verbatim CSV-to-Markdown telemetry parity and zero benchmark metric loss without loosening test density bounds; mirror caveats and
v5.0.14PoC alignment are stated inline, and telemetry refreshes viamake popularity.
APP-010 - PG_SCALE=20 Single-Host Container RAM Caps & Prepared/Warm-Up Protocol Shift¶
- Date / Action:
2026-11-21(ACT-184) - Assumption: V5 tuned runs (
results/benchmark_optimized.csv,318rows) comparePG_SCALE=20+sysbench 4x25k+-M prepared+5swarm-up + HAProxy/RC againstPG_SCALE=2+4x10k+ simple protocol +0swarm-up baselines inside a single15 GiB-capped WSL2 Docker host (2048m/node Citus,3072m/node Yugabyte & CockroachDBv25.4), and capturesysbenchLua-ignored transient aborts inretries_40001while reportingtx_failed=0. - Impact & Removal Condition: Ratios (
G_opt,R_p95) measure combined architectural tuning +10x/2.5xdataset scaling rather than single-variable isolation, andsysbenchretry churn remains visible viaretries_40001; removable via multi-host NVMe/cloud runs (IDEA-003) at fixed scale.
APP-011 - Compact PACELC Catalog & Live Empirical Cross-Join¶
- Date / Action:
2026-11-22(ACT-185) - Assumption:
dashboard/data_pacelc.jsstores compactcols/rows,sheet_prefix+sheet_slug, and bilingual caveat keys without duplicating rawLP_BENCH_*/LP_MATRIX_*data. - Impact & Removal Condition: Keeps files
< 10 KBand PR diffs< 15 KBwhile ensuring live CSV parity.
APP-012 - Deterministic PACELC Heuristic Weights & Parent Metric Inheritance¶
- Date / Action:
2026-11-22(ACT-186) - Assumption:
dashboard/pacelc_engine.jscomputes transparent additive scores (0-100) from live empiricaltps,balance_drift, andverified_sqlstates; inbaselinemode,pgedge-delta-applyuses its ownD_hot_conflict0drift while inheritingpgedgeA/F_wanthroughput. - Impact & Removal Condition: Every bonus/penalty is exposed verbatim in
reasons[]; removable if standalone WAN runs are added forpgedge-delta-apply(already native in V5optimizedpgedge).
APP-013 - Optional Node.js Execution Guard in tests/test_pacelc_selector.py¶
- Date / Action:
2026-11-22(ACT-188) | Approximation: Python-level catalog/command/sheet parity tests always run; JS engine and UI runtime assertions run automatically whennodeis onPATHand cleanlyskipTeston Python-only runners without Node.js.
APP-014 - Static Root Redirect for GitHub Pages Bundle (_site/index.html)¶
- Date / Action:
2026-11-22(ACT-189) | Approximation:_site/index.htmluses zero-CDN HTML meta-refresh plus JS/anchor redirect todashboard/index.htmlsodashboard/preserves../assets/relative paths identically across localfile://opens and GitHub Pages hosting.
APP-015 - Conditional Node.js Skip Guard in test_dashboard_js_syntax_and_unit_behavior¶
- Date / Action:
2026-11-22(ACT-194, PR#560) | Approximation:test_dashboard_js_syntax_and_unit_behaviorskips gracefully viashutil.which("node")only on Python-only runners lacking Node.js (APP-013), while active Windows (v26) and WSL (v24) developer/CI runtimes execute all31/31assertions non-skipped.
APP-016 - Architecture-Only TDE & KMS Custody Evaluation (Ch. 14 & Matrix F)¶
- Date / Action:
2026-11-23(ACT-259..ACT-267, Issues#691..#707) | Approximation: TDE engine capabilities (pg_tde2.1,EPAS/PGEkey_wrap_command, DocDB, CockroachDB Pebble, and Cloud KMS/CMEK) are synthesized from upstream docs and source models alongsideAPP-001ephemeral lab stacks, without livepgbench/sysbenchTDE-on-vs-off throughput/latency A/B runs or liveKMIP/OpenBaohardware enclaves. Remove once dedicated encrypted-heap and WAL benchmark suites execute againstpg_tde2.1 withKMIP/OpenBao.
4. Unimplemented Ideas & Future Roadmap (IDEA-XXX)¶
IDEA-001 - Automated Cross-Topology pgbench & sysbench Matrix¶
- Date / Action:
2026-11-19(ACT-001) - Proposal: Implemented via
scripts/bench_pg_multimaster.shandmake bench-all; extend in future iterations withPG_SCALE=50+I/O-bound sweeps.
IDEA-002 - GitHub Actions CI Workflow Enablement Pending workflow OAuth Scope¶
- Date / Action:
2026-11-19(ACT-003, updatedACT-272) - Proposal: Add
.github/workflows/ci.yml/docs-ci.yml(Diataxis, STE/STF, Mermaid, and dual EN/FR MkDocs checks) and explicit/fr/overview-fr/live smoke check indocs-publish.ymlonce a maintainerworkflow-scoped token is used (RCA-003); meanwhiledocs-publish.ymlrunsunittest+build_mkdocs.py --strict --checkand.htaccessredirects/overview-fr/to/fr/overview-fr/.
IDEA-003 - Multi-Host Cloud Multi-Region Benchmark & PITR Soak Suite¶
- Date / Action:
2026-11-19(ACT-047) - Proposal: Re-run Suites A-F across 3 real cloud regions (
eu-west,us-east,ap-south) alongside automatedpgBackRestPITR and sustained failback soak tests to validateAPP-003andAPP-004.
IDEA-004 - Retry-Aware Distributed SQL sysbench Driver & Delta-Apply Torture Suite¶
- Date / Action:
2026-11-19(ACT-047) - Proposal: Add an exponential-backoff
SQLSTATE 40001retry wrapper forsysbenchon CockroachDB/YugabyteDB and expandspock.delta_applytesting to multi-column composite counters.
IDEA-005 - Automated GitHub Pages Publishing & PostgreSQL 18+ Native Sequence Sync Study¶
- Date / Action:
2026-11-19(ACT-076), updated2026-11-22(ACT-190/ACT-191) - Proposal: Static
_site/Pages bundle builder/verifier (make pages-build,make pages-check, PR#505) and interactive PACELC Architecture Selector (PR #497,#499,#501,#503) are now merged onmain. Enabling.github/workflows/pages.ymlremains tracked in open Issue#506pendinggh auth refresh -s workflow(RCA-003), alongside future PostgreSQL 19 native logical sequence synchronization benchmarks (RCA-009/RCA-018).
IDEA-006 - PostgreSQL 19 Native Sequence Sync & Bare-Metal io_uring AIO Benchmark Follow-Up¶
- Date / Action:
2026-11-20(ACT-142) - Proposal: Re-evaluate
FOR ALL SEQUENCES/REFRESH SEQUENCES(RCA-018) on PostgreSQL 19 once released and benchmarkio_method=io_uringvsworkervssync(RCA-017) on bare-metal Linux NVMe outside Docker's default seccomp sandbox.
IDEA-007 - Independent Jepsen Fault-Injection & Multi-Region WAN Audit for YT Cluster 1.21+¶
- Date / Action:
2026-11-20(ACT-148) - Proposal: Run an independent multi-host Jepsen-style nemesis suite (network partitions, clock skew, asymmetric packet loss) against YT Cluster
1.21+undercc=halfandcc=0beyond vendor self-runcursor-stabilitytests (APP-008), and re-testSAVEPOINT(RCA-022) if supported in future releases.
IDEA-008 - Automated make popularity Markdown Sync & Drift Guard Across All 38 Solution Sheets¶
- Date / Action:
2026-11-20(ACT-154) - Proposal: Add a deterministic
scripts/sync_popularity_sheets.pyhelper (wired tomake popularity) to refresh Section 6 telemetry rows across all 38docs/{en,fr}/solutions/*.mdsheets directly fromresults/project_popularity.csvwhenever the live GitHub snapshot is regenerated.
IDEA-009 - Empirical pg_tde 2.1 AIO vs Plaintext Heap/WAL Overhead Benchmark Suite¶
- Date / Action:
2026-11-23(ACT-267) - Proposal: Add a reproducible Docker and bare-metal benchmark suite comparing
PostgreSQL 18.6io_method=workerplaintext againstpg_tde2.1 (pg_tde.wal_encrypt = on, AES-GCM/CBC) backed by containerizedKMIPorOpenBaoacross SuitesA,E,H, andT11to measure real CPU/latency overhead underAPP-016.