#include "UniqueId.H"
#include "FP.H"
#include "VestaSource.H"
Go to the source code of this file.
Functions | |
void | MastershipInit1 () throw () |
void | MastershipInit2 () throw () |
VestaSource::errorCode | AcquireMastership (const char *pathname, const char *srcHost, const char *srcPort, char pathnameSep, AccessControl::Identity dwho, AccessControl::Identity swho) throw () |
void | QueueRecoverMastership (const char *pathname, char pathnameSep, const char *requestid) throw () |
void | MastershipCheckpoint (std::fstream &ckpt) throw () |
Variables | |
Text | myHostPort |
Text | myMasterHint |
|
|
|
|
Definition at line 1250 of file Mastership.C. References DBG_ALWAYS, VDirSurrogate::defaultHost(), VDirSurrogate::defaultPort(), Repos::dprintf(), Text::Empty(), Text::FindChar(), VestaConfig::get(), TCP_sock::host_to_addr(), inet_ntoa_r(), Text::Length(), VestaConfig::failure::msg, and RegisterRecoveryCallback(). Referenced by main(). |
|
Definition at line 1365 of file Mastership.C. References Basics::thread::fork(). Referenced by main(). |
|
Definition at line 871 of file Mastership.C. References Basics::mutex::lock(), NEW, RecoverMastershipInfo::next, RecoverMastershipInfo::pathname, RecoverMastershipInfo::pathnameSep, RecoverMastershipInfo::prev, RecoverMastershipInfo::requestid, Basics::cond::signal(), and Basics::mutex::unlock(). Referenced by AcquireMastership(). |
|
Definition at line 43 of file Mastership.C. |
|
Definition at line 43 of file Mastership.C. Referenced by do_mkdir(), and InsertAppendableDirectoryStep::execute(). |