-
Bug
-
Resolution: Done
-
Major
-
13.0.10.Final
-
None
I am opening this on behalf of a colleague who cannot reset his RedHat account.
Seems as if the "remove" is removing from the cache but not from the index. As a result the index grows to have too many keys.
Full stack trace:
ERROR InvocationContextInterceptor ISPN000136: Error executing command RemoveCommand on Cache 'sifs', writing keys [KeyOne] java.lang.IllegalStateException: Too many records for this key (short overflow) at org.infinispan.persistence.sifs.IndexNode.copyWith(IndexNode.java:653) at org.infinispan.persistence.sifs.IndexNode.setPosition(IndexNode.java:380) at org.infinispan.persistence.sifs.Index$Segment.accept(Index.java:372) at org.infinispan.persistence.sifs.Index$Segment.accept(Index.java:242) at io.reactivex.rxjava3.internal.subscribers.LambdaSubscriber.onNext(LambdaSubscriber.java:65) at io.reactivex.rxjava3.internal.operators.flowable.FlowableObserveOn$ObserveOnSubscriber.runAsync(FlowableObserveOn.java:404) at io.reactivex.rxjava3.internal.operators.flowable.FlowableObserveOn$BaseObserveOnSubscriber.run(FlowableObserveOn.java:178) at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker$BooleanRunnable.run(ExecutorScheduler.java:324) at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker.runEager(ExecutorScheduler.java:289) at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker.run(ExecutorScheduler.java:250) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Thread.java:833) Exception in thread "main" org.infinispan.commons.CacheException: java.lang.IllegalStateException: Too many records for this key (short overflow) at org.infinispan.interceptors.impl.InvocationContextInterceptor.rethrowException(InvocationContextInterceptor.java:135) at org.infinispan.interceptors.impl.InvocationContextInterceptor.lambda$new$0(InvocationContextInterceptor.java:61) at org.infinispan.interceptors.ExceptionSyncInvocationStage.andExceptionally(ExceptionSyncInvocationStage.java:40) at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:133) at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:89) at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:247) at org.infinispan.cache.impl.InvocationHelper.doInvoke(InvocationHelper.java:297) at org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:101) at org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:83) at org.infinispan.cache.impl.CacheImpl.remove(CacheImpl.java:686) at org.infinispan.cache.impl.CacheImpl.remove(CacheImpl.java:680) at org.infinispan.cache.impl.AbstractDelegatingCache.remove(AbstractDelegatingCache.java:454) at org.infinispan.cache.impl.EncoderCache.remove(EncoderCache.java:707) at InfinispanBugReproducer.test(InfinispanBugReproducer.java:12) at InfinispanBugReproducer.main(InfinispanBugReproducer.java:39) Caused by: java.lang.IllegalStateException: Too many records for this key (short overflow) at org.infinispan.persistence.sifs.IndexNode.copyWith(IndexNode.java:653) at org.infinispan.persistence.sifs.IndexNode.setPosition(IndexNode.java:380) at org.infinispan.persistence.sifs.Index$Segment.accept(Index.java:372) at org.infinispan.persistence.sifs.Index$Segment.accept(Index.java:242) at io.reactivex.rxjava3.internal.subscribers.LambdaSubscriber.onNext(LambdaSubscriber.java:65) at io.reactivex.rxjava3.internal.operators.flowable.FlowableObserveOn$ObserveOnSubscriber.runAsync(FlowableObserveOn.java:404) at io.reactivex.rxjava3.internal.operators.flowable.FlowableObserveOn$BaseObserveOnSubscriber.run(FlowableObserveOn.java:178) at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker$BooleanRunnable.run(ExecutorScheduler.java:324) at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker.runEager(ExecutorScheduler.java:289) at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker.run(ExecutorScheduler.java:250) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Thread.java:833)
- duplicates
-
ISPN-13547 SIFS Compaction error (short overflow)
- Resolved
- is related to
-
DBZ-6495 Exception using oracle connector with Infinispan embeded IllegalStateException: Too many records for this key (short overflow)
- Closed