directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Selcuk AYA <ayasel...@gmail.com>
Subject Re: Transaction Synchronization thread : feature request
Date Sat, 24 Dec 2011 20:36:14 GMT
On Sat, Dec 24, 2011 at 6:49 PM, Emmanuel Lecharny <elecharny@gmail.com> 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.

>
> --
> Regards,
> Cordialement,
> Emmanuel L├ęcharny
> www.iktek.com
>

Mime
View raw message