cockroachdb/cockroach
config
pkg/config/ is the legacy "system config" package. Most of its responsibilities have moved to span config, but a few types still live here.
What's in it
system.goandsystem_test.go—SystemConfig, the historical gossip blob that held zone configs and descriptor IDs.zonepb/— theZoneConfigproto type. Still used by SQLALTER ... CONFIGURE ZONEplumbing before the spanconfig translator picks it up.parsetestdata.go— datadriven test helpers.
Status
pkg/config/system.go is gradually being narrowed. New code should not gossip via SystemConfig — produce a span config instead. The zonepb.ZoneConfig type, however, is still the canonical user-facing format for zone configs (input to ALTER ... CONFIGURE ZONE); pkg/spanconfig/spanconfigsqltranslator/ consumes it.
Related pages
- systems/spanconfig — replaced most of this package.
- systems/sql — DDL surface for zone configs.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.