6.5 Replica States

The replica states indicate the current state of the replica. For more information, see Replica Transition States (NDK: Novell eDirectory Technical Overview).

NOTE:These values are not continuous.

Table 6-5 Replica States

Flag Name

C Value

Meaning

LDAP_RS_ON

0

Indicates that the replica is fully functioning and capable of responding to NDS™ requests.

LDAP_RS_NEW_REPLICA

1

Indicates that a new replica has been added but has not received a full download of information from

  • The master replica if NDS 6.x and lower

  • Another replica if NDS 7.x and higher

LDAP_RS_DYING_REPLICA

2

Indicates that a replica of the partition is being deleted. In NDS 6.x and lower, the replica stays in this state until it synchronizes with another replica. In NDS 7.x and higher, indicates that the request has been received.

LDAP_RS_LOCKED

3

Indicates that the replica is locked. The move partition operation uses this state to lock the parent partition of the child partition that is moving.

LDAP_RS_TRANSITION_ON

6

Indicates that a new replica has finished receiving its download from the master replica and is now receiving synchronization updates from the other replicas.

Used only in NDS 6.x and lower.

LDAP_RS_DEAD_REPLICA

7

Indicates that the dying replica needs to synchronize with another replica before being converted to an external reference, if a root replica, or to a subordinate reference, if a nonroot replica.

Used only in NDS 7.x and higher.

LDAP_RS_BEGIN_ADD

8

Indicates that subordinate references of the new replica are being added.

Used only in NDS 7.x and higher.

LDAP_RS_MASTER_START

11

Indicates that a partition is receiving a new master replica. The replica that will be the new master replica is set to this state.

LDAP_RS_MASTER_DONE

12

Indicates that a partition has a new master replica. When the new master is set to this state, it knows it is now the master and changes its replica type to master and the old master to Read/Write.

LDAP_RS_SS_0

48

Indicates that a partition is going to split into two partitions. In this state, other replicas of the partition are informed of the pending split operation.

LDAP_RS_SS_1

49

Indicates that the split partition operation has started. When the split is finished, the state will change to RS_ON.

LDAP_RS_JS_0

64

Indicates that two partitions are in the process of joining into one partition. In this state, the replicas that are affected are informed of the join operation. The master replica of the parent and child partitions are first set to this state and then all the replicas of the parent and child. New replicas are added where needed.

LDAP_RS_JS_1

65

Indicates that two partitions are in the process of joining into one partition. This state indicates that the join operation is waiting for the new replicas to synchronize and move to the RS_ON state.

LDAP_RS_JS_2

66

Indicates that two partitions are in the process of joining into one partition. This state indicates that all the new replicas are in the RS_ON state and that the rest of the work can be completed.