5 #include "cvmfs_config.h"
21 bool ignore_invalid_lease)
26 if (ignore_invalid_lease &&
31 "force abort, continue despite error while trying to drop lease,"
32 " removing session token. Error: %s", e.
msg().c_str());
33 unlink(session->token_path().c_str());
62 "Repository " +
settings_.
fqrn() +
" is not in a transaction",
73 settings_.transaction().spool_area().repair_mode();
75 settings_.GetTransaction()->GetSpoolArea()->SetRepairMode(
79 settings_.GetTransaction()->GetSpoolArea()->SetRepairMode(repair_mode);
80 if (rvi != 0)
throw EPublish(
"publisher file system mount state is broken");
const SettingsRepository settings_
UniquePtr< ManagedNode > managed_node_
Session * session() const
void TrySessionDrop(publish::Publisher::Session *session, bool ignore_invalid_lease)
ServerLockFile is_publishing_
UniquePtr< Session > session_
EFailures failure() const
ServerFlagFile in_transaction_
CVMFS_EXPORT void LogCvmfs(const LogSource source, const int mask, const char *format,...)