[Date Prev][Date Next]
slurpd in one shot mode, empty replog file (ITS#798)
Full_Name: Adam Wilkshire
Submission from: (NULL) (220.127.116.11)
I found the following problem (and applied the fix to our local source code)
The problem is quite simply:
invoke slurpd in one shot mode. Give it an empty replog file.
And wait..... And wait .......
It is a problem in the function Ri_process() in the ri.c file.
It does not check the one shot mode when the first entry is obtained (although
it does in the main loop).
This means an infinite wait for empty replication files.
The fix is to apply the logic given in the main loop of this function to the
"get the first
entry" code, ie check if its in one shot mode before waiting.