Skip to content

UpdateQuery primaryTerm/seqNo should be long? #3136

@TheHett

Description

@TheHett

SeqNoPrimaryTerm provides long datatypes

public record SeqNoPrimaryTerm(long sequenceNumber, long primaryTerm) {

But UpdateQuery accepts Int.

@Nullable private final Integer ifSeqNo;
@Nullable private final Integer ifPrimaryTerm;

It may be casted to a certain point, but then it becomes negative.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions