This closes #239 - scaledown check on the journal
This commit is contained in:
commit
0f724aea53
|
@ -339,7 +339,7 @@ public final class SharedNothingBackupActivation extends Activation
|
|||
@Override
|
||||
public JournalLoader createJournalLoader(PostOffice postOffice, PagingManager pagingManager, StorageManager storageManager, QueueFactory queueFactory, NodeManager nodeManager, ManagementService managementService, GroupingHandler groupingHandler, Configuration configuration, ActiveMQServer parentServer) throws ActiveMQException
|
||||
{
|
||||
if (replicaPolicy.getScaleDownPolicy() != null)
|
||||
if (replicaPolicy.getScaleDownPolicy() != null && replicaPolicy.getScaleDownPolicy().isEnabled())
|
||||
{
|
||||
return new BackupRecoveryJournalLoader(postOffice,
|
||||
pagingManager,
|
||||
|
|
|
@ -194,7 +194,7 @@ public final class SharedStoreBackupActivation extends Activation
|
|||
@Override
|
||||
public JournalLoader createJournalLoader(PostOffice postOffice, PagingManager pagingManager, StorageManager storageManager, QueueFactory queueFactory, NodeManager nodeManager, ManagementService managementService, GroupingHandler groupingHandler, Configuration configuration, ActiveMQServer parentServer) throws ActiveMQException
|
||||
{
|
||||
if (sharedStoreSlavePolicy.getScaleDownPolicy() != null)
|
||||
if (sharedStoreSlavePolicy.getScaleDownPolicy() != null && sharedStoreSlavePolicy.getScaleDownPolicy().isEnabled())
|
||||
{
|
||||
return new BackupRecoveryJournalLoader(postOffice,
|
||||
pagingManager,
|
||||
|
|
Loading…
Reference in New Issue