FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

ParentIsNotSummarizer should not be an error

Open vladsud opened this issue 6 years ago • 2 comments

Going through errors, I believe this one should not be an error, but a regular telemetry event: fluid:telemetry:Summarizer:ParentIsNotSummarizer

vladsud avatar Jan 16 '20 17:01 vladsud

I'd like to keep this one as an error, because it is indicative of something else going wrong. I started looking at the document with this issue in telemetry and found that something interesting must have happened.

  1. The main client spawned a summarizer client and it created a summary, everything was fine.
  2. Then the main client disconnected because of "Loading chunk 2 failed", which caused the summarizer to close as well.
  3. Then the main client code decided to restart the summarizer client, which then realized it wasn't supposed to be the summarizer (because the main client is disconnected still), and raised the ParentIsNotSummarizer error. This repeats many more times.

I think the root issue here is that for some reason the main client kept thinking it should still summarize. After reviewing the code, I think this is possible if something goes wrong during the disconnect event propagation, because informing the SummaryManager is the last step in the propagation.

arinwt avatar Jan 16 '20 22:01 arinwt

Closing this issue since the related issue is fixed and this is still an error case.

arinwt avatar Jan 17 '20 22:01 arinwt