CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
publish Namespace Reference

Classes

class  CmdAbort
 
class  CmdCommit
 
class  CmdDiff
 
class  CmdEnter
 
class  CmdHash
 
class  CmdHelp
 
class  CmdInfo
 
class  CmdLsof
 
class  CmdMkfs
 
class  CmdTransaction
 
class  CmdZpipe
 
class  Command
 
class  CommandList
 
class  EPublish
 
class  Session
 
class  CheckoutMarker
 
class  ServerLockFile
 
class  ServerLockFileCheck
 
class  ServerLockFileGuard
 
class  ServerFlagFile
 
class  Setting
 
class  SettingsSpoolArea
 
class  SettingsTransaction
 
class  SettingsGc
 
class  SettingsStorage
 
class  SettingsKeychain
 
class  SettingsRepository
 
class  SettingsPublisher
 
class  SettingsReplica
 
class  SettingsBuilder
 
class  SyncItem
 
class  SyncItemNative
 
class  SyncItemDummyCatalog
 
class  SyncItemDummyDir
 
class  SyncItemTar
 
class  SyncDiffReporter
 
struct  HardlinkGroup
 
class  AbstractSyncMediator
 
class  SyncMediator
 
class  SyncUnion
 
class  SyncUnionAufs
 
class  SyncUnionOverlayfs
 
class  SyncUnionTarball
 

Typedefs

typedef std::map< std::string,
SharedPtr< SyncItem > > 
SyncItemList
 
typedef std::map< uint64_t,
HardlinkGroup
HardlinkGroupMap
 

Enumerations

enum  EMountpointAlterations {
  kAlterUnionUnmount, kAlterUnionLazyUnmount, kAlterRdOnlyUnmount, kAlterRdOnlyKillUnmount,
  kAlterRdOnlyLazyUnmount, kAlterUnionMount, kAlterRdOnlyMount, kAlterUnionOpen,
  kAlterUnionLock, kAlterScratchWipe
}
 
enum  EUnionMountRepairMode { kUnionMountRepairNever = 0, kUnionMountRepairSafe, kUnionMountRepairAlways }
 
enum  SyncItemType {
  kItemDir, kItemFile, kItemSymlink, kItemCharacterDevice,
  kItemBlockDevice, kItemFifo, kItemSocket, kItemNew,
  kItemMarker, kItemUnknown
}
 
enum  UnionFsType { kUnionFsUnknown, kUnionFsAufs, kUnionFsOverlay, kUnionFsTarball }
 

Functions

int CallServerHook (const std::string &func, const std::string &fqrn, const std::string &path_hooks="/etc/cvmfs/cvmfs_server_hooks.sh")
 
class __attribute__ ((visibility("default"))) DiffListener
 
class static __attribute__((visibility("default")))
Repository std::string 
GetFqrnFromUrl (const std::string &url)
 
 Repository (const SettingsRepository &settings, const bool exists=true)
 
virtual ~Repository ()
 
void Check ()
 
void GarbageCollect ()
 
void List ()
 
void Diff (const std::string &from, const std::string &to, DiffListener *diff_listener)
 
bool IsMasterReplica ()
 
const signature::SignatureManagersignature_mgr () const
 
const whitelist::Whitelistwhitelist () const
 
const manifest::Manifestmanifest () const
 
const history::Historyhistory () const
 
std::string meta_info () const
 
void DownloadRootObjects (const std::string &url, const std::string &fqrn, const std::string &tmp_dir)
 
catalog::SimpleCatalogManagerGetSimpleCatalogManager ()
 
class __attribute__((visibility("default")))
Publisher 
ManagedNode (Publisher *p)
 
int Check (bool is_quiet=false)
 
void Open ()
 
void Lock ()
 
void Unmount ()
 
void Mount ()
 
void ClearScratch ()
 
void AlterMountpoint (EMountpointAlterations how, int log_level)
 
void SetRootHash (const shash::Any &hash)
 
static PublisherCreate (const SettingsPublisher &settings)
 
 Publisher (const SettingsPublisher &settings, const bool exists=true)
 
virtual ~Publisher ()
 
void UpdateMetaInfo ()
 
void Transaction ()
 
void Abort ()
 
void Publish ()
 
void Ingest ()
 
void Sync ()
 
void ExitShell ()
 
void EditTags (const std::vector< history::History::Tag > &add_tags, const std::vector< std::string > &rm_tags)
 
void MarkReplicatible (bool value)
 
void Rollback ()
 
void Resign ()
 
void Migrate ()
 
const SettingsPublishersettings () const
 
const ServerFlagFilein_transaction () const
 
const ServerLockFileis_publishing () const
 
Sessionsession () const
 
const upload::Spooler * spooler_files () const
 
const upload::Spooler * spooler_catalogs () const
 
void ConstructSpoolers ()
 
void ConstructSyncManagers ()
 
void WipeScratchArea ()
 
void CreateKeychain ()
 
void CreateStorage ()
 
void CreateSpoolArea ()
 
void CreateRootObjects ()
 
void ExportKeychain ()
 
void CreateDirectoryAsOwner (const std::string &path, int mode)
 
void InitSpoolArea ()
 
void PushCertificate ()
 
void PushHistory ()
 
void PushManifest ()
 
void PushMetainfo ()
 
void PushReflog ()
 
void PushWhitelist ()
 
void OnProcessCertificate (const upload::SpoolerResult &result)
 
void OnProcessHistory (const upload::SpoolerResult &result)
 
void OnProcessMetainfo (const upload::SpoolerResult &result)
 
void OnUploadManifest (const upload::SpoolerResult &result)
 
void OnUploadReflog (const upload::SpoolerResult &result)
 
void OnUploadWhitelist (const upload::SpoolerResult &result)
 
void CheckTagName (const std::string &name)
 
void TransactionRetry ()
 
void TransactionImpl ()
 
class __attribute__((visibility("default")))
Replica 
Replica (const SettingsReplica &settings)
 
virtual ~Replica ()
 
void Snapshot ()
 
void RunSuidHelper (const std::string &verb, const std::string &fqrn)
 
void SetInConfig (const std::string &path, const std::string &key, const std::string &value)
 
std::string SendTalkCommand (const std::string &socket, const std::string &cmd)
 
bool ObtainSysAdminCapabilityInternal (cap_t caps)
 

Variables

const SettingsRepository settings_
 
perf::Statisticsstatistics_
 
signature::SignatureManagersignature_mgr_
 
download::DownloadManagerdownload_mgr_
 
catalog::SimpleCatalogManagersimple_catalog_mgr_
 
whitelist::Whitelistwhitelist_
 
manifest::Reflogreflog_
 
manifest::Manifestmanifest_
 
history::SqliteHistoryhistory_
 
std::string meta_info_
 
Publisherpublisher_
 
static const unsigned kRequiredLayoutRevision = 143
 
UniquePtr
< perf::StatisticsTemplate
statistics_publish_
 
int llvl_
 
ServerFlagFile in_transaction_
 
ServerLockFile is_publishing_
 
gateway::GatewayKey gw_key_
 
UniquePtr< Sessionsession_
 
UniquePtr< ManagedNodemanaged_node_
 
upload::Spooler * spooler_files_
 
upload::Spooler * spooler_catalogs_
 
catalog::WritableCatalogManagercatalog_mgr_
 
SyncParameterssync_parameters_
 
SyncMediatorsync_mediator_
 
publish::SyncUnionsync_union_
 

Detailed Description

This file is part of the CernVM File System.

Data wrappers for single dentries. In addition to the normal file meta data it manages bookkeeping data specific to cvmfs such as the associated catalog.

This file is part of the CernVM File System.

This file is part of the CernVM File System.

Private utility functions for libcvmfs_server

This file is part of the CernVM File System

This file is part of the CernVM File System

This file defines a class to abstract information retrieval from union file system components.

There is a class UnionSync which is the base class for all supported union file systems and provides support for the basic union fs principals.

There are three main principals, union file systems follow:

  1. Copy on Write read-only files in CVMFS will be copied up to an overlay volume on write access.
  2. Whiteout the union file system has to mark files as deleted, if you remove them from a read only file system
  3. Opaque Directories if you delete an entire directory from the read only file system and recreate it empty afterwards the union file system has to mark this directory as opaque to hide all old contents

Furthermore, the union file system could create special files for internal bookkeeping which should be ignored.

Classes that derive from UnionSync implement the specifics of a concrete union file system (e.g. AUFS, overlayfs).

This file is part of the CernVM File System

This file defines a class which derives SyncUnion to provide support for AUFS

This file is part of the CernVM File System

This file defines a class which derives SyncUnion to provide support for overlayfs

This file is part of the CernVM File System

This file defines a class which derives SyncUnion to provide support for tarballs

Typedef Documentation

typedef std::map<uint64_t, HardlinkGroup> publish::HardlinkGroupMap

Mapping of inode number to the related HardlinkGroup.

Definition at line 137 of file sync_mediator.h.

typedef std::map<std::string, SharedPtr<SyncItem> > publish::SyncItemList

Definition at line 322 of file sync_item.h.

Enumeration Type Documentation

Possible state transitions for the cvmfs read-only mountpoint and the union file system on /cvmfs/$fqrn

Enumerator
kAlterUnionUnmount 
kAlterUnionLazyUnmount 
kAlterRdOnlyUnmount 
kAlterRdOnlyKillUnmount 
kAlterRdOnlyLazyUnmount 
kAlterUnionMount 
kAlterRdOnlyMount 
kAlterUnionOpen 
kAlterUnionLock 
kAlterScratchWipe 

Definition at line 207 of file repository.h.

Steers the aggressiveness of Publisher::ManagedNode::Check()

Enumerator
kUnionMountRepairNever 
kUnionMountRepairSafe 
kUnionMountRepairAlways 

Definition at line 64 of file settings.h.

Enumerator
kItemDir 
kItemFile 
kItemSymlink 
kItemCharacterDevice 
kItemBlockDevice 
kItemFifo 
kItemSocket 
kItemNew 
kItemMarker 
kItemUnknown 

Definition at line 29 of file sync_item.h.

Enumerator
kUnionFsUnknown 
kUnionFsAufs 
kUnionFsOverlay 
kUnionFsTarball 

Definition at line 44 of file sync_union.h.

Function Documentation

class publish::__attribute__ ( (visibility("default"))  )

Users create derived instances to react on repository diffs

Depending on the desired course of action, the permitted capabilities of the binary (cap_dac_read_search, cap_sys_admin) needs to be dropped or gained. Dropped for creating user namespaces in enter, gained for walking through overlayfs.

If in an ephemeral writable shell, return the session directory. Otherwise return the empty string.

Depending on the desired course of action, the permitted capabilities of the binary (cap_dac_read_search, cap_sys_admin) needs to be dropped or gained. Dropped for creating user namespaces in enter, gained for walking through overlayfs.

If in an ephemeral writable shell, return the session directory. Otherwise return the empty string.

Definition at line 58 of file repository.h.

void publish::Publisher::Abort ( )
private

Definition at line 52 of file repository_abort.cc.

Here is the call graph for this function:

void publish::Publisher::ManagedNode::AlterMountpoint ( EMountpointAlterations  how,
int  log_level 
)
private

Definition at line 276 of file repository_managed.cc.

Referenced by ClearScratch(), Mount(), and Unmount().

Here is the call graph for this function:

Here is the caller graph for this function:

int publish::CallServerHook ( const std::string &  func,
const std::string &  fqrn,
const std::string &  path_hooks = "/etc/cvmfs/cvmfs_server_hooks.sh" 
)

Runs the shell function $name from /etc/cvmfs/cvmfs_server_hooks.sh if it exists. Returns the exit code of the hook.

This file is part of the CernVM File System.

Definition at line 18 of file cmd_util.cc.

Referenced by publish::CmdAbort::Main(), and publish::CmdTransaction::Main().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::Check ( )

Referenced by FuseRemounter::CheckSynchronously().

Here is the caller graph for this function:

int publish::Check ( bool  is_quiet = false)
protected

Verifies the mountpoints and the transaction status. Returns a bit map of EFailures codes.

void publish::Publisher::CheckTagName ( const std::string &  name)
private

Definition at line 16 of file repository_tags.cc.

Referenced by EditTags().

Here is the caller graph for this function:

void publish::Publisher::ManagedNode::ClearScratch ( )
protected

Move scratch space to waste bin and clear it out asynchronously

Definition at line 56 of file repository_managed.cc.

Here is the call graph for this function:

void publish::Publisher::ConstructSpoolers ( )
private

Used just before a spooler is required, e.g. in Create()

Definition at line 242 of file repository.cc.

Referenced by ConstructSyncManagers(), CreateStorage(), MarkReplicatible(), Publisher(), and TransactionImpl().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::Publisher::ConstructSyncManagers ( )
private

Initializes the spooler, the writable catalog manager, and the sync mediator

