On 12/24/11 9:36 PM, Selcuk AYA wrote:
On Sat, Dec 24, 2011 at 6:49 PM, Emmanuel Lecharny<[email protected]>  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 !

--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to