Hi, > not interrupting is easier said than done with other libraries.
Yes... One case, that was biting us, is using java.util.concurrent.ExecutorService.shutdownNow(). This was calling Thread.interrupt() in our case. It was relatively easy to resolve: now we use shutdown() instead. See https://issues.apache.org/jira/browse/SLING-5416 Regards, Thomas On Thu, Jun 28, 2018 at 10:32 AM Noel Grandin <[email protected]> wrote: > > > On 2018/06/28 9:59 AM, Dan wrote: > > I've been going down this road: > https://github.com/h2database/h2database/issues/227 trying to figure out > how to work > > around interrupts with MVStore. > > > > Everyone just says use 'retry' or don't interrupt... not interrupting is > easier said than done with other libraries. > > The easiest approach is just to run H2 as a TCP server. Even if it's just > inside the same process, the TCP stack will > act as a cut-out. > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/h2-database. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