Definition at line 677 of file repository.cc.

Referenced by Sync(), and TransactionImpl().

Here is the call graph for this function:

Here is the caller graph for this function:

static Publisher* publish::Create ( const SettingsPublisher &  settings)
staticprivate
void publish::Publisher::CreateDirectoryAsOwner ( const std::string &  path,
int  mode 
)
private

Definition at line 563 of file repository.cc.

Referenced by ExportKeychain(), InitSpoolArea(), and Publisher().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::Publisher::CreateKeychain ( )
private

Definition at line 270 of file repository.cc.

Here is the call graph for this function:

void publish::Publisher::CreateRootObjects ( )
private

Definition at line 294 of file repository.cc.

Here is the call graph for this function:

void publish::CreateSpoolArea ( )
private
void publish::Publisher::CreateStorage ( )
private

Definition at line 338 of file repository.cc.

Here is the call graph for this function:

void publish::Diff ( const std::string &  from,
const std::string &  to,
DiffListener *  diff_listener 
)

From and to are either tag names or catalog root hashes preceded by a '@'.

void publish::Repository::DownloadRootObjects ( const std::string &  url,
const std::string &  fqrn,
const std::string &  tmp_dir 
)
protected

Definition at line 133 of file repository.cc.

Referenced by Repository().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::Publisher::EditTags ( const std::vector< history::History::Tag > &  add_tags,
const std::vector< std::string > &  rm_tags 
)
private

Must not edit magic tags 'trunk' and 'trunk-previous'. Removal of non-existing tags is silently ignored. The caller needs to ensure that the data provided in new tags makes sense.

Definition at line 27 of file repository_tags.cc.

Here is the call graph for this function:

void publish::Publisher::ExitShell ( )
private

Automatically exit the ephemeral shell after abort or commit. TODO(avalenzu): Most of the logic of the enter shell is in the CmdEnter UI class. We should move at least the core functionality to libcvmfs_server and this includes the ExitShell() method.

Definition at line 761 of file repository.cc.

Here is the call graph for this function:

void publish::Publisher::ExportKeychain ( )
private

Definition at line 488 of file repository.cc.

Here is the call graph for this function:

void publish::GarbageCollect ( )
std::string publish::Repository::GetFqrnFromUrl ( const std::string &  url)
static

Tag names beginning with @ are interpreted as raw hashes

Definition at line 222 of file repository.cc.

Referenced by publish::SettingsBuilder::CreateSettingsRepository().

Here is the call graph for this function:

Here is the caller graph for this function:

catalog::SimpleCatalogManager * publish::Repository::GetSimpleCatalogManager ( )
protected

Definition at line 118 of file repository.cc.

Referenced by TransactionImpl().

Here is the call graph for this function:

Here is the caller graph for this function:

const ServerFlagFile& publish::in_transaction ( ) const
private

Definition at line 318 of file repository.h.

void publish::Publisher::Ingest ( )
private

Definition at line 843 of file repository.cc.

void publish::Publisher::InitSpoolArea ( )
private

Definition at line 571 of file repository.cc.

Referenced by TransactionImpl().

Here is the call graph for this function:

Here is the caller graph for this function:

const ServerLockFile& publish::is_publishing ( ) const
private

Definition at line 319 of file repository.h.

bool publish::Repository::IsMasterReplica ( )

Checks whether the $url/.cvmfs_master_replica is available

Definition at line 227 of file repository.cc.

Here is the call graph for this function:

void publish::List ( )
void publish::Lock ( )
protected

Re-mount /cvmfs/$fqrn read-only

Referenced by SimpleChunkTables::Add(), SimpleChunkTables::Get(), and SimpleChunkTables::Release().

Here is the caller graph for this function:

class __attribute__ ((visibility("default"))) Publisher publish::ManagedNode ( Publisher *  p)
explicitprotected

Encapsulates operations on a dedicated publisher Collection of publisher failure states (see Check())

Definition at line 174 of file repository.h.

Referenced by Publisher().

Here is the caller graph for this function:

void publish::Publisher::MarkReplicatible ( bool  value)
private

Create empty $url/.cvmfs_master_replica

Definition at line 830 of file repository.cc.

Here is the call graph for this function:

std::string publish::meta_info ( ) const
void publish::Migrate ( )
private
void publish::Publisher::ManagedNode::Mount ( )
protected

Mounts the read-only layer followed by the union layer

