22 #ifndef Hypertable_Master_OperationRecoverRanges_h
23 #define Hypertable_Master_OperationRecoverRanges_h
44 void execute()
override;
45 const String name()
override;
46 const String label()
override;
47 void display_state(std::ostream &os)
override;
48 uint8_t encoding_version_state()
const override;
49 size_t encoded_length_state()
const override;
50 void encode_state(uint8_t **bufp)
const override;
51 void decode_state(uint8_t version,
const uint8_t **bufp,
size_t *remainp)
override;
52 void decode_state_old(uint8_t version,
const uint8_t **bufp,
size_t *remainp)
override;
53 void decode_request(
const uint8_t **bufp,
size_t *remainp);
57 bool recovery_plan_has_changed();
58 bool validate_recovery_plan();
59 void initialize_obstructions_dependencies();
60 bool wait_for_quorum();
61 void create_futures();
62 bool get_new_recovery_plan();
63 bool prepare_to_commit();
64 bool replay_fragments();
65 bool phantom_load_ranges();
77 int32_t m_plan_generation {};
78 time_t m_last_notification {};
83 #endif // Hypertable_Master_OperationRecoverRanges_h
std::set< String > StringSet
STL Set managing Strings.
std::string String
A String is simply a typedef to std::string.
Declarations for Operation.
RangeServerRecovery::Plan m_plan
String m_parent_dependency
RangeServer recovery plan.
std::shared_ptr< Context > ContextPtr
Smart pointer to Context.
Abstract base class for master operations.