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
The Throwable failure member of ShardSearchFailure is taken on construction, but only used to generate a detailed error message to place in the reason member. It is never serialized/deserialized. But there is a failure() function that returns the Throwable. In the case of a transported failure, it is always null.
I think we should just remove failure (it is only set in one of the many constructors), and in the two tests that use it, use reason instead.
The text was updated successfully, but these errors were encountered:
The
Throwable failure
member ofShardSearchFailure
is taken on construction, but only used to generate a detailed error message to place in thereason
member. It is never serialized/deserialized. But there is afailure()
function that returns theThrowable
. In the case of a transported failure, it is alwaysnull
.I think we should just remove
failure
(it is only set in one of the many constructors), and in the two tests that use it, usereason
instead.The text was updated successfully, but these errors were encountered: