CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
swissknife::CommandMigrate::PendingCatalog Struct Reference

#include <swissknife_migrate.h>

Collaboration diagram for swissknife::CommandMigrate::PendingCatalog:

Public Member Functions

 PendingCatalog (const catalog::Catalog *old_catalog=NULL)
 
virtual ~PendingCatalog ()
 
const std::string root_path () const
 
bool IsRoot () const
 
bool HasNew () const
 
bool HasChanges () const
 
shash::Any GetOldContentHash () const
 

Public Attributes

bool success
 
const catalog::Catalogold_catalog
 
catalog::WritableCatalognew_catalog
 
PendingCatalogList nested_catalogs
 
Future< catalog::DirectoryEntryroot_entry
 
Future< catalog::DeltaCountersnested_statistics
 
CatalogStatistics statistics
 
Future< bool > was_updated
 
shash::Any new_catalog_hash
 
size_t new_catalog_size
 

Detailed Description

Definition at line 67 of file swissknife_migrate.h.

Constructor & Destructor Documentation

swissknife::CommandMigrate::PendingCatalog::PendingCatalog ( const catalog::Catalog old_catalog = NULL)
inlineexplicit

Definition at line 68 of file swissknife_migrate.h.

swissknife::CommandMigrate::PendingCatalog::~PendingCatalog ( )
virtual

Definition at line 690 of file swissknife_migrate.cc.

Member Function Documentation

shash::Any swissknife::CommandMigrate::PendingCatalog::GetOldContentHash ( ) const
inline

Definition at line 86 of file swissknife_migrate.h.

Referenced by swissknife::CommandMigrate::MigrationCallback().

Here is the call graph for this function:

Here is the caller graph for this function:

bool swissknife::CommandMigrate::PendingCatalog::HasChanges ( ) const
inline

Definition at line 81 of file swissknife_migrate.h.

Referenced by swissknife::CommandMigrate::MigrationCallback(), and swissknife::CommandMigrate::AbstractMigrationWorker< DerivedT >::UpdateCatalogMetadata().

Here is the call graph for this function:

Here is the caller graph for this function:

bool swissknife::CommandMigrate::PendingCatalog::HasNew ( ) const
inline

Definition at line 79 of file swissknife_migrate.h.

Referenced by swissknife::CommandMigrate::MigrationWorker_20x::AnalyzeFileLinkcounts(), swissknife::CommandMigrate::MigrationWorker_217::CheckDatabaseSchemaCompatibility(), swissknife::CommandMigrate::AbstractMigrationWorker< DerivedT >::CollectAndAggregateStatistics(), swissknife::CommandMigrate::MigrationWorker_20x::CommitDatabaseTransaction(), swissknife::CommandMigrate::MigrationWorker_217::CommitDatabaseTransaction(), swissknife::CommandMigrate::StatsMigrationWorker::CommitDatabaseTransaction(), swissknife::CommandMigrate::MigrationWorker_20x::DetachOldCatalogDatabase(), swissknife::CommandMigrate::DoMigrationAndCommit(), swissknife::CommandMigrate::MigrationWorker_20x::FixNestedCatalogTransitionPoints(), swissknife::CommandMigrate::MigrationWorker_20x::GenerateCatalogStatistics(), swissknife::CommandMigrate::MigrationWorker_217::GenerateNewStatisticsCounters(), swissknife::CommandMigrate::MigrationWorker_20x::MigrateFileMetadata(), swissknife::CommandMigrate::MigrationWorker_20x::MigrateNestedCatalogMountPoints(), swissknife::CommandMigrate::MigrationCallback(), swissknife::CommandMigrate::MigrationWorker_20x::RemoveDanglingNestedMountpoints(), swissknife::CommandMigrate::StatsMigrationWorker::RepairStatisticsCounters(), swissknife::CommandMigrate::MigrationWorker_20x::StartDatabaseTransaction(), swissknife::CommandMigrate::MigrationWorker_217::StartDatabaseTransaction(), swissknife::CommandMigrate::StatsMigrationWorker::StartDatabaseTransaction(), swissknife::CommandMigrate::AbstractMigrationWorker< DerivedT >::UpdateCatalogMetadata(), swissknife::CommandMigrate::MigrationWorker_217::UpdateCatalogSchema(), and swissknife::CommandMigrate::AbstractMigrationWorker< DerivedT >::UpdateNestedCatalogReferences().

Here is the caller graph for this function:

bool swissknife::CommandMigrate::PendingCatalog::IsRoot ( ) const
inline

Definition at line 78 of file swissknife_migrate.h.

Referenced by swissknife::CommandMigrate::MigrationWorker_20x::MigrateFileMetadata().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

catalog::WritableCatalog* swissknife::CommandMigrate::PendingCatalog::new_catalog

Definition at line 93 of file swissknife_migrate.h.

