Details
-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
10.11.9
-
None
-
Unknown
-
Description
It looks a bit the same than XWIKI-11688
With XWiki 10.11.9 I encounter the very same issue while editing some XWiki object or just editing a public page. The user mentioned in the locked timeout is not the one who try to edit, even it's just a user of the platform who don't have right to edit the object
This cause big lags in production.
Full stacktrace in attachement
2021-01-20 11:19:33,167 [https://mywebsite.eu/bin/view/MySpace/SomeWikiPage/] ERROR i.InvocationContextInterceptor - ISPN000136: Error executing command RemoveCommand, writing keys [xwiki:XWiki.totouser] org.infinispan.util.concurrent.TimeoutException: ISPN000299: Unable to acquire lock after 10 seconds for key xwiki:XWiki.totouser and requestor CommandUUID{address=Local Address, id=4203168}. Lock is held by CommandUUID{address=Local Address, id=4203129} at org.infinispan.util.concurrent.locks.impl.DefaultLockManager$KeyAwareExtendedLockPromise.lock(DefaultLockManager.java:239) at org.infinispan.interceptors.locking.AbstractLockingInterceptor.lockAndRecord(AbstractLockingInterceptor.java:193) at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitNonTxDataWriteCommand(AbstractLockingInterceptor.java:98) at org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.visitDataWriteCommand(NonTransactionalLockingInterceptor.java:41) at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitRemoveCommand(AbstractLockingInterceptor.java:75) at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:67) at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99) at org.infinispan.interceptors.CacheMgmtInterceptor.visitRemoveCommand(CacheMgmtInterceptor.java:209) at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:67) at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99) at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:110) at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:79) at org.infinispan.commands.AbstractVisitor.visitRemoveCommand(AbstractVisitor.java:48) at org.infinispan.commands.write.RemoveCommand.acceptVisitor(RemoveCommand.java:67) at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:335) at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1685) at org.infinispan.cache.impl.CacheImpl.removeInternal(CacheImpl.java:560) at org.infinispan.cache.impl.CacheImpl.remove(CacheImpl.java:552) at org.infinispan.cache.impl.CacheImpl.remove(CacheImpl.java:546) at
Caused by: org.xwiki.security.authorization.cache.ParentEntryEvictedException: null
at org.xwiki.security.authorization.cache.internal.DefaultSecurityCache$SecurityCacheEntry.addParentGroups(DefaultSecurityCache.java:307)
at org.xwiki.security.authorization.cache.internal.DefaultSecurityCache$SecurityCacheEntry.<init>(DefaultSecurityCache.java:280)
at org.xwiki.security.authorization.cache.internal.DefaultSecurityCache$SecurityCacheEntry.<init>(DefaultSecurityCache.java:242)
at org.xwiki.security.authorization.cache.internal.DefaultSecurityCache.newSecurityCacheEntry(DefaultSecurityCache.java:715)
at org.xwiki.security.authorization.cache.internal.DefaultSecurityCache.add(DefaultSecurityCache.java:691)
at org.xwiki.security.authorization.cache.internal.DefaultSecurityCache.add(DefaultSecurityCache.java:660)
at org.xwiki.security.authorization.cache.internal.DefaultSecurityCacheLoader.loadUserEntry(DefaultSecurityCacheLoader.java:422)
at org.xwiki.security.authorization.cache.internal.DefaultSecurityCacheLoader.loadUserEntry(DefaultSecurityCacheLoader.java:321)
at org.xwiki.security.authorization.cache.internal.DefaultSecurityCacheLoader.loadAccessEntries(DefaultSecurityCacheLoader.java:224)
at org.xwiki.security.authorization.cache.internal.DefaultSecurityCacheLoader.loadRequiredEntries(DefaultSecurityCacheLoader.java:196)
at org.xwiki.security.authorization.cache.internal.DefaultSecurityCacheLoader.load(DefaultSecurityCacheLoader.java:149)
... 16 common frames omitted