-
Notifications
You must be signed in to change notification settings - Fork 535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One last summary before closing [0.15] #1729
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I understand what you're suggesting... In reply to: 610468953 [](ancestors = 610468953) Refers to: packages/runtime/container-runtime/src/summarizer.ts:453 in c216621. [](commit_id = c216621, deletion_comment = False) |
fixes #643
Part 1: SummaryManager eliminates initial delay before spawning summarizer if client join message op seq is much greater than
deltaManager.initialSequenceNumber
(4k ops right now, to ensure below 5k server limit of ODSP).Part 2: Summarizer added async
waitStop
function toRunningSummarizer
and await that before closing the entire container when the Summarizer gets stopped. New flow is:runningSummarizer.waitStop
and then closes the containerThis should work with the other flow when the summarizer client disconnects first:
Also with the prevention of re-entrancy in Summarizer
stop
, it should work with the fallback validation ingenerateSummary
.This required a small relaxation of the fallback Summarizer
generateSummary
check that its parent client is still the elected summarizer client. Now it also allows that the itself is the elected summarizer, i.e. the only client on the document (because others would be elected summarizer).Additional work:
originalRequest
in constructor so it is set first before callingget client()
@vladsud @jatgarg - can you guys verify this part? (commit: 6995ef0 in this PR)edit: after resolving conflicts, it looks like this was already resolved in the same way :)
summarize
.