Skip to content

Inconsistent getters for shards_acknowledged #27784

@olcbean

Description

@olcbean

Several responses include the shards_acknowledged flag ( indicating whether the requisite number of shard copies started before the completion of the operation ) and there are two different getters used : isShardsAcknowledged() and isShardsAcked()

public boolean isShardsAcknowledged()

  • OpenIndexClusterStateUpdateResponse
  • OpenIndexResponse

public boolean isShardsAcked()

  • CreateIndexClusterStateUpdateResponse
  • RolloverResponse
  • CreateIndexResponse

Should they be unified?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions