Skip to content

Request hangs indefinitely when using replicatedConfirmation with replicateTo #213

@kriszyp

Description

@kriszyp

Problem

When using replicatedConfirmation: 1 together with replicateTo, the request hangs forever and never returns a response. Restarting Harper resolves it temporarily.

Reproduce

POST https://127.0.0.1:9925
{
  "operation": "update",
  "schema": "blob",
  "table": "BlobTable",
  "records": [{ "id": "3", "data": null }],
  "replicateTo": ["127.0.0.2"],
  "replicatedConfirmation": 1
}

Also reproducible via REST with X-Replicate-To: 127.0.0.2;confirm=1.

Notes

  • Removing replicatedConfirmation makes it work
  • After a restart, replicatedConfirmation works again (until it gets stuck again)
  • Confirmed with both Postman and Node Supertest across multiple reproductions
  • Jira BI: Customer Experience

🤖 Filed by Claude on behalf of Kris.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:replicationReplication, cluster sync, peer connectionsbugSomething isn't workingfrom-jiraMigrated or originated from a Jira ticket

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions