Class TransportVersionsFixupListener

java.lang.Object
org.elasticsearch.cluster.service.TransportVersionsFixupListener
All Implemented Interfaces:
ClusterStateListener

public class TransportVersionsFixupListener extends Object implements ClusterStateListener
This fixes up the transport version from pre-8.8.0 cluster state that was inferred as the minimum possible, due to the master node not understanding cluster state with transport versions added in 8.8.0. Any nodes with the inferred placeholder cluster state is then refreshed with their actual transport version
  • Constructor Details

  • Method Details

    • clusterChanged

      public void clusterChanged(ClusterChangedEvent event)
      Description copied from interface: ClusterStateListener
      Called when cluster state changes.

      Cluster states are applied one-by-one which means they can be a performance bottleneck. Implementations of this method should therefore be fast, so please consider forking work into the background rather than doing everything inline.

      Specified by:
      clusterChanged in interface ClusterStateListener