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
In 7.1.0 CHANGELOG.md: * Added if_seq_no/if_primary_termto replaceversion for [optimistic concurrency control](https://www.elastic.co/guide/en/elasticsearch/reference/7.x/optimistic-concurrency-control.html) [#1803](https://github.com/ruflin/Elastica/pull/1803)
But, even if you can set these params on Action Object - they are ignored (on any version of the library, 7.1.0+).
Example of the source code, where exception should arise (because seqNo is incorrect), but doc changes are applied instead:
In 7.1.0
CHANGELOG.md
:* Added
if_seq_no/
if_primary_termto replace
versionfor [optimistic concurrency control](https://www.elastic.co/guide/en/elasticsearch/reference/7.x/optimistic-concurrency-control.html) [#1803](https://github.com/ruflin/Elastica/pull/1803)
But, even if you can set these params on Action Object - they are ignored (on any version of the library, 7.1.0+).
Example of the source code, where exception should arise (because seqNo is incorrect), but doc changes are applied instead:
Folowing quick fix in
ruflin/elastica/src/Bulk/Action/IndexDocument.php
solves the problem:The text was updated successfully, but these errors were encountered: