elasticsearch.cluster.pending_tasks
Pending cluster tasksSummary
Shows the number of pending cluster management tasks waiting for master node processing. Tasks include shard allocation, index creation, and mapping updates. A growing pending tasks count indicates master node overload, which delays critical operations. The unassigned shard insight notes that pending task backlogs can prevent recovery and perpetuate red cluster status.
Interface Metrics (8)
Related Insights (4)
When JVM heap usage stays above 85% for extended periods, garbage collection pauses increase dramatically, leading to node unresponsiveness, cluster state propagation failures, and potential split-brain scenarios.
Using high-cardinality data (like user IDs or timestamps) as JSON keys causes unbounded field creation in index mappings, bloating cluster state to hundreds of megabytes and causing master node instability and broadcast delays.
Slow cluster state updates cause delays in shard allocation, index creation, and mapping updates. Large cluster state size or master node resource constraints are common causes.
Long-running or stuck tasks accumulate in the task manager, potentially blocking critical operations and consuming resources.