Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

version conflict on updating #69

Open
nvdk opened this issue Jun 22, 2023 · 0 comments
Open

version conflict on updating #69

nvdk opened this issue Jun 22, 2023 · 0 comments

Comments

@nvdk
Copy link
Member

nvdk commented Jun 22, 2023

in mu-search 0.9.0-beta.6 version conflict errors have been reported.

When upserting the following error is returned by elasticsearch

{"error":{"root_cause":[{"type":"version_conflict_engine_exception","reason":"[http://themis.vlaanderen.be/id/besluitvormingsaangelegenheid/E14FB551-3347-11ED-B8A0-F82C0F9DE1CF]: version conflict, required seqNo [160], primary term [1]. current document has seqNo [161] and primary term [1]","index_uuid":"lxSwyE2sRKO514gxWawDEg","shard":"0","index":"16f4ac90cf8b3ea359636d37ade2b542"}],"type":"version_conflict_engine_exception","reason":"[http://themis.vlaanderen.be/id/besluitvormingsaangelegenheid/E14FB551-3347-11ED-B8A0-F82C0F9DE1CF]: version conflict, required seqNo [160], primary term [1]. current document has seqNo [161] and primary term [1]","index_uuid":"lxSwyE2sRKO514gxWawDEg","shard":"0","index":"16f4ac90cf8b3ea359636d37ade2b542"},"status":409}

This indicates the document has been updated while we're upserting. mu-search should ensure we only try to update the document once.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant