Struct ClassifiedRouting
Defined in File classification.hpp
Struct Documentation
-
struct ClassifiedRouting
Result of classifying a merged Component set into hierarchical parents (served locally) and leaves (routed to an owning peer).
malformed_parent_warningssurfaces diagnostic strings for invalidparent_component_idreferences detected during classification (self-parent, non-existent parent, or a parent cycle). Such references are ignored for hierarchical-parent detection, so the affected Components fall back to leaf routing. Caller is expected to log each string so operators can fix the underlying manifest or peer configuration.Public Members
-
std::unordered_map<std::string, std::string> routing_table
-
std::vector<LeafCollisionWarning> leaf_warnings
-
std::vector<std::string> malformed_parent_warnings
-
std::unordered_map<std::string, std::string> routing_table