Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
object/put: fix concurrent PUT data corruption
If ants pool is busy and cannot take task, early `return` without `wg.Wait()` leads to `iterateNodesForObject`'s `return` and all the buffers for binary replication from now may be reused while are still in use by the other routines inside the pool. Wait for WG and try other nodes more instead, it also can increase the rate of successful PUTs at high loads. Closes #2978. Signed-off-by: Pavel Karpy <[email protected]>
- Loading branch information