directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <>
Subject Re: Transaction Synchronization thread : feature request
Date Sun, 25 Dec 2011 01:09:09 GMT
On 12/24/11 9:36 PM, Selcuk AYA wrote:
> On Sat, Dec 24, 2011 at 6:49 PM, Emmanuel Lecharny<>  wrote:
>> Hi,
>> I have 'workarounded' the schema tests whch were failing because we were
>> expecting the modified elements to be present on disk at the end of each
>> tests.
>> Sadly, the txn thread is flushing them every 100ms only, which introduces a
>> delay that needs to be added in the test.
>> Not a big deal, but for schema elements, we would like to have those
>> elements being flushed immediately.
>> What would be good is a way to interrupt the thread when needed.
> there is an applyPendingTxns() method which any thread can call to
> flush the pending changes to the partitions. You can call this method
> before reading schema data from disk.

It works spendidly ! All the core-integ schema tests are now passing.

Thanks for the trick !

Emmanuel L├ęcharny

View raw message