cronos icon indicating copy to clipboard operation
cronos copied to clipboard

Problem: filter api missing events when internal websocket client reconnect

Open yihuang opened this issue 3 years ago • 2 comments

@mmsqe found that the reason for the mempool test failure is due to internal ws connection reconnect occasionally, when that happens, the API lose messages.

yihuang avatar Aug 23 '22 07:08 yihuang

since No way to detect data loss based on current desgin, not sure if we can deprecate websocket and switch to long poll on events endpoint with after cursor, starting 1st perf improve, need backport rest one by one

mmsqe avatar Aug 26 '22 01:08 mmsqe

since No way to detect data loss based on current desgin, not sure if we can deprecate websocket and switch to long poll on events endpoint with after cursor, starting 1st perf improve

yeah, that's the plan https://github.com/tendermint/tendermint/issues/9305

yihuang avatar Aug 26 '22 02:08 yihuang