Avoiding an additional reduction in CentralLB for message logging.
authorEsteban Meneses <emenese2@illinois.edu>
Mon, 2 Apr 2012 17:03:12 +0000 (12:03 -0500)
committerEsteban Meneses <emenese2@illinois.edu>
Mon, 2 Apr 2012 17:03:12 +0000 (12:03 -0500)
src/ck-ldb/CentralLB.C

index a7c96b706f490c282b3bba4e3badf98f8fd77fdf..22d856c778d3665102d1f9b57ceb795e7caa67a7 100644 (file)
@@ -764,9 +764,13 @@ extern int restarted;
 void CentralLB::ReceiveMigration(LBMigrateMsg *m)
 {
   storedMigrateMsg = m;
+#if (defined(_FAULT_MLOG_) || defined(_FAULT_CAUSAL_))
+       ProcessReceiveMigration((CkReductionMsg*)NULL);
+#else
   CkCallback cb(CkIndex_CentralLB::ProcessReceiveMigration((CkReductionMsg*)NULL),
                   thisProxy);
   contribute(0, NULL, CkReduction::max_int, cb);
+#endif
 }
 
 void CentralLB::ProcessReceiveMigration(CkReductionMsg  *msg)