FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

"Invalid incoming sequence number" errors in telemetry

Open vladsud opened this issue 6 years ago • 4 comments

packages\runtime\consensus-register-collection\src\consensusRegisterCollection.ts

    assert(
        data.versions.length === 0 ||
        versionUpdate.sequenceNumber > data.versions[data.versions.length - 1].sequenceNumber,
        "Invalid incoming sequence number");

Shows up as fluid:telemetry:Summarizer:Summarizing_cancel event in telemetry 130 hits over 5 days, affecting 5 documents, biggest one has 118 hits

vladsud avatar Dec 16 '19 18:12 vladsud

Do we have any log or stack trace? The assert only checks whether the incoming sequence number is strictly greater than the stored sequence number. We can remove the check but I am curious to understand why its failing. Sequence number should always be monotonically increasing.

tanviraumi avatar Dec 17 '19 07:12 tanviraumi

We should not remove assert :) This looks (on the surface) identical to sequence asserts, so I think Arin / Tony should continue looking into it, as both issues point out - there is something wrong in summarizing workflow.

vladsud avatar Dec 17 '19 20:12 vladsud

@anthony-murphy - FYI

vladsud avatar Dec 17 '19 20:12 vladsud

Confirmed from telemetry, I believe it is the same as issue #790.

arinwt avatar Dec 18 '19 00:12 arinwt