diff --git a/versioning/BRM/dbrm.cpp b/versioning/BRM/dbrm.cpp index 984c4f9de..92b3f086d 100644 --- a/versioning/BRM/dbrm.cpp +++ b/versioning/BRM/dbrm.cpp @@ -3360,6 +3360,8 @@ vector DBRM::getEMFreeListEntries() throw() int DBRM::takeSnapshot() throw () { + return 0; // don't know why, but we're calling this all the time. Need to take most/all of those calls out, it's very wasteful. + ByteStream command, response; uint8_t err; diff --git a/versioning/BRM/slavecomm.cpp b/versioning/BRM/slavecomm.cpp index 24f84976e..1f05beae4 100644 --- a/versioning/BRM/slavecomm.cpp +++ b/versioning/BRM/slavecomm.cpp @@ -1929,7 +1929,8 @@ void SlaveComm::do_vbRollback2(ByteStream& msg) if (!standalone) master.write(reply); - takeSnapshot = true; + //takeSnapshot = true; + doSaveDelta = true; } void SlaveComm::do_vbCommit(ByteStream& msg) @@ -1961,7 +1962,8 @@ void SlaveComm::do_vbCommit(ByteStream& msg) if (!standalone) master.write(reply); - takeSnapshot = true; + //takeSnapshot = true; + doSaveDelta = true; } void SlaveComm::do_undo()