You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DynamicConfigurationRefreshIntervalSecs in gateway SetupConfiguration has no effect on the dynamic-config refresh cadence #724
Setting DynamicConfigurationRefreshIntervalSecs in the gateway's SetupConfiguration.json does not change the dynamic-configuration refresh cadence. The gateway keeps refreshing (and re-acquiring topology) at the built-in default of 300 seconds regardless of the configured value.
Start the gateway with "DynamicConfigurationRefreshIntervalSecs": 86400 in SetupConfiguration.json.
Confirm the value is present in the config file the running gateway is actually using.
Watch the logs for Topology acquired (emitted by PgConfiguration::load_topology on each refresh_configuration()).
Expected behavior
With the interval at 86400s, Topology acquired should log ~once per day.
Actual behavior
Topology acquired keeps logging ~every 300s — the built-in default (SetupConfiguration::dynamic_configuration_refresh_interval_secs() -> unwrap_or(60 * 5) in configuration/setup.rs), as if the configured value were never applied. start_dynamic_configuration_refresh_thread (configuration/pg_configuration.rs) is expected to use the configured interval directly.
Additional context
Adjacent to, but distinct from, the config-load issue in #723 — worth checking whether they share a root cause. Happy to provide more logs if useful.
Applied:gateway, bug Project fields suggested: Component gateway · Priority P2 · Effort M · Status Triage Confidence: 0.85 (llm)
Reasoning
LLM: The configured DynamicConfigurationRefreshIntervalSecs value is silently ignored by the gateway's refresh thread, which always falls back to the 300s default — a functional bug in gateway configuration logic within pg_documentdb_gw.
If a label is wrong, remove it manually and ping @patty-chow so the rules can be tuned. The bot will not re-label items that already have component labels.
Activity
documentdb-triage-tool commentedon Aug 18, 2026
🤖 Auto-triaged by documentdb-triage-tool.
Applied:
gateway,bugProject fields suggested: Component
gateway· PriorityP2· EffortM· StatusTriageConfidence: 0.85 (llm)
Reasoning
LLM: The configured
DynamicConfigurationRefreshIntervalSecsvalue is silently ignored by the gateway's refresh thread, which always falls back to the 300s default — a functional bug in gateway configuration logic withinpg_documentdb_gw.If a label is wrong, remove it manually and ping
@patty-chowso the rules can be tuned. The bot will not re-label items that already have component labels.guanzhousongmicrosoft commentedon Aug 31, 2026
Fixed in v0.116-0: the configured dynamic refresh interval is now honored. Closing.