Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Bug] Concurrent access fails #1570

Closed
To-om opened this issue Oct 6, 2020 · 2 comments
Closed

[Bug] Concurrent access fails #1570

To-om opened this issue Oct 6, 2020 · 2 comments
Assignees
Milestone

Comments

@To-om
Copy link
Contributor

To-om commented Oct 6, 2020

Request Type

Bug

Work Environment

TheHive 3.5.0-RC1
ElasticSearch 7.8.1

Problem Description

At the end of a Cortex job, the update of the observable fails because of concurrent access.

Failed: 1: internal versioning can not be used for optimistic concurrency control. Please use `if_seq_no` and `if_primary_term` instead
[warn] c.c.s.CortexAnalyzerSrv - Unable to insert summary report in artifact

Complementary information

ElasticSearch 7 changes the method of optimistic concurrency control, from version to sequence number and primary term

@To-om To-om added the bug label Oct 6, 2020
@To-om To-om added this to the 3.5.0-RC2 milestone Oct 6, 2020
@To-om
Copy link
Contributor Author

To-om commented Oct 6, 2020

Fixed by TheHive-Project/elastic4play#96

@nadouani
Copy link
Contributor

I tested the fix and it's working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants