Hi,
I was able to reproduce your use-case.
This line causes the issues you describe:
cacheConfig.setIndexedTypes(EmployeeId.class, Employee.class);
Comment it out, and everything works.
If you need Indexes, define them as need be, but remove these lines:
employeeCache.put(key2, emp1); // CRASH!!! CorruptedTreeException:
B+Tree is corrupted
employeeCache.put(key2.clone(), emp1); // CRASH!!!
Use other means to compose key2.
I will look into why this failure occurs, and raise appropriate tickets
if necessary.
Thanks, Alex
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/