SDP-548

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler created this job , modified by C. Thomas Tyler
Closed
Standby won't start pull if journal.NNN exists.

The load_checkpoint.sh script will propery load a checkpoint
for a journalcopy replica, but 'pull' replication won't start if
an existing $LOGS/journal.NNN file already exists.  These
files should be moved aside if found.
27219Replaced hard-coding of SDP instance setting, so we don't assume
it is Instance 1.
26758Fixed issue with load_checkpoint.sh not clearing journal.NNN file when working on a
standby (journalcopy) replica, which prevented replication from automatically
starting.  These files are now moved aside.

Removed undocumented edge processing logic determined to be unnecessary.

Minor doc improvements.
26720Fixed issue with load_checkpoint.sh not clearing journal.NNN file when working on a
standby (journalcopy) replica, which prevented replication from automatically
starting.  These files are now moved aside.

Removed undocumented edge processing logic determined to be unnecessary.

Minor doc improvements.
26621Enhanced is_edge() and is_standby() to avoid unnecessary I/O, and provided
doc of sample usage.

Updated calls to is_edge() and is_standby() in backup_functions.sh and edge_dump.sh.

Enhanced load_checkpoint.sh to use is_edge() rather than rely on naming convention,
and also to do a preflight check of the checkpoint to be loaded, replaying db.server
to enable checking whether the given ServerID is an edge or standby (journalcopy)
replica.

Updated docs to describe new preflight check. Added docs to indicate load_checkpoint.sh
does not support filtered replicas.

Fixed issue with load_checkpoint.sh not clearing journal.NNN file when working on a
standby (journalcopy) replica, which prevented replication from automatically
starting.  These files are now moved aside.

All scripts pass shellcheck compliance tests and the SDP test suite.
26940Fixed issue with load_checkpoint.sh not clearing journal.NNN file when working on a standby (journalcopy) replica, which prevented replication from automatically starting.
 These files are now moved aside.

Removed undocumented edge processing logic determined to be unnecessary.

Minor doc improvements.
26757Fixed issue with load_checkpoint.sh not clearing journal.NNN file when working on a
standby (journalcopy) replica, which prevented replication from automatically
starting.  These files are now moved aside.

Removed undocumented edge processing logic determined to be unnecessary.

Minor doc improvements.

#review-26758
26719Fixed issue with load_checkpoint.sh not clearing journal.NNN file when working on a
standby (journalcopy) replica, which prevented replication from automatically
starting.  These files are now moved aside.

Removed undocumented edge processing logic determined to be unnecessary.

Minor doc improvements.

#review
26620Enhanced is_edge() and is_standby() to avoid unnecessary I/O, and provided
doc of sample usage.

Updated calls to is_edge() and is_standby() in backup_functions.sh and edge_dump.sh.

Fixed issue with load_checkpoint.sh not clearing journal.NNN file when working on a
standby (journalcopy) replica, which prevented replication from automatically
starting.  These files are now moved aside.

All scripts in this change now pass shellcheck compliance tests and the SDP test suite.

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