Skip to content

[IMPROVEMENT] SPDK client should functions after encountering decoding error #6191

Closed
@shuo-wu

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

area/resilienceSystem or volume resiliencearea/v2-data-enginev2 data engine (SPDK)kind/improvementRequest for improvement of existing functionpriority/0Must be implement or fixed in this release (managed by PO)

Type

No type

Projects

  • Status

    Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions