FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Top 2% of snapshots have 2000 ops or more

Open vladsud opened this issue 7 years ago • 4 comments

99th percentile for summaries points to summarizing 476 ops. But 98th percentile for getLatest points to us having over 2000 ops in snapshots. That's a lot, we need to better understand what's going on in terms of snapshotting.

Event name: fluid:telemetry:OdspDriver:TreesLatest_end Property: Data_ops

vladsud avatar Nov 07 '19 01:11 vladsud

Some number of active documents with this issue:

Data_docId zgaQAo1Sw+qFLtRVgYmmeK2KScS6ywokrG2lPEgVvsw= H6LGMs8wCYHMomI2NaD6oeQqlpATm1ZrT+QCkATcYbg= 02GyphlmLzrAo0Wq+N6Xj4/AtJ0/ED+pkapT0dWAkVU= CT1wVJ/3PySKg+cI5MVbcSBqm3pRC3eEBd2/8el7NyM= X64MivgZAIPg5M4ti4ek4RRQz9sVvU6K2JRQDhcTj10= Tiiu0sMtAdadudztRZl63+1kKcxDoUUnROxCBdsJjHY= QFQaMfNc4oJ8rSyOGxp1xZREyahDZ0maaJJN+U9+yno=

vladsud avatar Nov 07 '19 17:11 vladsud

In my PR #460, I separated the data into two categories: opsSinceLastAttempt and opsSinceLastSummary, so that we can distinguish this information. Right now, the field is only opsSinceLastSummary - counting the ops since the last attempt. The PR does the same thing for timeSinceLastAttempt and timeSinceLastSummary. This should help minimize this discrepancy.

arinwt avatar Nov 07 '19 19:11 arinwt

The first two files are affected by this error: TypeError: Cannot read property 'needsScour' of undefined

Same for these two: CT1wVJ/3PySKg+cI5MVbcSBqm3pRC3eEBd2/8el7NyM= X64MivgZAIPg5M4ti4ek4RRQz9sVvU6K2JRQDhcTj10=

hgRAqovM/XuZYZ3qWT4NC9PJZoaXXfgdph7iwAWjLGs= is mostly on very old builds. Once it gets to 15313, it hits a bunch of "Runtime must query for IMessageHandler to signal it does not implement prepare" errors.

vladsud avatar Nov 07 '19 19:11 vladsud

There does not seem an actionable work here, other then fixing unrelated critical errors (that we are tracking separately). So closing this item.

vladsud avatar Nov 07 '19 23:11 vladsud