Re: Failed to execute query because cache partition has been lostParts

2022-02-01 Thread Surinder Mehra
n. >>> > 10. I checked the cache directory under node1, it didn't have >>> part0.bin ever. files start from part1 and so on. >>> > 11. From the exception, it looks like it is trying to read non >>> existent file >>> > 12

Re: Failed to execute query because cache partition has been lostParts

2022-01-31 Thread Surinder Mehra
g consistent Id for each node, still same exception. >> > >> > >> > Another observation : When backup is enabled, shouldn't the backup node >> serve the query. Why it throws same below exception when node1(primary) is >> down >> >

Re: Failed to execute query because cache partition has been lostParts

2022-01-31 Thread Stephen Darlington
> > Another observation : When backup is enabled, shouldn't the backup node > > serve the query. Why it throws same below exception when node1(primary) is > > down > > > > This exception is only thrown if data containing node goes down > > > > Caused by: class > > org.

Re: Failed to execute query because cache partition has been lostParts

2022-01-31 Thread Surinder Mehra
e3, kill node 2. query gets below error. Caused by: class org.apache.ignite.internal.processors.cache.CacheInvalidStateException: Failed to execute query because cache partition has been lostParts [cacheName=deptCache, part=513] Base line log : [17:40:44] Topology snapshot [ver=11, locNode=340bad33, servers=2, clients=1, st

Re: Failed to execute query because cache partition has been lostParts

2022-01-31 Thread Surinder Mehra
ent > file > > 12. Tried setting consistent Id for each node, still same exception. > > > > > > Another observation : When backup is enabled, shouldn't the backup node > serve the query. Why it throws same below exception when node1(primary) is > down > > &

Re: Failed to execute query because cache partition has been lostParts

2022-01-31 Thread Stephen Darlington
the query. Why it throws same below exception when node1(primary) is down > > This exception is only thrown if data containing node goes down > > Caused by: class > org.apache.ignite.internal.processors.cache.CacheInvalidStateException: > Failed to execute query because cache

Failed to execute query because cache partition has been lostParts

2022-01-31 Thread Surinder Mehra
) is down This exception is only thrown if data containing node goes down Caused by: class org.apache.ignite.internal.processors.cache.CacheInvalidStateException: Failed to execute query because cache partition has been lostParts [cacheName=deptCache, part=0] Node2{ DataStorageConfiguration s