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
fix: request memory corruption on fallback (#1322)
**Description**
Currently, there is subtle request memory corruption due to sjson
ReplaceInPlace usage.
sjson modifies the original buffer when ReplaceInPlace is set. This
causes request memory corruption during sjson.SetBytesOption calls to
replace string(eg: model overwrite). This issue is always consistently
reproducible in fallback mode. It happens in other cases as well but not
evident as original request is not reused.
---------
Signed-off-by: Johnu George <[email protected]>
Co-authored-by: Takeshi Yoneda <[email protected]>
base_ejection_time: 2s# Must be smaller than the require.Eventually's interval. Otherwise, the tests may pass without going through the fallback since the always-failing backend could be ejected by the time when require.Eventually retries due to the previous request IF the retry is not configured.
0 commit comments