First of all, Thank you for the last issue about redimension failure.
I have some question about redistribute().
What is the role of Sync() during redistribute()?
redistribute() calls sync() after chunk is sent to any instance if totalBytesSent is bigger than totalBytesSynced + networkBufferLimit.
I think this means to call Sync() if chunk which doesn’t be synchronized is sent over size of networkbufferlimit.
If so, What is to synchronize?
And, I wonder why sync() and barrier() are needed.