MV_ REPLICATION_ MANAGEMENT_ ORPHANS_ STATE
This view shows the state of orphan partitions (orphans are partition databases that exist on a node but are either detached or not referenced in metadata).
This view is also available as an LMV (local view per node) view.
Column Name |
Description |
---|---|
NODE_ |
The node ID of the node where this partition instance is hosted. |
ID |
Internal ID for replication management. |
DISTRIBUTED_ |
The ID of this instance's distributed database, in the sharded database table of cluster database metadata. |
ORDINAL |
This partition's ordinal. |
INSTANCE_ |
The ID of the node this partition instance exists on. |
DATABASE_ |
Name of the partition database. |
LAST_ |
The outcome of the last action performed on this partition instance. |
METADATA_ |
The role of this instance in cluster metadata. |
LOCAL_ |
The role of this instance locally on the node where it exists. |
NEEDS_ |
Whether this orphan could potentially block transactions, and thus needs to transition offline. |
PENDING_ |
Whether there is an incomplete asynchronous task still pending. |
INSTANCE_ |
The ID of this instance in the partition instances table of cluster database metadata. |
MASTER_ |
The ID in cluster metadata of the master instance for this partition. |
METADATA_ |
Counts the number of times there has been a metadata state change. |
IS_ |
Whether this is a partition of a DR database. |
IS_ |
Whether the master instance for this partition ordinal exists and is online. |
IS_ |
Whether this is an unlimited storage database with its remote storage dropped, and thus it is not usable. |
TRANSITION_ |
Term uniquely identifies a period during which an instance of a partition is a master. |
MASTER_ |
Term uniquely identifies a period during which an instance of a partition is a master. |
UPDATE_ |
The last iteration counter on which this state was updated. |
ACTION_ |
What action the system will take on this partition to move it to a success state, or nothing if the partition is already in a success state, or if it is impossible to correct its state. |
SUCCESS_ |
The success states of all partitions are aggregated to form a global success state. Success: the most recent iteration of the replication management thread ended successfully, with local state matching metadata state. Soft Failure: the local state doesn’t match metadata state, but there is no mismatch that impacts the correct functioning of the cluster (for example, if all that’s wrong is a disconnected async replica, then the cluster is technically healthy, although it is replication management’s responsibility to reconnect it, so we’d be in this state), and thus it is not blocking the advancement of Hard Failure: the local state does not match metadata state in a way that impacts the correct functioning of the cluster (for example, if a sync replica is disconnected), and will block the advancement of |
Last modified: September 14, 2022