27 #ifndef Hypertable_RangeServer_TransferLog_h
28 #define Hypertable_RangeServer_TransferLog_h
63 const string &table_id,
const string &end_row) {
65 char md5DigestStr[33];
70 std::this_thread::sleep_for(std::chrono::milliseconds(1200));
73 table_id.c_str(), md5DigestStr, (int)now);
93 #endif // Hypertable_RangeServer_TransferLog_h
Abstract base class for a filesystem.
String format(const char *fmt,...)
Returns a String using printf like format facilities Vanilla snprintf is about 1.5x faster than this...
string & name()
Returns pathname of transfer log.
TransferLog(FilesystemPtr &fs, const string &toplevel_dir, const string &table_id, const string &end_row)
Constructor.
void md5_trunc_modified_base64(const char *input, char output[17])
Get the modified base64 encoded string of the first 12 Bytes of the 16 Byte MD5 code of a null termin...
Logging routines and macros.
string m_logname
Full path name of transfer log.
std::shared_ptr< Filesystem > FilesystemPtr
Smart pointer to Filesystem.
Error codes, Exception handling, error logging.
Creates a unique range transfer log pathname.