Skip to content

[Bug]: WithActiveInstance only starts CSV log pipe, causing missing logs during bootstrap #10042

Closed

Description

@mnencia

What happened?

WithActiveInstance is used during bootstrap (Job-based initdb, join, restore) to temporarily start postgres. It only starts the CSV log pipe reader, but there are three named pipes that need consumers: postgres (raw) and postgres.csv are written by postgres, while postgres.json is written by other components such as the archive/restore command implementation.

Without the corresponding pipe readers running, the FIFO files are never created. Postgres or other components then create regular files at those paths, and log output from non-CSV pipes during bootstrap is lost.

The "instance run" code path in runSubCommand() correctly starts all three pipe readers via the controller-runtime manager.

Expected behavior

WithActiveInstance should start all three log pipe readers (CSV, raw, JSON) to match the behavior of the normal instance run path.

Activity

  1. self-assigned this
    on Feb 23, 2026
  2. added a commit that references this issue on Feb 23, 2026
    4b068d8
  3. github-actions commented on Apr 25, 2026

    @github-actions
    Contributor

    This issue is stale because it has been open for 60 days with no activity.

  4. github-actions commented on May 9, 2026

    @github-actions
    Contributor

    This issue was closed because it has been inactive for 14 days since being marked as stale.

  5. added a commit that references this issue on May 18, 2026
    2c8e052
  6. added a commit that references this issue on May 18, 2026
    ef7f363
  7. added 3 commits that reference this issue on May 18, 2026
    9e63aae
    e5c3e23
    b8f2436
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions