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

MCOL-353 Fix lag at end of cpimport

The end of a cpimport adds a delay which is 1 second multiplied by the
number of PMs. This in-turn is multipled up with the number of
connections/threads causing a long delay when you have several PMs.

The delay is not required as we already have a 20ms delay and we will
re-enter the recv() if there is no data and we are still connected.
This commit is contained in:
Andrew Hutchings
2017-01-17 10:25:59 +00:00
parent c725ead5d4
commit 82c383ac20

View File

@ -994,7 +994,6 @@ void WESDHandler::onNakResponse(int PmId) {
void WESDHandler::onEodResponse(int PmId) {
if (getDebugLvl())
cout << "Received a EOD from " << PmId << endl;
fWeSplClients[PmId]->setRdSecTo(fPmCount); //Set Rd T/O to 1 sec
if (fRef.fCmdArgs.getMode() == 0)
{