Author: manik.surtani(a)jboss.com
Date: 2008-04-23 09:48:45 -0400 (Wed, 23 Apr 2008)
New Revision: 5649
Modified:
core/trunk/src/main/java/org/jboss/cache/commands/remote/DataGravitationCleanupCommand.java
Log:
Cleanup calls should be local
Modified:
core/trunk/src/main/java/org/jboss/cache/commands/remote/DataGravitationCleanupCommand.java
===================================================================
---
core/trunk/src/main/java/org/jboss/cache/commands/remote/DataGravitationCleanupCommand.java 2008-04-23
13:48:36 UTC (rev 5648)
+++
core/trunk/src/main/java/org/jboss/cache/commands/remote/DataGravitationCleanupCommand.java 2008-04-23
13:48:45 UTC (rev 5649)
@@ -131,6 +131,7 @@
RemoveNodeCommand removeBackupCommand = commandsFactory.buildRemoveNodeCommand(gtx,
toRemove, true, true, false);
InvocationContext ctx = invoker.getInvocationContext();
+ ctx.getOptionOverrides().setCacheModeLocal(true);
result = invoker.invoke(ctx, removeBackupCommand);
return result != null && (Boolean) result;
}
Show replies by date