You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prioritized shards should be blocked until they are free or network timeout is reached. Do not break HRW rules just cause some shard is less loaded.
Current Behavior
Every shard has a number of parallel write operations (ants.Pool), if this number is reached, the next shard is tried, object is placed to a "wrong" (in HRW terms) shard.
Possible Solution
Make every pool in every shard blocking.
Context
On the other hand, this (WithNonblocking) looks not good to me and can be changed. It may be the reason of objects-on-wrong-shards effects and also may lead to an error when all shards are busy (i would prefer to wait for them and fail with deadline). @roman-khimov, @cthulhu-rider
If every shard's pool is overloaded with routines, choose the best one and try
to PUT an object to it 30 seconds. Closes#2871.
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
If every shard's pool is overloaded with routines, choose the best one and try
to PUT an object to it 30 seconds. Closes#2871.
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
If every shard's pool is overloaded with routines, choose the best one and try
to PUT an object to it 30 seconds. Closes#2871.
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
If every shard's pool is overloaded with routines, choose the best one and try
to PUT an object to it 30 seconds. Closes#2871.
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Expected Behavior
Prioritized shards should be blocked until they are free or network timeout is reached. Do not break HRW rules just cause some shard is less loaded.
Current Behavior
Every shard has a number of parallel write operations (ants.Pool), if this number is reached, the next shard is tried, object is placed to a "wrong" (in HRW terms) shard.
Possible Solution
Make every pool in every shard blocking.
Context
On the other hand, this (
WithNonblocking
) looks not good to me and can be changed. It may be the reason of objects-on-wrong-shards effects and also may lead to an error when all shards are busy (i would prefer to wait for them and fail with deadline). @roman-khimov, @cthulhu-riderOriginally posted by @carpawell in #2868 (comment)
The text was updated successfully, but these errors were encountered: