Merge pull request #23197 from nikitamikhaylov/read-task-response

Fix logical error in stress tests
This commit is contained in:
Nikita Mikhaylov 2021-04-20 16:09:25 +03:00 committed by GitHub
commit 08839bc203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -996,8 +996,6 @@ bool TCPHandler::receivePacket()
switch (packet_type)
{
case Protocol::Client::ReadTaskResponse:
throw Exception("ReadTaskResponse must be received only after requesting in callback", ErrorCodes::LOGICAL_ERROR);
case Protocol::Client::IgnoredPartUUIDs:
/// Part uuids packet if any comes before query.
receiveIgnoredPartUUIDs();