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

Lock timeout when registering a queried class to the registry cache

    XMLWordPrintable

Details

    • CR1
    • Workaround Exists
    • 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)

      Attachments

        Issue Links

          Activity

            People

              gfernand@redhat.com Gustavo Fernandes
              rhn-support-wfink Wolf-Dieter Fink
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: