Changeset 1206


Ignore:
Timestamp:
12/28/12 15:05:23 (12 years ago)
Author:
nanardon
Message:

use 'savepoint' word instead checkpoint

Location:
trunk/LATMOS-Accounts/lib/LATMOS/Accounts
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/SyncManager.pm

    r1203 r1206  
    195195} 
    196196 
    197 =head2 reset_module_checkpoint($module) 
    198  
    199 Reset the checkpoint for module C<$module> to force it to run at next 
     197=head2 reset_module_savepoint($module) 
     198 
     199Reset the savepoint for module C<$module> to force it to run at next 
    200200synchronisation. 
    201201 
    202202=cut 
    203203 
    204 sub reset_module_checkpoint { 
     204sub reset_module_savepoint { 
    205205    my ($self, $module) = @_; 
    206206    if (!$self->ini->SectionExists($module)) { 
     
    234234    ); 
    235235 
    236     $task->reset_checkpoint; # Specific reset 
     236    $task->reset_savepoint; # Specific reset 
    237237    $ini->RewriteConfig; 
    238238} 
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Synchro.pm

    r1205 r1206  
    350350    if ($res) { 
    351351        foreach my $destbase ($self->to) { 
    352             # don't register checkpoint on error 
     352            # don't register savepoint on error 
    353353            if ($desterror{$destbase->label}) { next; } 
    354354            $self->newval($self->from->label, $destbase->label, $self->{current_rev}); 
     
    399399} 
    400400 
    401 =head2 reset_checkpoint 
    402  
    403 Reset checkpoint in status file to force full synchronisation 
    404  
    405 =cut 
    406  
    407 sub reset_checkpoint { 
     401=head2 reset_savepoint 
     402 
     403Reset savepoint in status file to force full synchronisation 
     404 
     405=cut 
     406 
     407sub reset_savepoint { 
    408408    my ($self) = @_; 
    409409    foreach my $destbase ($self->to) { 
    410             # don't register checkpoint on error 
     410            # don't register savepoint on error 
    411411        $self->newval($self->from->label, $destbase->label, 0); 
    412412    } 
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Task.pm

    r1201 r1206  
    9090} 
    9191 
    92 =head2 reset_checkpoint 
     92=head2 reset_savepoint 
    9393 
    94 Reset the checkpoint to 0 to force the module to be run again 
     94Reset the savepoint to 0 to force the module to be run again 
    9595 
    9696=cut 
    9797 
    98 sub reset_checkpoint { 
     98sub reset_savepoint { 
    9999    return 1; 
    100100} 
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Task/Basessynchro.pm

    r1205 r1206  
    4949} 
    5050 
    51 sub reset_checkpoint { 
     51sub reset_savepoint { 
    5252    my ($self) = @_; 
    5353    my $LA = LATMOS::Accounts->new($self->{config}, noacl => 1) or do { 
     
    6464 
    6565 
    66     $sync->reset_checkpoint 
     66    $sync->reset_savepoint 
    6767} 
    6868 
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Task/Buildnet.pm

    r1201 r1206  
    814814} 
    815815 
    816 sub reset_checkpoint { 
     816sub reset_savepoint { 
    817817    my ($self) = @_; 
    818818    foreach my $zone ($self->_base->search_objects('netzone')) { 
     
    821821 
    822822        $self->_bnet_state->newval($ozone->id, 'dbrev', 0); 
    823         la_log LA_DEBUG, "Zone checkpoint reset for %s", $ozone->id; 
     823        la_log LA_DEBUG, "Zone savepoint reset for %s", $ozone->id; 
    824824        $self->_bnet_state->SetParameterComment( 
    825825            $ozone->id, 'dbrev', 
    826             'Reset checkpoint the ' . scalar(localtime)); 
     826            'Reset savepoint the ' . scalar(localtime)); 
    827827    } 
    828828 
Note: See TracChangeset for help on using the changeset viewer.