Skip to content

Tasklist index templates settings are not updated with shards and replicas count config #31238

@houssain-barouni

Description

@houssain-barouni

Description

Tasklist index templates settings are not updated with the replicas count defined in the configuration
Thus, the dated (archive) indices are created with the wrong replicas count.
This happens when the replicas count settings is changes after the schema is initialized.

Steps to reproduce

  1. Create a cluster
  2. Update replicas and/or shards count settings for Tasklist
  3. Restart tasklist
  4. wait for the archiver to create dated index

Current behavior

Dated index is created with wrong replicas/shards count

Expected behavior

Tasklist component template should be set with the right replicas count

Environment

SaaS & SM

Version

  • Component Version: 8.4 and higher versions

Rootcause

No response

Solution ideas

No response

Dev -> QA handover

  • Resources:
  • Versions to validate:
  • Release version (in which version this feature will be released):

Links

No response

Observed in the following incident channels:
#inc-inc-tasklist-indices-dont-have-replicas-on-ha-cluster
#inc-operate-wrong-elaststicsearch-replica-count

Metadata

Metadata

Labels

affects/8.4Issue is affecting 8.4 minor versionsaffects/8.5Issue is affecting 8.5 minor versionsaffects/8.6Issue is affecting 8.6 minor versionsaffects/8.7Issue is affecting 8.7 minor versionscomponent/tasklistRelated to the Tasklist component/teamkind/bugCategorizes an issue or PR as a buglikelihood/midObserved occasionallyseverity/midMarks a bug as having a noticeable impact but with a known workaroundversion:8.6.25version:8.7.11

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions