SDP-311

giles (giles)
giles created this job , modified by C. Thomas Tyler
Closed
Avoid unnecessary removal of rdb.lbr in db swap.

Removing rdb.lbr in the weekly_sync_replica.* file will potentially cause the replica to miss getting copies of the archive files that are currently scheduled for transfer; that line needs to be removed.

See SDP-309 for the Windows implementation (core-win component).
23902Eliminated unnecessary removal of live rdb.lbr file.

The rdb.lbr from was being removed duing the scripts that reset
a replica using offline databases.  The rdb.lbr file is not
regenerated from a checkpoint, and is not affected in the process
of regneration from a checkpoint, and thus should not be removed
in checkpoint-related processing.

Removing it was functionally mostly harmless, as the rdb.lbr
file gets regenerated and update as needed by user activity,
and also by p4verify.sh.  However, removing it unnecesarily
caused unnecessary delay in getting archive files sync'd.

The processing in switch_db_files() in backup_functions.sh
(for the UNIX/Linux implementation) expects the rdb.lbr file
to exist prior to the db swap.

#review @giles
24199Eliminated unnecessary removal of live rdb.lbr file.

The rdb.lbr from was being removed duing the scripts that reset
a replica using offline databases.  The rdb.lbr file is not
regenerated from a checkpoint, and is not affected in the process
of regneration from a checkpoint, and thus should not be removed
in checkpoint-related processing.

Removing it was functionally mostly harmless, as the rdb.lbr
file gets regenerated and update as needed by user activity,
and also by p4verify.sh.  However, removing it unnecesarily
caused unnecessary delay in getting archive files sync'd.

The processing in switch_db_files() in backup_functions.sh
(for the UNIX/Linux implementation) expects the rdb.lbr file
to exist prior to the db swap.

#review @giles
  • Details
  • Comments -
Status
Closed
Project
perforce-software-sdp
Severity
C
Reported By
giles
Reported Date
Modified By
C. Thomas Tyler
Modified Date
Owned By
tom_tyler
Component
core-unix
Type
Bug