ISPN-4651 LevelDB crashes JVM when stop() is called concurrently with write()

https://issues.jboss.org/browse/ISPN-4651
There was no final point. It's up to Dan's preference
On Aug 19, 2014 5:21 PM, "Radim Vansa" <notifications@github.com> wrote:

> In
> persistence/leveldb/src/main/java/org/infinispan/persistence/leveldb/LevelDBStore.java:
>
> > @@ -49,13 +50,14 @@
> >     private DB db;
> >     private DB expiredDb;
> >     private InitializationContext ctx;
> > -
> > +   private Semaphore semaphore;
>
> @tristantarrant <https://github.com/tristantarrant> Sorry, I've missed
> the final point: hide the semaphore use in methods or not?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/infinispan/infinispan/pull/2807/files#r16421389>.
>