Uploaded image for project: 'JBoss Data Grid'
  1. JBoss Data Grid
  2. JDG-2043

Lock timeout when registering a queried class to the registry cache

    XMLWordPrintable

    Details

    • Target Release:
    • Fix Build:
      CR1
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Possible workaround is to first do a handful of sequential simple puts, so that the internal cache is primed in all nodes. Then throw the heavy load that the nodes will not compete to write in that cache...

      Show
      Possible workaround is to first do a handful of sequential simple puts, so that the internal cache is primed in all nodes. Then throw the heavy load that the nodes will not compete to write in that cache...

      Description

      If indexing is enabled and it's adding classes to some internal cache the first time and the cache is populated with different clients it is possible to have locks and timeouts

      at org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1111)
      at org.infinispan.cache.impl.DecoratedCache.put(DecoratedCache.java:418)
      at org.infinispan.query.backend.QueryKnownClasses.lambda$put$1(QueryKnownClasses.java:177)
      at org.infinispan.query.backend.QueryKnownClasses.runCommand(QueryKnownClasses.java:238)
      at org.infinispan.query.backend.QueryKnownClasses.put(QueryKnownClasses.java:177)
      at org.infinispan.query.backend.SearchFactoryHandler.handleOnDemandRegistration(SearchFactoryHandler.java:73)
      at org.infinispan.query.backend.SearchFactoryHandler.updateKnownTypesIfNeeded(SearchFactoryHandler.java:52)
      at org.infinispan.query.backend.QueryInterceptor.updateKnownTypesIfNeeded(QueryInterceptor.java:259)
      at org.infinispan.query.backend.QueryInterceptor.processPutMapCommand(QueryInterceptor.java:424)
      at org.infinispan.query.backend.QueryInterceptor.lambda$visitPutMapCommand$3(QueryInterceptor.java:175)
      at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenAccept(BaseAsyncInterceptor.java:108)
      at org.infinispan.query.backend.QueryInterceptor.visitPutMapCommand(QueryInterceptor.java:173)
      at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:80)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  gustavonalle Gustavo Fernandes
                  Reporter:
                  wdfink Wolf-Dieter Fink
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: