Enum Class VeniceDCROperation

java.lang.Object
java.lang.Enum<VeniceDCROperation>
com.linkedin.venice.stats.dimensions.VeniceDCROperation
All Implemented Interfaces:
VeniceDimensionInterface, Serializable, Comparable<VeniceDCROperation>, Constable

public enum VeniceDCROperation extends Enum<VeniceDCROperation> implements VeniceDimensionInterface
Dimension values for the VeniceMetricsDimensions.VENICE_DCR_OPERATION dimension, representing the type of deterministic conflict resolution (DCR) merge operation performed during active-active replication.

When a record update arrives at an active-active enabled store, the ingestion pipeline must merge the incoming update with the existing record using DCR logic. This dimension captures which type of merge operation was executed, enabling latency and throughput analysis per operation type.

Used by the ingestion.dcr.merge.time metric to break down DCR merge latency by operation type.

See Also:
  • Enum Constant Details

    • PUT

      public static final VeniceDCROperation PUT
      A put (full record write) merge operation was performed during conflict resolution
    • UPDATE

      public static final VeniceDCROperation UPDATE
      An update (partial update / write compute) merge operation was performed during conflict resolution
    • DELETE

      public static final VeniceDCROperation DELETE
      A delete merge operation was performed during conflict resolution
  • Method Details

    • values

      public static VeniceDCROperation[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static VeniceDCROperation valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDimensionName

      public VeniceMetricsDimensions getDimensionName()
      All instances of this enum share the same dimension name. Refer to VeniceDimensionInterface.getDimensionName() for more details.
      Specified by:
      getDimensionName in interface VeniceDimensionInterface