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
When it fails to parse a request, the error is wrapped in an dummy handler which is returned from the function with a fake context and supposed to be executed inside read pool.
When it fails to parse a request, the error is wrapped in an dummy handler which is returned from the function with a fake context and supposed to be executed inside read pool.
tikv/src/coprocessor/endpoint.rs
Lines 196 to 211 in e53a8c2
However endpoint will continue to get a snapshot first using the fake context, which will always fail as it's an invalid context.
tikv/src/coprocessor/endpoint.rs
Lines 344 to 357 in e53a8c2
So a strange error from raftstore is returned instead of the actual error which is the parsing error in the first place.
The bug is introduced in #3515, and affects v2.1.x and v3.0.x, needs to be fixed soon.
@disksing @breeswish PTAL
The text was updated successfully, but these errors were encountered: