]
Gustavo Fernandes reassigned ISPN-9068:
---------------------------------------
Assignee: Gustavo Fernandes
Indexer throw exception in cluster mode
---------------------------------------
Key: ISPN-9068
URL:
https://issues.jboss.org/browse/ISPN-9068
Project: Infinispan
Issue Type: Bug
Affects Versions: 9.2.1.Final
Reporter: Sergey Chernolyas
Assignee: Gustavo Fernandes
Priority: Critical
Attachments: re_clustered_rocksdb.xml, re_entities.proto
I have a cluster that contains two hosts.
Also one cache have a indexing.
Then I try add entity (see entity News in attached proto) to the cache, I take
exception:
__________
2018-04-11 21:17:54,695 ERROR
[org.infinispan.interceptors.impl.InvocationContextInterceptor] (jgroups-17,server2)
ISPN000136: Error executing command PutKeyValueCommand, writing keys
[WrappedByteArray{bytes=[B0x4A24303030303030..[38], hashCode=61362266}]:
org.hibernate.search.exception.SearchException: Unable to perform work. Entity Class is
not @Indexed nor hosts @ContainedIn: org.infinispan.query.backend.QueryInterceptor$1
at
org.hibernate.search.backend.impl.PerTransactionWorker.performWork(PerTransactionWorker.java:63)
at
org.infinispan.query.backend.QueryInterceptor.performSearchWorks(QueryInterceptor.java:383)
at
org.infinispan.query.backend.QueryInterceptor.removeFromIndexes(QueryInterceptor.java:337)
at
org.infinispan.query.backend.QueryInterceptor.processChange(QueryInterceptor.java:448)
at
org.infinispan.query.backend.QueryInterceptor.lambda$handleDataWriteCommand$0(QueryInterceptor.java:184)
at
org.infinispan.interceptors.InvocationSuccessAction.apply(InvocationSuccessAction.java:19)
at
org.infinispan.interceptors.impl.QueueAsyncInvocationStage.invokeQueuedHandlers(QueueAsyncInvocationStage.java:118)
at
org.infinispan.interceptors.impl.QueueAsyncInvocationStage.accept(QueueAsyncInvocationStage.java:81)
at
org.infinispan.interceptors.impl.QueueAsyncInvocationStage.accept(QueueAsyncInvocationStage.java:30)
at
java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760)
at
java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736)
at
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
at
org.infinispan.remoting.transport.AbstractRequest.complete(AbstractRequest.java:66)
at
org.infinispan.remoting.transport.impl.MultiTargetRequest.onResponse(MultiTargetRequest.java:102)
at
org.infinispan.remoting.transport.impl.RequestRepository.addResponse(RequestRepository.java:53)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.processResponse(JGroupsTransport.java:1304)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.processMessage(JGroupsTransport.java:1207)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.access$200(JGroupsTransport.java:123)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport$ChannelCallbacks.receive(JGroupsTransport.java:1342)
at org.jgroups.JChannel.up(JChannel.java:819)
at org.jgroups.fork.ForkProtocolStack.up(ForkProtocolStack.java:134)
at org.jgroups.stack.Protocol.up(Protocol.java:340)
at org.jgroups.protocols.FORK.up(FORK.java:134)
at org.jgroups.protocols.FRAG3.up(FRAG3.java:171)
at org.jgroups.protocols.FlowControl.up(FlowControl.java:343)
at org.jgroups.protocols.FlowControl.up(FlowControl.java:343)
at org.jgroups.protocols.pbcast.GMS.up(GMS.java:864)
at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:240)
at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1002)
at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:728)
at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:383)
at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:600)
at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:119)
at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:199)
at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:252)
at org.jgroups.protocols.MERGE3.up(MERGE3.java:276)
at org.jgroups.protocols.Discovery.up(Discovery.java:267)
at org.jgroups.protocols.TP.passMessageUp(TP.java:1248)
at
org.jgroups.util.SubmitToThreadPool$SingleMessageHandler.run(SubmitToThreadPool.java:87)
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)
_____