Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

void Kernel_Administration::ReIntegrateBadLogVolume ( tgg00_TransContext &  trans,
tsp00_VFilename &  devicename 
) [private, virtual]

Parameters:
trans [in/out]
devicename [in]
Returns:
none

Implements Kernel_IAdminConfig.

Definition at line 1610 of file Kernel_Administration.cpp.

References Kernel_StateScope::EnterCriticalState(), IOMan_ILogManager::GetInstance(), Kernel_State::IsOnline(), and m_State.

{
    SAPDBTRACE_METHOD_DEBUG ("Kernel_Administration::ReIntegrateBadLogVolume", Common_Trace, 5);

    Kernel_StateScope state (Kernel_State::criticalStateConfiguration, m_State);

    if ( m_State.IsOnline() ) // PTS 1123452 UH 2003-08-06 removed "!"
    {
        RTE_Message(Admin_Exception(__CONTEXT__,KERNEL_COMMAND_NOT_ALLOWED,"Reintegrate log volume","Online"));
        trans.trError_gg00 = e_dbm_command_not_possible;
        return;
    }
    if ( ! state.EnterCriticalState() )
    {
        RTE_Message(Admin_Exception(__CONTEXT__,KERNEL_CRITICAL_STATE_NOT_ENTERED,"Configuration"));
        trans.trError_gg00 = e_dbm_command_not_possible;
        return;
    }

    if( ! IOMan_ILogManager::GetInstance().ReIntegrateBadLogVolume(trans.trTaskId_gg00,devicename) )
        trans.trError_gg00 = e_disk_not_accessible;
}


Generated by  Doxygen 1.6.0   Back to index