Skip to content

PDP: addRoots intermittently fails - chain watcher stops processing transactions #548

Open
@rjan90

Description

@rjan90

Description:

Curio daemon intermittently stops processing root additions to proof sets, causing StorageService addRoots operations to fail with timeout errors. The transactions are confirmed on-chain but the server fails to acknowledge them.

StorageService addRoots failed: Failed to add root to proof set
Caused by: Failed to verify root addition after 420 seconds: Server did not provide confirmation. The transaction was confirmed on-chain but the server failed to acknowledge it.

We have logs (stderr and stdout), but can’t find any explanation for the chain watcher stopping watching and processing these root adds.

SELECT
       add_message_ok,
       roots_added,
       COUNT(*)
   FROM curio.pdp_proofset_root_adds
   GROUP BY add_message_ok, roots_added;
+----------------+-------------+-------+
| add_message_ok | roots_added | count |
|----------------+-------------+-------|
| <null>         | False       | 14    |
| True           | True        | 12    |
+----------------+-------------+-------+

Temporary Workaround:

  • Restarting the Curio daemon process resolves the issue temporarily
  • Issue is likely to recur

Investigation Notes:

  • Memory issues suspected but adding 32GB swap didn't resolve it
  • Need to catch the exact moment when chain watcher stops to narrow down timing for log analysis

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions