Skip to content

"ledger manager already attached; keeping the first" is logged at WARN on every data-raft boot — real double attach or noise? #1808

Open

Description

@bplatz

Summary

Every boot of a standalone Solo server in the data-raft posture logs, at WARN:

{"level":"WARN","message":"ledger manager already attached; keeping the first","target":"fluree_db_consensus::raft::integration"}

It appears once per boot on a single-node install (observed on every boot of two separate installs, including a pristine first boot) and is followed by a fully working server: all four raft groups elect, writes commit, reads are fresh. Either a second attach really is attempted and silently dropped — in which case something upstream is wiring the ledger manager twice and the WARN is hiding a real double-registration — or the message is the normal steady state and belongs at INFO/DEBUG.

Where

  • Emitted by fluree_db_consensus::raft::integration (the message text above).
  • Engine version: the fluree-db-api rev pinned by fluree/solo, 80894e7832e173ebc3c33f7d0299808718a69652, running under Solo's fluree-ai-server with FLUREE_AI_DATA_RAFT=true (the embedded engine attaches the data raft group as a fourth group alongside Solo's own core/extract/resolve groups).
  • Timing: it fires a few seconds after embedded engine open and after the raft groups report ready, during the first _system queries of the boot.

Ask

Decide which it is. If it is a genuine second attach, find the caller (Solo's embedding may be the culprit — happy to trace it from this side once the attach path is named). If it is expected, downgrade to INFO with a message that says what was kept and why, so operators reading a boot log at WARN level see only things that need attention.

Activity

  1. added
    bug
    area:server
    on Sep 8, 2026
  2. added
    P3
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3area:serverbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions