[IMPROVEMENT] SPDK client should functions after encountering decoding error #6191
Closed
Description
Is your improvement request related to a feature? Please describe (👍 if you like this request)
When issue #6190 is triggered, all following cmd responses will be failed by the invalid json error. This is probably caused by the cache of the reused decoder of the client (but we cannot confirm this).
Describe the solution you'd like
- Use a brand new decoder for each cmd call
- In case using the separate decoder is not able to resilient this issue, the SPDK engine can re-init the client when encountering the error.
Additional context
See issue #6190 for details. This is just a workaround.
Metadata
Labels
Type
Projects
Status
Closed