Skip to content

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

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core supporttype: bugA general bug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions