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

Add seqno and primary term to entity on initial save [DATAES-876] #1449

Closed
spring-projects-issues opened this issue Jun 30, 2020 · 0 comments
Labels
in: core Issues in core support type: bug A general bug

Comments

@spring-projects-issues
Copy link

sothawo opened DATAES-876 and commented

seq_no and primary_term values are added to entities when they are returned by get and search operations (DATAES-799)

They must also be set in the entities that are returned from the save and saveAll methods (these are the entities that were to be saved but they have the id field populated and so must be the SeqNoPrimaryTerm property if existent). Elasticsearch returns this information in the save response


Reference URL: #441 (comment)

Issue Links:

  • DATAES-799 Support optimistic locking for full update scenario using seq_no + primary_term

Referenced from: pull request #490

1 votes, 2 watchers

@spring-projects-issues spring-projects-issues added type: bug A general bug in: core Issues in core support labels Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core support type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant