Skip to content

An example of the internal versioning issue in ruflin/elastica

Notifications You must be signed in to change notification settings

pidera/elastica-version-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elastica version issue

Requirements

  • PHP 7.2+
  • ElasticSearch 7.x

How to run the test case

Run an ElasticSearch instance on port 9201. A docker image is provided (docker-compose up).

Run composer install Run ./vendor/bin/phpunit tests

Failing test feedback:

1) DocumentManagementTest::testAddingDocumentToAliasIndex
Elastica\Exception\ResponseException: Validation Failed: 1: internal versioning can not be used for optimistic concurrency control. Please use `if_seq_no` and `if_primary_term` instead;

About

An example of the internal versioning issue in ruflin/elastica

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages