OpenSearch/plugins/transport-nio
Tim Brooks 790f8102e9
Modify `BigArrays` to take name of circuit breaker (#36461)
This commit modifies BigArrays to take a circuit breaker name and
the circuit breaking service. The default instance of BigArrays that
is passed around everywhere always uses the request breaker. At the
network level, we want to be using the inflight request breaker. So this
change will allow that.

Additionally, as this change moves away from a single instance of
BigArrays, the class is modified to not be a Releasable anymore.
Releasing big arrays was always dispatching to the PageCacheRecycler,
so this change makes the PageCacheRecycler the class that needs to be
managed and torn-down.

Finally, this commit closes #31435 be making the serialization of
transport messages use the inflight request breaker. With this change,
we no longer push the global BigArrays instnace to the network level.
2018-12-11 11:55:41 -07:00
..
licenses Upgrade Netty 4.3.32.Final (#36102) 2018-11-30 09:02:10 -07:00
src Modify `BigArrays` to take name of circuit breaker (#36461) 2018-12-11 11:55:41 -07:00
build.gradle Upgrade Netty 4.3.32.Final (#36102) 2018-11-30 09:02:10 -07:00