From e284b15276f8d1020655891caf7469e8d69a2034 Mon Sep 17 00:00:00 2001 From: jihoonl Date: Fri, 2 Jul 2010 02:30:30 +0000 Subject: [PATCH] now it is working when only one machine left --- Robust/src/Runtime/DSTM/interface_recovery/trans.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Robust/src/Runtime/DSTM/interface_recovery/trans.c b/Robust/src/Runtime/DSTM/interface_recovery/trans.c index 042e9ffa..1055fa8f 100644 --- a/Robust/src/Runtime/DSTM/interface_recovery/trans.c +++ b/Robust/src/Runtime/DSTM/interface_recovery/trans.c @@ -1032,6 +1032,12 @@ plistnode_t *createPiles() { int makedirty = 0; unsigned int mid; + if(numLiveHostsInSystem == 1) { + pile = pInsert(pile, headeraddr, myIpAddr, c_numelements); + curr = curr->next; + continue; + } + // if the obj is dirty or new if(STATUS(headeraddr) & DIRTY || STATUS(headeraddr) & NEW) { // set flag for backup machine -- 2.34.1