Definition at line 51 of file repository_managed.cc.

Here is the call graph for this function:

bool publish::ObtainSysAdminCapabilityInternal ( cap_t  caps)

Definition at line 34 of file sync_union_overlayfs.cc.

Referenced by publish::SyncUnionOverlayfs::ObtainSysAdminCapability().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::Publisher::OnProcessCertificate ( const upload::SpoolerResult result)
private

Definition at line 521 of file repository.cc.

Referenced by PushCertificate().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::Publisher::OnProcessHistory ( const upload::SpoolerResult result)
private

Definition at line 529 of file repository.cc.

Referenced by PushHistory().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::Publisher::OnProcessMetainfo ( const upload::SpoolerResult result)
private

Definition at line 537 of file repository.cc.

Referenced by PushMetainfo().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::Publisher::OnUploadManifest ( const upload::SpoolerResult result)
private

Definition at line 545 of file repository.cc.

Referenced by PushManifest().

Here is the caller graph for this function:

void publish::Publisher::OnUploadReflog ( const upload::SpoolerResult result)
private

Definition at line 551 of file repository.cc.

Referenced by PushReflog().

Here is the caller graph for this function:

void publish::Publisher::OnUploadWhitelist ( const upload::SpoolerResult result)
private

Definition at line 557 of file repository.cc.

Referenced by PushWhitelist().

Here is the caller graph for this function:

void publish::Publish ( )
private

Referenced by swissknife::CommandGraft::FileCallback(), and swissknife::CommandGraft::Main().

Here is the caller graph for this function:

publish::Publisher::Publisher ( const SettingsPublisher &  settings,
const bool  exists = true 
)
explicitprivate

Definition at line 594 of file repository.cc.

Referenced by publish::CmdAbort::Main(), publish::CmdCommit::Main(), publish::CmdEnter::Main(), publish::CmdTransaction::Main(), and publish::CmdDiff::Main().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::Publisher::PushCertificate ( )
private

Definition at line 345 of file repository.cc.

Here is the call graph for this function:

void publish::Publisher::PushHistory ( )
private

Definition at line 355 of file repository.cc.

Referenced by EditTags().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::Publisher::PushManifest ( )
private

Definition at line 383 of file repository.cc.

Referenced by notify::Publisher::Publish().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::Publisher::PushMetainfo ( )
private

Definition at line 374 of file repository.cc.

Here is the call graph for this function:

void publish::Publisher::PushReflog ( )
private

Definition at line 420 of file repository.cc.

Referenced by notify::Publisher::Publish().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::Publisher::PushWhitelist ( )
private

Definition at line 442 of file repository.cc.

Here is the call graph for this function:

publish::Replica::Replica ( const SettingsReplica &  settings)
explicitprivate

Definition at line 857 of file repository.cc.

publish::Repository::Repository ( const SettingsRepository &  settings,
const bool  exists = true 
)
explicit

Definition at line 49 of file repository.cc.

Referenced by publish::CmdInfo::Main(), and publish::CmdDiff::Main().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::Publisher::Resign ( )
private

Definition at line 845 of file repository.cc.

void publish::Rollback ( )
private
void publish::RunSuidHelper ( const std::string &  verb,
const std::string &  fqrn 
)

Callout to cvmfs_suid_helper $verb $fqrn

Definition at line 119 of file repository_util.cc.

Referenced by AlterMountpoint().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string publish::SendTalkCommand ( const std::string &  socket,
const std::string &  cmd 
)

Definition at line 181 of file repository_util.cc.

Referenced by TransactionImpl().

Here is the call graph for this function:

Here is the caller graph for this function:

Session* publish::session ( ) const
private

Definition at line 320 of file repository.h.

Referenced by FuseMain().

Here is the caller graph for this function:

void publish::SetInConfig ( const std::string &  path,
const std::string &  key,
const std::string &  value 
)

Replaces or creates $key=$value in the config file $path. Creates $path if necessary. If value is empty, the key is removed.

Definition at line 141 of file repository_util.cc.

Referenced by SetRootHash().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::Publisher::ManagedNode::SetRootHash ( const shash::Any hash)
private

Definition at line 362 of file repository_managed.cc.

Here is the call graph for this function:

const signature::SignatureManager* publish::signature_mgr ( ) const

Definition at line 121 of file repository.h.

Referenced by Init().

Here is the caller graph for this function:

