Hi, Igniters.
I've found other deactivation issue. Should we consider this behavior as
a bug?
IgniteEx ignite = startGrids(3);
IgniteAtomicLong atomicLong = ignite.atomicLong("atomic", 10L,
true);
IgniteLock lock = ignite.reentrantLock("lock", true, false, true);
lock.lock();
assertEquals(10L, atomicLong.get());
assertTrue(lock.isLocked());
lock.unlock();
ignite.active(false);
ignite.active(true);
// Failed: java.lang.NullPointerException at
GridCacheLockImpl.java:496
assertFalse(lock.isLocked());
// Failrd: org.apache.ignite.IgniteException: Failed to find
atomic long: testAtomic
assertEquals(10L, atomicLong.get());