Referenced by swissknife::CommandMigrate::MigrationWorker_20x::AnalyzeFileLinkcounts(), swissknife::CommandMigrate::ChownMigrationWorker::ApplyPersonaMappings(), swissknife::CommandMigrate::MigrationWorker_20x::AttachOldCatalogDatabase(), swissknife::CommandMigrate::HardlinkRemovalMigrationWorker::BreakUpHardlinks(), swissknife::CommandMigrate::MigrationWorker_20x::CheckDatabaseSchemaCompatibility(), swissknife::CommandMigrate::HardlinkRemovalMigrationWorker::CheckDatabaseSchemaCompatibility(), swissknife::CommandMigrate::BulkhashRemovalMigrationWorker::CheckDatabaseSchemaCompatibility(), swissknife::CommandMigrate::StatsMigrationWorker::CheckDatabaseSchemaCompatibility(), swissknife::CommandMigrate::AbstractMigrationWorker< DerivedT >::CollectAndAggregateStatistics(), swissknife::CommandMigrate::MigrationWorker_20x::CommitDatabaseTransaction(), swissknife::CommandMigrate::MigrationWorker_20x::CreateNewEmptyCatalog(), swissknife::CommandMigrate::MigrationWorker_20x::DetachOldCatalogDatabase(), swissknife::CommandMigrate::DoMigrationAndCommit(), swissknife::CommandMigrate::MigrationWorker_20x::FindRootEntryInformation(), swissknife::CommandMigrate::MigrationWorker_20x::FixNestedCatalogTransitionPoints(), swissknife::CommandMigrate::MigrationWorker_20x::GenerateCatalogStatistics(), HasChanges(), HasNew(), swissknife::CommandMigrate::MigrationWorker_20x::MigrateFileMetadata(), swissknife::CommandMigrate::MigrationWorker_20x::MigrateNestedCatalogMountPoints(), swissknife::CommandMigrate::MigrationCallback(), swissknife::CommandMigrate::MigrationWorker_20x::RemoveDanglingNestedMountpoints(), swissknife::CommandMigrate::BulkhashRemovalMigrationWorker::RemoveRedundantBulkHashes(), swissknife::CommandMigrate::MigrationWorker_20x::StartDatabaseTransaction(), swissknife::CommandMigrate::AbstractMigrationWorker< DerivedT >::UpdateCatalogMetadata(), swissknife::CommandMigrate::AbstractMigrationWorker< DerivedT >::UpdateNestedCatalogReferences(), and ~PendingCatalog().

const catalog::Catalog* swissknife::CommandMigrate::PendingCatalog::old_catalog

Definition at line 92 of file swissknife_migrate.h.

Referenced by swissknife::CommandMigrate::ChownMigrationWorker::ApplyPersonaMappings(), swissknife::CommandMigrate::MigrationWorker_20x::AttachOldCatalogDatabase(), swissknife::CommandMigrate::HardlinkRemovalMigrationWorker::BreakUpHardlinks(), swissknife::CommandMigrate::MigrationWorker_20x::CheckDatabaseSchemaCompatibility(), swissknife::CommandMigrate::MigrationWorker_217::CheckDatabaseSchemaCompatibility(), swissknife::CommandMigrate::HardlinkRemovalMigrationWorker::CheckDatabaseSchemaCompatibility(), swissknife::CommandMigrate::BulkhashRemovalMigrationWorker::CheckDatabaseSchemaCompatibility(), swissknife::CommandMigrate::StatsMigrationWorker::CheckDatabaseSchemaCompatibility(), swissknife::CommandMigrate::AbstractMigrationWorker< DerivedT >::CollectAndAggregateStatistics(), swissknife::CommandMigrate::MigrationWorker_217::CommitDatabaseTransaction(), swissknife::CommandMigrate::StatsMigrationWorker::CommitDatabaseTransaction(), swissknife::CommandMigrate::ConvertCatalogsRecursively(), swissknife::CommandMigrate::DoMigrationAndCommit(), swissknife::CommandMigrate::MigrationWorker_217::GenerateNewStatisticsCounters(), GetOldContentHash(), HasChanges(), IsRoot(), swissknife::CommandMigrate::MigrationCallback(), swissknife::CommandMigrate::MigrationWorker_20x::RemoveDanglingNestedMountpoints(), swissknife::CommandMigrate::BulkhashRemovalMigrationWorker::RemoveRedundantBulkHashes(), swissknife::CommandMigrate::StatsMigrationWorker::RepairStatisticsCounters(), root_path(), swissknife::CommandMigrate::MigrationWorker_217::StartDatabaseTransaction(), swissknife::CommandMigrate::StatsMigrationWorker::StartDatabaseTransaction(), swissknife::CommandMigrate::AbstractMigrationWorker< DerivedT >::UpdateCatalogMetadata(), swissknife::CommandMigrate::MigrationWorker_217::UpdateCatalogSchema(), swissknife::CommandMigrate::AbstractMigrationWorker< DerivedT >::UpdateNestedCatalogReferences(), and ~PendingCatalog().

bool swissknife::CommandMigrate::PendingCatalog::success

The documentation for this struct was generated from the following files: