Files
datastore/tests/config/config.d/zookeeper_enforce_component_name.yaml
Antonio AndelicandClaude Opus 4.6 5abb7bee93 Add enforce_keeper_component_tracking server setting
Make ZooKeeper component tracking opt-in via the new
`enforce_keeper_component_tracking` server setting. When enabled,
every ZooKeeper request must have a component name set via
`Coordination::setCurrentComponent`, otherwise a `LOGICAL_ERROR`
exception is thrown. When disabled, requests without a component
name are silently allowed.

The setting is wired through `ZooKeeperArgs` and propagated in
`Context` for both main and auxiliary ZooKeeper connections,
including on config reload. Enabled by default in CI stateless
tests and integration tests.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-02-24 09:18:59 +01:00

1 line
39 B
YAML

enforce_keeper_component_tracking: true