Class system_validator::DistributedValidate¶
-
class
DistributedValidate
¶ Driver for running distributed validation on metadata across cluster. DistributedValidate provides functions for running a validation on system metadata across a cluster, with options to remove broken objects that have been identified.
Public Functions
-
DistributedValidate
(const std::string &type, const bool is_repair_type_remove, Catalog_Namespace::Catalog &cat, LeafAggregator &leaf_aggregator, const Catalog_Namespace::SessionInfo session_info, DBHandler &mapd_handler)¶
-
std::string
validate
(query_state::QueryStateProxy query_state_proxy) const¶ Compares Aggregators and Leaves metatdata reporting what is different.
Private Functions
-
std::string
validateEpochs
(const std::vector<TTableMeta> &table_meta_vector) const¶
Private Members
-
const std::string
type_
¶
-
const bool
is_repair_type_remove_
¶
-
LeafAggregator &
leaf_aggregator_
¶
-
const Catalog_Namespace::SessionInfo
session_info_
¶
-