Bug 1223395
| Summary: | Operation [Registering Deployed Cache Store service...] happens too late on slower machines | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Data Grid 6 | Reporter: | Tomas Sykora <tsykora> | ||||||
| Component: | Server | Assignee: | Tristan Tarrant <ttarrant> | ||||||
| Status: | CLOSED UPSTREAM | QA Contact: | Martin Gencur <mgencur> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 6.5.0 | CC: | afield, chuffman, dereed, jdg-bugs, pzapataf | ||||||
| Target Milestone: | ER1 | ||||||||
| Target Release: | 6.5.1 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: |
While using a deployed Custom Cache Store for a particular cache, there was a potential race condition in the JBoss Data Grid server. It was possible that the cache start-up would occur before the Custom Cache Store library registration was successfully finished, resulting in the cache being unable to find the requested resources during the start-up process and failing to start.
This is not longer an issue with JDG 6.5.1
|
Story Points: | --- | ||||||
| Clone Of: | |||||||||
| : | 1254497 (view as bug list) | Environment: | |||||||
| Last Closed: | 2025-02-10 03:47:38 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 1254497 | ||||||||
| Attachments: |
|
||||||||
Created attachment 1027711 [details]
registeringCCSdeploymentPhaseOnSlowMachineNotOK
14:37:24,921 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.infinispan.local.access: org.jboss.msc.service.StartException in service jboss.infinispan.local.
access: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1936) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_65]
14:37:25,907 INFO [org.jboss.as.server] (ServerService Thread Pool -- 17) JBAS015859: Deployed "infinispan-cache-store-access-1.0.0-SNAPSHOT.jar" (runtime-name : "infinispan-cache-store-access-1.0.0-SNAPSHOT.j
ar")
14:37:25,917 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
Added to JDG 6.5.0 CR1 Added doc text. I was able to VERIFY this issue using the same environment where it has been spot earlier. Problems does not occur again with JDG 6.5.1.ER1 version. Thanks Sebastian for the fix! Sebastian Łaskawiec <slaskawi> updated the status of jira ISPN-5595 to Resolved This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |
Created attachment 1027710 [details] cssDeployedOKonFastMachine.txt This issue can't be spot on our local machines that are parforming fast enough. Usually, server is started within 4 seconds and custom cache store deployment happens fast enough so it is DONE before cache starts. However, on slower machines, it turned out that caches "want to" be started before this opearation finishes: 07:19:03,721 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) JBAS010287: Registering Deployed Cache Store service for store 'org.infinispan.CustomExternalStore' Then we can see org.infinispan.commons.CacheException: Unable to start cache loaders because there is no cache store registered YET to be picked up by cache. It looks like we need to make sure that caches are started really AFTER all necessary cache store deployment processes happened and are OK. Please see 2 attached files for exact difference between starup on fast and slower machine. Find for the occurence of: [INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) JBAS010287: Registering Deployed Cache Store service for store 'org.infinispan.CustomExternalStore'] to see the difference.