On 04/20/2011 02:18 AM, Stephen R. van den Berg wrote:
In the order of milliseconds.
I run a:

        aox add user "$user" "$password" "$alias"

Immediately followed by a:

        mailsync -f $cf -M migrate

I've run more than a few commands like that. Can you look at the log? The transaction to 'insert user' etc. should commit... hm... I think I see.

I do see. The basic issue is that the frontend jump is faster than the backend: aox add user sends a NOTIFY, COMMIT, and when the commit returns, exits. The aox server fully expects to get the LISTEN for the NOTIFY before it manages to process the mailsync's LOGIN command.

I even know how to solve it. A thousand-line rewrite *sigh*.

Arnt

Reply via email to