frontend-monorepo icon indicating copy to clipboard operation
frontend-monorepo copied to clipboard

Investigate market depth sequence number errors

Open mattrussell36 opened this issue 2 years ago • 2 comments

The Chore

We have captured a lot of the following errors in Sentry which indicate that we are missing updates in the market depth subscription.

  • Sequence number from delta is lower or equal to last sequenceNumber
  • Sequence number gap between delta previousSequenceNumber and stored sequence number

These are manually captured in the market depth provider. This chore is to investigate and fix or creating issues for core to fix.

Sentry Issue

Tasks

  • [ ] Verify if this is a core or frontend issue
  • [ ] Fix if possible or create ticket for core

mattrussell36 avatar Nov 16 '22 06:11 mattrussell36

There are two issues logged in sentry which are connected to market depth subscription.

First issue is that "Sequence number from delta is lower or equal to last sequenceNumber" ie. previous update has sequenceNumber equal 100, in next update we got sequence number lower than 100 Sentry issue

Second issue is that there is "Sequence number gap between delta previousSequenceNumber and stored sequence number" ie previous update has sequenceNumber equal 100, in next update we got previousSequenceNumber not equal 100
Sentry issue

bglownia avatar Nov 28 '22 15:11 bglownia