From: Kevin Lewis Date: January 21 2009 5:37pm Subject: Re: When you have a chance... List-Archive: http://lists.mysql.com/falcon/415 Message-Id: <49775D76.4030109@sun.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Transfer-Encoding: 7BIT > Vladislav Vaintroub wrote: > > Interesting, I still do not get it, why we checking for uniqueness during > garbage collection? We have no possibility to report an error to user at > this stage. No, these are two separate activities by separate threads. Checking for uniqueness is done by a client thread doing an insert or update. Garbage Collection is being done outside a transaction by the scavenger, usually, and inside a transaction by releaseSavepoint. But releaseSavepoint is not the problem because the base record is owned by the transaction doing it. The problem is garbage collection by the scavenger, now running-a-muck more than before.