Skip to content
SHC Docs

Layer 2. Core

Layer 2. Core. Layer page.

The store is rqlite. One raft. The leader is the node the leader hub confirms.

ce core/db/driver.go swaps the pool to the external rqlited engine in a cluster. The HTTP API is TCP 4001 and raft is TCP 4002 (ce core/nodeports/ports.go). Those listeners ride mesh0; see Consensus and recovery.

The scheduler takes an epoch only while the hub says this node leads (ce subsystems/impl/scheduler.go). Finishing a stored render is refused off that leader (ce modules/app/stored_render.go, X403144RNDLDR).

Ruled, not on this pin: a consensus store other than rqlite.