There was a one-second "sleep" before every call (but the first) of start_transfer_thread().
I moved the "sleep" into the thread itself.
The data node doesn't see the difference, but this can have a very noticeable effect on performance if there are active transfers from many data nodes in parallel.
There was a one-second "sleep" before every call (but the first) of start_transfer_thread(). I moved the "sleep" into the thread itself. The data node doesn't see the difference, but this can have a very noticeable effect on performance if there are active transfers from many data nodes in parallel.