void publish::Snapshot ( )
private
const upload::Spooler* publish::spooler_catalogs ( ) const
private

Definition at line 322 of file repository.h.

Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().

Here is the caller graph for this function:

const upload::Spooler* publish::spooler_files ( ) const
private

Definition at line 321 of file repository.h.

void publish::Publisher::Sync ( )
private

Definition at line 773 of file repository.cc.

Referenced by shrinkwrap::Sync(), shrinkwrap::SyncFull(), and TransactionImpl().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::Publisher::TransactionImpl ( )
private

Definition at line 70 of file repository_transaction.cc.

Referenced by TransactionRetry().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::Publisher::TransactionRetry ( )
private

Definition at line 26 of file repository_transaction.cc.

Here is the call graph for this function:

void publish::Publisher::ManagedNode::Unmount ( )
protected

Regular unmount of the read-write and the read-only layer and, if this does not work, a forced unmount

Definition at line 33 of file repository_managed.cc.

Here is the call graph for this function:

void publish::Publisher::UpdateMetaInfo ( )
private

Definition at line 847 of file repository.cc.

const whitelist::Whitelist* publish::whitelist ( ) const

Definition at line 124 of file repository.h.

Referenced by whitelist::Whitelist::CreateString(), manifest::DoVerify(), and swissknife::CommandLetter::Main().

Here is the caller graph for this function:

void publish::Publisher::WipeScratchArea ( )
private

Definition at line 44 of file repository_abort.cc.

virtual publish::~Publisher ( )
privatevirtual
publish::Replica::~Replica ( )
privatevirtual

Definition at line 863 of file repository.cc.

publish::Repository::~Repository ( )
virtual

Definition at line 103 of file repository.cc.

Here is the call graph for this function:

Variable Documentation

gateway::GatewayKey publish::gw_key_

Definition at line 372 of file repository.h.

Referenced by Publisher().

history::SqliteHistory* publish::history_
ServerLockFile publish::is_publishing_

Definition at line 371 of file repository.h.

Referenced by Abort(), is_publishing(), and Sync().

const unsigned publish::kRequiredLayoutRevision = 143
static

The directory layout of the publisher node must be of matching revision

Definition at line 278 of file repository.h.

Referenced by publish::SettingsBuilder::CreateSettingsPublisherFromSession(), and Publisher().

int publish::llvl_

The log level, set to kLogNone if settings_.is_silent() == true

Definition at line 369 of file repository.h.

Referenced by Publisher(), and TransactionImpl().

UniquePtr<ManagedNode> publish::managed_node_

Definition at line 381 of file repository.h.

Referenced by Abort(), Publisher(), TransactionRetry(), and WipeScratchArea().

std::string publish::meta_info_

Definition at line 151 of file repository.h.

Referenced by CreateRootObjects(), DownloadRootObjects(), meta_info(), and PushMetainfo().

Publisher* publish::publisher_

Definition at line 223 of file repository.h.

Referenced by AlterMountpoint(), ClearScratch(), and SetRootHash().

UniquePtr<Session> publish::session_

Only really used gateway mode when a transaction is opened. The session takes an existing session token if it exists and drops the lease in abort. TODO(jblomer): that is not yet done. Once publish, tag, etc. are implemented, the lease should be dropped after the last successful write operation.

Definition at line 380 of file repository.h.

Referenced by Abort(), Publisher(), session(), TransactionImpl(), and TransactionRetry().

catalog::SimpleCatalogManager* publish::simple_catalog_mgr_

The read-only catalog manager, loaded on demand

Definition at line 145 of file repository.h.

Referenced by GetSimpleCatalogManager(), and ~Repository().

upload::Spooler* publish::spooler_catalogs_
UniquePtr<perf::StatisticsTemplate> publish::statistics_publish_

Definition at line 365 of file repository.h.

Referenced by ConstructSpoolers(), and ConstructSyncManagers().

SyncMediator* publish::sync_mediator_

Definition at line 387 of file repository.h.

Referenced by ConstructSyncManagers(), and Sync().

SyncParameters* publish::sync_parameters_

Definition at line 386 of file repository.h.

Referenced by ConstructSyncManagers(), and Sync().

publish::SyncUnion* publish::sync_union_

Definition at line 388 of file repository.h.

Referenced by ConstructSyncManagers(), and Sync().

whitelist::Whitelist* publish::whitelist_