Skip to content

Idempotent writes with writer ID allocation and batch sequencing  #389

@fresh-borzoni

Description

@fresh-borzoni

Search before asking

  • I searched in the issues and found nothing similar.

Description

The client retries failed batches on network errors up to i32::MAX times by default. Without idempotence, the server has no way to detect retried batches, when writer_id is -1 (current default), the server skips all dedup checks and appends unconditionally. A timeout where the server received the batch but the ack was lost results in silent duplicate records.

Willingness to contribute

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions