Bug 883828

Summary: BackupReceiver survives cache shutdown
Product: [JBoss] JBoss Data Grid 6 Reporter: Radim Vansa <rvansa>
Component: InfinispanAssignee: Tristan Tarrant <ttarrant>
Status: VERIFIED --- QA Contact: Martin Gencur <mgencur>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: jdg-bugs
Target Milestone: ER12   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Radim Vansa 2012-12-05 12:15:02 UTC
When the cache manager is stopped together with all caches, the static field BackupReceiverRepositoryImpl.backupReceivers is not cleaned up. When another cache manager is started and we try to XS replicate into this node, the request reaches BackupReceiver with references to the old, stopped cache. This instance has TERMINATED ComponentRepository without TransactionTable and this results in NullPointerException in BackupCacheUpdater.replayModificationsInTransaction.

When the cache is stopped, it should remove all references to it from the BackupReceiverRepositoryImpl.backupReceivers.

Comment 1 Radim Vansa 2013-01-17 08:41:12 UTC
It appears the JIRA issue was accidentally created twice.