Skip to content

[CCR] Paused follower does not display in follower stats #37127

Closed
@jen-huang

Description

@jen-huang

I created a follower index, kibana_sample_data_logs.

Then I paused the follower index using:

POST /kibana_sample_data_logs/_ccr/pause_follow

Then I attempted to retrieve the stats of the follower index using both:

GET /kibana_sample_data_logs/_ccr/stats

and

GET /_ccr/stats

Neither one lists kibana_sample_data_logs as part of indices array. I resumed the follower using:

POST /kibana_sample_data_logs/_ccr/resume_follow
{}

and then the stats API showed the correct information.

For CCR UI, we need the stats API to:

  1. Show paused follower indices
  2. Show status for each follower index - whether it is paused or active. Could just be a boolean paused flag.

This will make it so that we can give the user the correct option in the UI (whether to resume or pause follower index based on its status).

cc @elastic/es-ui

Metadata

Metadata

Assignees

Labels

:Distributed Indexing/CCRIssues around the Cross Cluster State Replication features

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions