Document seven undocumented dolt system variables#76
Open
tbantle22 wants to merge 1 commit into
Open
Conversation
Closes #67. Each section's scope/default/values come from the dolt source (sqle/system_variables.go, sqle/cluster/controller.go). General system setting variables: - dolt_allow_ci_creation (session bool, default 0) — gate Dolt CI workflow creation - dolt_auto_gc_enabled (global bool, default 1, startup-only) — background GC - dolt_optimize_json (both bool, default 1) — optimized/diffable JSON storage - dolt_transactions_disabled (session bool, default 0) — disable the txn layer Replication (cluster) variables: - dolt_cluster_role (persist string) — primary/standby; set via dolt_assume_cluster_role() - dolt_cluster_role_epoch (persist int) — role-transition epoch - dolt_cluster_ack_writes_timeout_secs (persist int 0-60, default 0) — primary->standby ack wait Added matching TOC entries (alphabetical) and rows in the SQL extensions index. Cluster-role sections cross-link to the existing "Replication Role and Epoch" section; verified all anchors and cross-link targets resolve in a build. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Closes #67.
Documents the seven system variables flagged in the cross-check, with scope / default / accepted values sourced from
sqle/system_variables.goandsqle/cluster/controller.go.General system setting variables:
dolt_allow_ci_creation0dolt_ci_*) tablesdolt_auto_gc_enabled1, read at startupdolt_optimize_json1dolt_transactions_disabled0Replication (cluster) variables — only present when cluster replication is configured:
dolt_cluster_roleprimary/standby; change viadolt_assume_cluster_role()dolt_cluster_role_epochdolt_cluster_ack_writes_timeout_secs0Added matching TOC entries (alphabetical, in the General and Replication groups) and rows in the SQL extensions index. The cluster-role sections cross-link to the existing Replication Role and Epoch section.
Verified
astro buildis clean and all seven anchors render, plus the#replication-role-and-epoch,#dolt_gc, and/products/dolthub/continuous-integrationcross-link targets exist (no dead links).🤖 Generated with Claude Code