Class ClusterRepartitionException

All Implemented Interfaces:
Serializable

public final class ClusterRepartitionException extends ClusterRoutingException
Indicates a cluster operation failed because partition ownership changed during processing.

Replicated configuration and replicated topic data is stored in partitions. Each server in a cluster owns a share of the partitions. Partitions can be migrated to different servers in the cluster when servers are started, stopped, or fail. During partition migration, cluster operations may fail.

This is a transient error that occurs while the cluster is recovering from failure. The session can retry the operation.

Since:
6.0
Author:
DiffusionData Limited
See Also:
  • Constructor Details

    • ClusterRepartitionException

      public ClusterRepartitionException()
      Constructor.
    • ClusterRepartitionException

      public ClusterRepartitionException(String message)
      Constructor.
      Parameters:
      message - the exception message
    • ClusterRepartitionException

      public ClusterRepartitionException(String message, Throwable cause)
      Constructor.
      Parameters:
      message - the exception message
      cause - the cause