writeChunk when try to add to cache is blocking, as cache might be full. This can happen,
- follower DN is very slow
- follower DN is down
Under this situation, close container and pipeline will be stuck for the ratis is its blocked.
As part of this, need write chunk being throttled, either,
- rejecting request
- OR going ahead without cache – Need handle parallel readChunk which can fail in this scenario (
HDDS-2542- handle this scenario with certain limitation)