-
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
Removed GC blobs from channel context (DDS). The GC blobs in data store is used to generate initial GC data for DDS #5007
Conversation
Looks reasonable to me. |
0a079f7
to
f5fd18b
Compare
…re is used to generate initial GC data for DDS
* @param channelId - The id of the channel context that is asked for the initial GC details. | ||
* @returns the requested channel's GC details in the initial summary. | ||
*/ | ||
private async getChannelInitialGCDetails(channelId: string): Promise<IGarbageCollectionSummaryDetails> { |
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 assume we have reasonable test coverage for new logic through existing UTs, right?
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.
Unfortunately, we do not have unit tests for data store runtime! and for channel contexts too. We should definitely add those.
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.
Created #5057 to add testing for these layers.
2ce0419
to
aec5b9f
Compare
■ @fluidframework/base-host: No change
⯅ @fluid-example/bundle-size-tests: +1001 Bytes
Baseline commit: 96aaec4 |
Fixes #4943.
Couple of notes:
getInitialGCSummaryDetails
inIFluidChannelContext
. So, the summarizer would end up summarizing these DDSs the first time. I can handle this scenario by adding some back-compat code but I don't think its worth maintaining that code for DDSs. Please let me know if you think we need to handle this scenario.