Bug 883828 - BackupReceiver survives cache shutdown
Summary: BackupReceiver survives cache shutdown
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER12
: 6.1.0
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-05 12:15 UTC by Radim Vansa
Modified: 2013-10-07 00:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-2584 0 Major Resolved BackupReceiver survives cache shutdown 2013-02-25 14:21:16 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.