You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Invalid document version from events is still included in opensearch bulk requests #6601
Describe the bug
Using external versioning with document_version and document_version_type in the opensearch sink with invalid version fields sends the event to DLQ, but then also includes it in the bulk request.
Expected behavior
Send the event to DLQ, then do not add it to the bulk request:
@dlvenable Yes it goes into the DLQ twice, but the bigger issue is that opensearch had a bug that caused one invalid version document to fail the entire bulk request so the entire bulk request gets sent to DLQ
Activity
dlvenable commentedon Mar 3, 2026
It looks like we do a pre-validation before the bulk request. Then it still goes into the bulk request.
I'm going to guess it ends up in the DLQ twice. @graytaylor0 , Is that the case?
graytaylor0 commentedon Mar 9, 2026
@dlvenable Yes it goes into the DLQ twice, but the bigger issue is that opensearch had a bug that caused one invalid version document to fail the entire bulk request so the entire bulk request gets sent to DLQ
Fix invalid document version events still included in bulk requests (o…
Fix invalid document version events still included in bulk requests (o…
Fix invalid document version events still included in bulk requests (o…
Fix invalid document version events still included in bulk requests (o…
Fix invalid document version events still included in bulk requests (#…
Fix invalid document version events still included in bulk requests (o…
Fix invalid document version events still included in bulk requests (#…
Fix invalid document version events still included in bulk requests (o…
Fix invalid document version events still included in bulk requests (o…