[Date Prev][Date Next]
Re: slurpd in one shot mode, empty replog file (ITS#798)
Do you have a patch you can offer?
At 03:33 PM 10/2/00 +0000, firstname.lastname@example.org wrote:
>Full_Name: Adam Wilkshire
>Submission from: (NULL) (184.108.40.206)
>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.