m.out.println(">>> S1 READ 2");
> > > sem2.acquire();
> > > try {
> > > System.out.println(">>> S1 ACQUIRED 2");
> > > } finally {
> > > sem2.release();
> > > }
> > > }).start();
> > >
> > > try {
> > > TimeUnit.SECONDS.sleep(2);
> > > } catch (InterruptedException e) {
> > > e.printStackTrace();
> > > }
> > >
> > > System.out.println(">>> I1 CLOSING");
> > > i1.close();
> > > System.out.println(">>> I1 CLOSED");
> > > }
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://apache-ignite-users.70518.x6.nabble.com/Semaphore-waiting-for-permit-even-if-node-is-shut-down-tp3232.html
> > > Sent from the Apache Ignite Users mailing list archive at Nabble.com.
> > >
> >
>
ED 2");
> > } finally {
> > sem2.release();
> > }
> > }).start();
> >
> > try {
> > TimeUnit.SECONDS.sleep(2);
> > } catch (InterruptedException e) {
> > e.printStackTrace();
> > }
> >
> > System.out.println(">>> I1 CLOSING");
> > i1.close();
> > System.out.println(">>> I1 CLOSED");
> > }
> >
> >
> >
> > --
> > View this message in context:
> >
> http://apache-ignite-users.70518.x6.nabble.com/Semaphore-waiting-for-permit-even-if-node-is-shut-down-tp3232.html
> > Sent from the Apache Ignite Users mailing list archive at Nabble.com.
> >
>
>>> S1 ACQUIRED 2");
> } finally {
> sem2.release();
> }
> }).start();
>
> try {
> TimeUnit.SECONDS.sleep(2);
> } catch (InterruptedException e) {
> e.printStackTrace();
>