On Sat, Dec 24, 2011 at 6:49 PM, Emmanuel Lecharny <elecha...@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 >