1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-140 Add a mechanism to serialize transactions for a single table to prevent VSS clashes. Transactions for different tables will continue concurrently.

This commit is contained in:
David Hall
2016-07-28 09:19:21 -05:00
parent 5053716521
commit 020c0ed3f5
4 changed files with 341 additions and 21 deletions

View File

@ -150,7 +150,7 @@ namespace dmlpackageprocessor
{
int waitPeriod = 10;
int sleepTime = 100; // sleep 100 milliseconds between checks
int numTries = 10; // try 10 times per second
int numTries = 30; // try 30 times (3 seconds)
waitPeriod = Config::getWaitPeriod();
numTries = waitPeriod * 10;
struct timespec rm_ts;