Use case
Sometimes it may consume all the IO bandwidth, and right now there is no way to stop it, except for restarting the server.
Describe the solution you'd like
Actually it should be pretty easy to implement, the only thing that should be added is the is_cancelled/cancellation_hook for copyData
Native copy could be ignored.
And also QueryStatus::isKilled should be checked before each copy as well.
Cc: @vitlibar
Use case
Sometimes it may consume all the IO bandwidth, and right now there is no way to stop it, except for restarting the server.
Describe the solution you'd like
Actually it should be pretty easy to implement, the only thing that should be added is the
is_cancelled/cancellation_hookforcopyDataNative copy could be ignored.
And also
QueryStatus::isKilledshould be checked before each copy as well.Cc: @vitlibar