Untitled
unknown
plain_text
2 years ago
1.1 kB
17
Indexable
The logic considers factors such as node reachability, the contents of local and distributed views, and the presence of specific cell states. Node Reachability: The code checks whether a node is reachable. A node is considered reachable if all pages returned successfully during a scan. Local and Distributed Views: It checks whether the local view of the node is empty. It checks whether the distributed (DP) view of the node is empty. Conditions for Isolation: If the node is unreachable, and both the local and DP views are empty, the node is considered safe for isolation (NODE_UNREACHABLE_LOCALVIEW_EMPTY_DPVIEW_EMPTY). If the local view is empty and the node is reachable, the node is considered safe for isolation, and the specific condition is logged based on whether the DP view is also empty (NODE_REACHABLE_LOCALVIEW_EMPTY_DPVIEW_EMPTY or NODE_REACHABLE_LOCALVIEW_EMPTY_DPVIEW_EXISTS). If the node has no cells or only orphaned cells, it is considered safe for isolation (ONLY_ERASED_OR_ORPHAN_CELLS).
Editor is loading...
Leave a Comment