mysql auxprop patch

Brasseur Valéry Valery.Brasseur at atosorigin.com
Thu Sep 12 09:34:42 EDT 2002


> -----Original Message-----
> From: Rob Siemborski [mailto:rjs3 at andrew.cmu.edu]
> Sent: Thursday, September 12, 2002 3:11 PM
> To: Brasseur Valéry
> Cc: cyrus-sasl at andrew.cmu.edu; info-cyrus at andrew.cmu.edu
> Subject: Re: mysql auxprop patch
> 
> > here is a patch for mysql.c auxprop plugin.
>
> this patch make the connection to mysql more "permanent", giving less
> connect/disconnect load on the mysql database !

>That's great.
>
>However, it looks like you don't ever verify that the connection to the
>mysql database is still good before using it again.
>
>Since we are now reusing it over a nonnegligable period of time, it is
>possible that the database server could go away and come back between two
>connections, but our context would now be invalid.
>
>-Rob
>
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
>Research Systems Programmer * /usr/contributed Gatekeeper
> 
yes I now it ! for now it was a little bit of "proof of concept" !!!

I am currently testing it under load, so I will look at some enhancement
 in the next couple of hour !

this connection probleme is high on my list...

valery





More information about the Info-cyrus mailing list