Open dsukhoroslov opened 6 years ago
another exception is:
2018-06-18 13:53:14.418 [hz.hzInstance-24.cached.thread-15] ERROR com.bagri.server.hazelcast.task.schema.SchemaInitiator - initSchema.error; Map xdm-document is still loading data from external store
com.hazelcast.spi.exception.RetryableHazelcastException: Map xdm-document is still loading data from external store
at com.hazelcast.map.impl.recordstore.DefaultRecordStore.checkIfLoaded(DefaultRecordStore.java:1106)
at com.hazelcast.map.impl.operation.MapSizeOperation.run(MapSizeOperation.java:38)
at com.hazelcast.spi.Operation.call(Operation.java:148)
at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.call(OperationRunnerImpl.java:202)
at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:191)
at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:120)
at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.run(OperationThread.java:100)
at ------ submitted from ------.(Unknown Source)
at com.hazelcast.spi.impl.operationservice.impl.InvocationFuture.resolve(InvocationFuture.java:127)
at com.hazelcast.spi.impl.operationservice.impl.InvocationFuture.resolveAndThrowIfException(InvocationFuture.java:79)
at com.hazelcast.spi.impl.AbstractInvocationFuture.get(AbstractInvocationFuture.java:162)
at com.hazelcast.spi.impl.operationservice.impl.InvokeOnPartitions.retryFailedPartitions(InvokeOnPartitions.java:144)
at com.hazelcast.spi.impl.operationservice.impl.InvokeOnPartitions.invoke(InvokeOnPartitions.java:74)
at com.hazelcast.spi.impl.operationservice.impl.OperationServiceImpl.invokeOnAllPartitions(OperationServiceImpl.java:377)
at com.hazelcast.map.impl.proxy.MapProxySupport.size(MapProxySupport.java:692)
at com.hazelcast.map.impl.proxy.MapProxyImpl.size(MapProxyImpl.java:105)
at com.bagri.server.hazelcast.store.MemoryMappedStore.loadEntries(MemoryMappedStore.java:208)
at com.bagri.server.hazelcast.store.DocumentMemoryStore.init(DocumentMemoryStore.java:87)
at com.bagri.server.hazelcast.impl.PopulationManagementImpl.activateDocStore(PopulationManagementImpl.java:212)
at com.bagri.server.hazelcast.impl.PopulationManagementImpl.checkPopulation(PopulationManagementImpl.java:149)
at com.bagri.server.hazelcast.task.schema.SchemaInitiator.call(SchemaInitiator.java:77)
at com.bagri.server.hazelcast.task.schema.SchemaInitiator.call(SchemaInitiator.java:32)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.hazelcast.executor.impl.DistributedExecutorService$CallableProcessor.run(DistributedExecutorService.java:285)
at com.hazelcast.util.executor.CachedExecutorServiceDelegate$Worker.run(CachedExecutorServiceDelegate.java:227)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
at com.hazelcast.util.executor.HazelcastManagedThread.executeRun(HazelcastManagedThread.java:64)
at com.hazelcast.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:80)
shouldn't check cache size as it is too expensive: