You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a node has been `PARTED` its metadata remains present in the cluster's nodes. For example, the node will remain in the `bdr.node_sumary` results, marked as `PARTED`, until the node is dropped.
165
+
166
+
Calling `bdr.drop_node('some node', force := true)` can be necessary
167
+
and appropriate when a node becomes stuck while parting. Note that it
168
+
skips past syncing any data out of the node being dropped, if there is
169
+
any data on that node that still needs to be synced out. If a node
170
+
stuck parting has already been reimaged or deleted, there is no harm
171
+
in calling `bdr.drop_node` on it. Note that this must be called for
172
+
this stuck node on all nodes in the cluster so they all have a
173
+
consistent view that the node has been dropped.
174
+
164
175
This function removes the metadata for a given node from the local
165
176
database. The node can be either:
166
177
167
178
- The local node, in which case it removes all the node metadata, including information about remote nodes.
168
179
- A remote node, in which case it removes only metadata for that specific node.
169
180
170
-
171
-
172
181
!!! Important When to use `bdr.drop_node()`
173
-
Do not use `bdr.drop_node()` to drop node metadata and reuse node names. PGD can reuse existing node names providing the node name belongs to a node in a `PARTED` state. Use `bdr.part_node()` to remove the original node and place it in a `PARTED` state.
182
+
It is not necessary to use `bdr.drop_node()` to drop node metadata just to reuse node names. PGD 5 and later can reuse existing node names as long as the node name in question belongs to a node in a `PARTED` state. Instead of dropping the node, use `bdr.part_node()` to remove the original node and place it in a `PARTED`.
0 commit comments