mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
ITS#9878 Workaround for streams that won't receive the fix
This commit is contained in:
parent
52fe7f1a8c
commit
97f7ebcfae
1 changed files with 13 additions and 0 deletions
|
|
@ -492,6 +492,19 @@ if test $WAIT != 0 ; then
|
|||
fi
|
||||
KILLPIDS="$PID $CONSUMERPID"
|
||||
|
||||
echo "Waiting $SLEEP1 seconds for syncrepl to reschedule (ITS#9878) and poking it..."
|
||||
sleep $SLEEP1
|
||||
|
||||
$LDAPSEARCH -s base -b "$MONITOR" -H $URI2 \
|
||||
'objectclass=*' > /dev/null 2>&1
|
||||
RC=$?
|
||||
|
||||
if test $RC != 0; then
|
||||
echo "ldapsearch failed at consumer ($RC)!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
|
||||
sleep $SLEEP1
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue