SDP-678

rbonthond (rbonthond)
rbonthond created this job , modified by swarm-user
Closed
load_checkpoint.sh logins for replicas fail if p4d starts slow with systemd.

The systemd start mechanism is a 'fire and forget' style.  That is, there can
be a delay between the time the 'systemctl start p4d_N' call returns, and when
the system is actually up (e.g. responsive to 'p4 info').

When used to seed replicas, load_checkpoint.sh fires off a 'p4login -v -service'
call, which fails with TCP connect errors if the p4d service doesn't start
fast enough.

A possible fix could be to use the start_p4d() function, which returns
only when p4d starts.
28220Fixed issue with slow p4d start causing 'p4login' failures.
28219Fixed issue with slow p4d start causing 'p4login' failures.

#review-28220
  • Details
  • Comments -
Status
Closed
Project
perforce-software-sdp
Severity
C
Reported By
rbonthond
Reported Date
Modified By
swarm-user
Modified Date
Owned By
tom_tyler
Component
core-unix
Type
Bug