GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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) #5269

New issue
Copy link
New issue
Copy link
Closed
Bug
Closed
ServerSecurityDatabaseUser floods logs: per-access INFO line for every fileId created after security config load (thousands/sec, rotates logs in seconds)#5269
Bug
Copy link
Assignees
lvca
Milestone
26.8.1

Description

@ruispereira
ruispereira
opened on Jul 14, 2026
Issue body actions

ServerSecurityDatabaseUser 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

  • A kubectl logs --tail=8000 returned 8000 copies of the line all within the same millisecond (10:02:45.038–10:02:45.039).
  • 17,407 occurrences in the log window kubelet still retained at that moment; the window itself had shrunk to seconds, i.e. rotation had already destroyed everything older.
  • Concrete collateral damage: while investigating HA/k8s: recreated follower permanently stranded — one-shot KubernetesAutoJoin rejected by stale PeerAddressAllowlistFilter; leader never re-contacts it (follow-up to #4696) #5268 (stranded follower) we could not inspect the leader's Raft/channel-reset behavior at the relevant timestamps — the leader's logs from 20 minutes earlier were already gone. The flood actively obstructs debugging of other HA issues.

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.

Activity

  1. lvca
    self-assigned this
    on Jul 14, 2026
  2. lvca
    added the
    Bug
    issue type on Jul 14, 2026
  3. lvca
    added this to the 26.8.1 milestone on Jul 14, 2026
  4. lvca
    added a commit that references this issue on Jul 14, 2026

    fix(#5269): refresh security file-access map on runtime bucket/index …

    aea22a9
  5. lvca commented on Jul 14, 2026

    @lvca
    lvca
    on Jul 14, 2026
    Member
    More actions

    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.

  6. lvca
    closed this as completedon Jul 14, 2026
  7. robfrank
    added 2 commits that reference this issue on Aug 14, 2026

    fix(#5269): refresh security file-access map on runtime bucket/index …

    9330924

    fix(java17): replace List<Bucket>.getFirst() with get(0) in Issue5269…

    edd8afa
  8. mergify
    added 2 commits that reference this issue on Aug 16, 2026

    chore(deps-dev): update setuptools requirement from >=83.0.0 to >=84.…

    335b97b

    chore(studio-deps)(deps): bump the ui-visualization group in /studio …

    02bb019
  9. mergify
    added a commit that references this issue on Aug 23, 2026

    build(deps): bump swagger.version from 2.2.53 to 2.2.54 [skip ci]

    1afa752
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

No labels
No labels

Type

Bug

Projects

No projects

    Milestone

    • 26.8.1

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.