GeezerVison is showing github.com — ServerSecurityDatabaseUser floods logs: per-access INFO line for every fileId created after security config load (thousands/sec, rotates logs in seconds) · Issue #5269 · ArcadeData/arcadedb
ServerSecurityDatabaseUser floods logs: per-access INFO line for every fileId created after security config load (thousands/sec, rotates logs in seconds) #5269DescriptionServerSecurityDatabaseUser logs an INFO line on every access to a file that was created after the security configuration was loaded:
INFO [ServerSecurityDatabaseUser] <vcc-superx-arcadedb-0> Requesting access to fileId 124 which is not yet in security configuration (registeredFiles=30), allowing by default
Under normal write load this produces thousands of identical lines per second, which rotates the container log within seconds and floods any attached log pipeline.
Environment
- ArcadeDB
26.8.1-SNAPSHOT (digest sha256:51a6e894…), Raft HA, 3-node StatefulSet on Kubernetes (EKS)
- Observed on the leader (
arcadedb-0, uptime 3d22h) — expected, since all writes execute there
- Logs shipped via OpenTelemetry (
OTEL_LOGS_EXPORTER=otlp), so the flood also hits the observability backend
Observed impact
Root cause (from the message semantics)
The per-user file-access set is built when the security configuration is loaded (here: registeredFiles=30). A file created afterwards (here fileId 124, presumably a new bucket/index file) is not in that set, so every access takes the "not yet in security configuration → allowing by default" path — and logs at INFO each time. The check result is clearly stable for a given (user, fileId) pair, but the log line is emitted per access.
A server restart re-registers all current files and the spam stops — until the next file is created at runtime, so any long-running node that creates a bucket/index eventually re-enters this state.
Suggested fix
- Log at most once per (user, fileId) — or demote the per-access line to
FINE/debug. The event is informational ("allowing by default"), not actionable per-occurrence.
- Better: register newly created files into the loaded security configuration at creation time, so the fallback path (and its log line) isn't hit at all for the lifetime of the node.
Workaround
Restart the affected server (reloads the security configuration with all current files). Not great on a Raft leader — restarting it forces a leadership change. Activityadded a commit that references this issue on Jul 14, 2026fix(#5269): refresh security file-access map on runtime bucket/index … lvca commented on Jul 14, 2026 Fixed in main (commit aea22a9), shipping in the next release.
What was happening: the per-user security file-access map is built when the security configuration loads. Creating a new type already refreshed it, but creating a new bucket or index at runtime did not, so every access to that new file kept taking the "not yet in security configuration, allowing by default" path - which logged one INFO line per access (hence the thousands/sec flood). As a bonus this also meant your group's per-type access rules were not being applied to those newly created files.
The fix refreshes the security map whenever the schema settles after a change, so any bucket/index created at runtime is covered right away and the fallback path is no longer hit. As a safety net, that log line is now emitted at most once per file and at FINE level, so it can never flood again even in a transient window.
No action needed on your side beyond upgrading once released - the restart workaround is no longer necessary.
❤️ Thanks for helping make ArcadeDB better! ArcadeDB is free and open source, sustained by its community. If it's useful to you or your company, please consider becoming a sponsor to keep development going. added 2 commits that reference this issue on Aug 14, 2026fix(#5269): refresh security file-access map on runtime bucket/index …
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|