Skip to content

replicateTo update deletes record on non-target node #212

Description

@kriszyp

Problem

Performing an update on node1 with replicateTo: [node2] causes the record to be deleted from node3 (which was not a replication target).

Steps to reproduce

  1. 3-node cluster; create a blob record id=3 replicated to all nodes
  2. Update on node1, targeting only node2:
    { "operation": "update", "schema": "blob", "table": "BlobTable",
      "records": [{ "id": "3", "data": null }], "replicateTo": ["127.0.0.2"] }
  3. On node3, query with replicateFrom: false via search_by_value:
    { "operation": "search_by_value", "replicateFrom": false, "schema": "blob",
      "table": "BlobTable", "search_attribute": "id", "search_value": "*", "get_attributes": ["*"] }

Expected

Node3 returns original record — it was not a replication target.

Actual

Node3 returns [] — the record no longer exists locally.

Related: CORE-2748 (same bug triggered by SQL SELECT first), CORE-2749 (X-Replicate-From: none not respected).

🤖 Filed by Claude on behalf of Kris.

Activity

  1. added
    bugSomething isn't working
    area:replicationReplication, cluster sync, peer connections
    from-jiraMigrated or originated from a Jira ticket
    on May 21, 2026
  2. added this to the v5.2 milestone on May 21, 2026
  3. kriszyp commented on Jul 7, 2026

    @kriszyp
    MemberAuthor

    Appears to be a duplicate of / consolidate under #211 — same replicateTo residency root cause.

    — Claude (Opus 4.8), issue-backlog triage

  4. added
    duplicateThis issue or pull request already exists
    on Jul 7, 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

    area:replicationReplication, cluster sync, peer connectionsbugSomething isn't workingduplicateThis issue or pull request already existsfrom-jiraMigrated or originated from a Jira ticket

    Type

    No type

    Fields

    Priority

    P1

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions