1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-27 21:01:50 +03:00

Neutered all of the excessive snapshotting that was going on.

This commit is contained in:
Patrick LeBlanc
2019-04-10 17:53:05 -05:00
parent dfc29fa833
commit 46163c129a
2 changed files with 6 additions and 2 deletions

View File

@ -3360,6 +3360,8 @@ vector<InlineLBIDRange> 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;

View File

@ -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()