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
Rate limiting bypasses and remaining server reliability items (split from #193) #198
Left over from #193 after #197 (schedule validation, stale-snapshot serving, no error leaks). From the crew review, reported, not yet reproduced:
Rate limiting
user / user-or-ip keys hash the raw Authorization header before authentication, so rotating invalid tokens gives a fresh bucket per request (src/rate_limit_key_builder.cpp ~26).
Endpoint lookup is by path only, not method: GET /items unlimited can exempt a limited POST /items (src/rate_limit_middleware.cpp ~16).
The bucket key includes the literal request path, so /items/:id gets a bucket per id (src/rate_limit_key_builder.cpp ~73).
Other
Schema/catalog/audit SQL is built without identifier quoting/escaping (cache_manager.cpp CREATE SCHEMA and audit INSERT; database_manager.cpp ATTACH).
rollback-window and delete-handling are parsed but never used; compaction schedule is ignored and compaction runs once per endpoint.
REST create/update/delete are in-memory only while the MCP create/delete persist/remove the YAML; EndpointRepository maps look unsynchronised (config_manager.cpp ~2225).
Remote --config s3://... cannot boot (the VFS provider needs an initialised DatabaseManager, which is created after config load).
Startup race: the scheduler's first refresh and the cache warm-up both touch readiness; warm-up re-initialises it, so /health can briefly report ready before caches are registered.
#230 fixed the startup-readiness race, identifier quoting and the debug-log secret leak (the rate-limit bypasses, REST persistence and compaction were already fixed earlier). Still open: booting from a remote --config URL, tracked in batch F.
The last open item, booting from a remote --config, is fixed in #231 (bootstrap DuckDB with httpfs reads the config before DatabaseManager exists). Closing; all items in this issue are now addressed.
Activity
Merge pull request #200 from DataZooDE/fix/gh-198-rate-limit
fix: combined sweep of open issues (#192 #198 #212–#218 #220 #221) (#230
jrosskopf commentedon Nov 21, 2026
#230 fixed the startup-readiness race, identifier quoting and the debug-log secret leak (the rate-limit bypasses, REST persistence and compaction were already fixed earlier). Still open: booting from a remote
--configURL, tracked in batch F.fix: Remote template.path and --config load through the VFS (#219 #198 …
jrosskopf commentedon Nov 21, 2026
The last open item, booting from a remote
--config, is fixed in #231 (bootstrap DuckDB with httpfs reads the config before DatabaseManager exists). Closing; all items in this issue are now addressed.