feat(query): add op_type=create support and dedupe helpers - #79
Conversation
…s in elasticsearch request body
|
Hey @abkrim, please walk me through the real world problem you face:
Then just take me through a simplified trace of events that leads to double entries of the same record Thanks |
|
Hey! Thanks for asking for details. Let me walk you through the scenario: 1. ID Generation: 2. Distribution: 3. Event Source: The Problem: Scale Context: Why This Matters: Simplified Event Trace:
The feature would provide an essential safety net for critical document uniqueness in a high-throughput distributed environment. Best regards. |
Objective
Provide native idempotent creates (dedupe) via Elasticsearch op_type=create so concurrent writers do not introduce duplicates when targeting the same document.
Motivation
Changes
Usage
Tests
Compatibility
Reference
Best regards