SDP-269

C. Thomas Tyler
Closed
Optimize journalPrefix values for master, edge, standby, replica.

For master/commit servers only, journalPrefix will remain
/p4/N/checkpoints/p4_N.  So the /p4/N/checkpoints folder, regardless
of what machine it appears on, will represent checkpoints created on
th master/commit server.

For standby replicas only (using journalcopy), journalPrefix will be
/p4/N/journals.rep/p4_N, on /hxlogs volume.  This is because
journalcopy replicas uniquely use journalPrefix to determine where to
write active journals.  This is the current behavior.

Warning: Taking a checkpoint with this setting will cause it to go to
/hxlogs, meaning it may not be big enough to store checkpoints, and
also isn’t typically backed up.  So, don’t take checkpoints on
journalcopy replicas; this needs to be in the docs.

For edge servers and other replica types, journalPrefix will look
something like /p4/N/checkpoints.bos_edge/p4_N.bos_edge, on the
/hxdepots volume.  So there should be plenty of space to create
checkpoints, and no big performance implications since active journals
are written to P4JOURNAL file and rely on jounalPefix only for
checkpoint creation and journal rotation.
Status
Closed
Project
perforce-software-sdp
Severity
C
Reported By
tom_tyler
Reported Date
Modified By
tom_tyler
Modified Date
Owned By
tom_tyler
Component
core-unix
Type
Feature