40 void ReplayFragments::run() {
44 const uint8_t *ptr = m_event->payload;
45 size_t remain = m_event->payload_len;
47 params.
decode(&ptr, &remain);
48 m_range_server->replay_fragments(&cb, params.
op_id(), params.
location(),
const char * location()
Gets location.
int32_t plan_generation()
Gets plan generation.
Declarations for RangeServer.
int32_t type()
Gets range type.
const Lib::RangeServerRecovery::ReceiverPlan & receiver_plan()
Gets receiver plan.
Declarations for ReplayFragments request parameters.
Logging routines and macros.
Compatibility Macros for C/C++.
Functions to serialize/deserialize primitives to/from a memory buffer.
int64_t op_id()
Gets operation ID.
virtual void decode(const uint8_t **bufp, size_t *remainp)
Reads serialized representation of object from a buffer.
This class is used to generate and deliver standard responses back to a client.
const vector< int32_t > & fragments()
Gets fragments.
virtual int error(int error, const String &msg)
Sends a standard error response back to the client.
int32_t replay_timeout()
Gets replay timeout.
This is a generic exception class for Hypertable.
Declarations for ResponseCallback.
Request parameters for replay fragments function.
Error codes, Exception handling, error logging.
int code() const
Returns the error code.