Skip to content

Add replicated field to get data stream api response.#80988

Merged
martijnvg merged 5 commits intoelastic:masterfrom
martijnvg:add_replicated_field_to_get_data_stream_api
Nov 30, 2021
Merged

Add replicated field to get data stream api response.#80988
martijnvg merged 5 commits intoelastic:masterfrom
martijnvg:add_replicated_field_to_get_data_stream_api

Conversation

@martijnvg
Copy link
Copy Markdown
Member

Internally we already kept track of whether a data stream is replicated by CCR.
It is part of the DataStream class. This just adds it to the xcontent serialization
of the get data stream api response class.

Relates to elastic/kibana#118899

Internally we already kept track of whether a data stream is replicated by CCR.
It is part of the `DataStream` class. This just adds it to the xcontent serialization
of the get data stream api response class.

Relates to elastic/kibana#118899
@martijnvg martijnvg added >bug :StorageEngine/Data streams Data streams and their lifecycles labels Nov 24, 2021
@elasticmachine elasticmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Nov 24, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@joshdover
Copy link
Copy Markdown
Contributor

@martijnvg Is this backportable to a 7.16.x patch? I think we'd like to fix this behavior for Fleet on that release series as well.

@martijnvg
Copy link
Copy Markdown
Member Author

@martijnvg Is this backportable to a 7.16.x patch? I think we'd like to fix this behavior for Fleet on that release series as well.

Yes, this is a small fix and should easily apply well on the 7.16 branch as well.

Copy link
Copy Markdown
Contributor

@danhermann danhermann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@martijnvg martijnvg merged commit e20fe6d into elastic:master Nov 30, 2021
martijnvg added a commit to martijnvg/elasticsearch that referenced this pull request Nov 30, 2021
Internally we already kept track of whether a data stream is replicated by CCR.
It is part of the `DataStream` class. This just adds it to the xcontent serialization
of the get data stream api response class.

Relates to elastic/kibana#118899
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

💔 Backport failed

Status Branch Result
8.0
7.16 Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 80988

martijnvg added a commit to martijnvg/elasticsearch that referenced this pull request Nov 30, 2021
Backporting elastic#80988 to 7.16 branch.

Internally we already kept track of whether a data stream is replicated by CCR.
It is part of the `DataStream` class. This just adds it to the xcontent serialization
of the get data stream api response class.

Relates to elastic/kibana#118899
elasticsearchmachine pushed a commit that referenced this pull request Nov 30, 2021
Internally we already kept track of whether a data stream is replicated by CCR.
It is part of the `DataStream` class. This just adds it to the xcontent serialization
of the get data stream api response class.

Relates to elastic/kibana#118899
elasticsearchmachine pushed a commit that referenced this pull request Nov 30, 2021
* [7.16] Add replicated field to get data stream api response.

Backporting #80988 to 7.16 branch.

Internally we already kept track of whether a data stream is replicated by CCR.
It is part of the `DataStream` class. This just adds it to the xcontent serialization
of the get data stream api response class.

Relates to elastic/kibana#118899

* adjust to 7.16 reality
weizijun added a commit to weizijun/elasticsearch that referenced this pull request Nov 30, 2021
* upstream/master:
  [ML] Parent datafeed actions to the datafeed's persistent task (elastic#81143)
  Simplify ConcreteIndices and its usage in TransportBulkAction (elastic#81098)
  Unmute DataStreamsSnapshotsIT#testRestoreDataStreamAliasWithConflictingIndicesAlias() test (elastic#81142)
  TSDB: Do not allow index splits for time series indices (elastic#81125)
  Reduce verbosity-increase timeout to 3m (elastic#81118)
  Mute DataStreamsSnapshotsIT#testRestoreDataStreamAliasWithConflictingIndicesAlias() test
  Fix stopping of old elasticsearch cluster (elastic#81059)
  Fix data stream alias validation. (elastic#81040)
  Add replicated field to get data stream api response. (elastic#80988)
@danhermann danhermann added v7.16.0 and removed v7.16.1 labels Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :StorageEngine/Data streams Data streams and their lifecycles Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v7.16.0 v8.0.0 v8.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants