-
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
Deprecate enableGroupedBatching #23260
Deprecate enableGroupedBatching #23260
Conversation
packages/runtime/container-runtime/api-report/container-runtime.legacy.alpha.api.md
Show resolved
Hide resolved
…p batching." This reverts commit 86a3ece.
.changeset/sad-dodos-sell.md
Outdated
|
||
Marked `IContainerRuntimeOptions.enableGroupedBatching` as deprecated | ||
|
||
- We want to remove the ability to configure batch grouping, so `IContainerRuntimeOptions.enableGroupedBatching` is now being marked as deprecated and batch grouping will now depend on batch compression. |
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.
- We want to remove the ability to configure batch grouping, so `IContainerRuntimeOptions.enableGroupedBatching` is now being marked as deprecated and batch grouping will now depend on batch compression. | |
- We will remove the ability to disable Grouped Batching in v2.20.0. The only exception (i.e. where Grouped Batching would be disabled) is for compatibility with older (v1) clients, and this will be implemented without needing to expose `IContainerRuntimeOptions.enableGroupedBatching`. |
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.
Applied changes
…nfiguration' into removeBatchGroupingConfiguration
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.
Changeset looks good, approving for docs!
.changeset/sad-dodos-sell.md
Outdated
|
||
Marked `IContainerRuntimeOptions.enableGroupedBatching` as deprecated | ||
|
||
- We will remove the ability to disable Grouped Batching in v2.20.0. The only exception (i.e. where Grouped Batching would be disabled) is for compatibility with older (v1) clients, and this will be implemented without needing to expose `IContainerRuntimeOptions.enableGroupedBatching`. |
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.
- We will remove the ability to disable Grouped Batching in v2.20.0. The only exception (i.e. where Grouped Batching would be disabled) is for compatibility with older (v1) clients, and this will be implemented without needing to expose `IContainerRuntimeOptions.enableGroupedBatching`. | |
We will remove the ability to disable Grouped Batching in v2.20.0. The only exception (i.e. where Grouped Batching would be disabled) is for compatibility with older (v1) clients, and this will be implemented without needing to expose `IContainerRuntimeOptions.enableGroupedBatching`. |
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.
Applied changes
@@ -519,6 +519,7 @@ export interface IContainerRuntimeOptions { | |||
* The grouping an ungrouping of such messages is handled by the "OpGroupingManager". | |||
* | |||
* By default, the feature is enabled. | |||
* @deprecated The ability to configure Grouped Batching is now removed and it is now disabled if compression is disabled. |
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.
* @deprecated The ability to configure Grouped Batching is now removed and it is now disabled if compression is disabled. | |
* @deprecated Grouped Batching can no longer be disabled, it is required for the proper functioning of the Fluid Framework |
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.
This isn't technically true. We can't change existing functionality in a deprecation as that's effectively a breaking change. This deprecation is instead notifying consumers that they soon won't be able to disable the feature, and that there is no alternative as "it is required for the proper functioning of the Fluid Framework"
.
* @deprecated The ability to configure Grouped Batching is now removed and it is now disabled if compression is disabled. | |
* @deprecated The ability to disable Grouped Batching is deprecated and will be removed in v2.20.0. This feature is required for the proper functioning of the Fluid Framework. |
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.
Applied changes
.changeset/sad-dodos-sell.md
Outdated
"section": deprecation | ||
--- | ||
|
||
Marked `IContainerRuntimeOptions.enableGroupedBatching` as deprecated |
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.
Marked `IContainerRuntimeOptions.enableGroupedBatching` as deprecated | |
IContainerRuntimeOptions.enableGroupedBatching is now deprecated |
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.
Curious if removing the inline code formatting was intentional. I personally do like to see it even in headers.
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.
Yeah, it was intentional. Opinions vary, but last time we discussed this the general consensus was that code formatting in headings is more distracting than helpful, especially when so much of every heading is code.
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.
Applied changes
.changeset/sad-dodos-sell.md
Outdated
|
||
Marked `IContainerRuntimeOptions.enableGroupedBatching` as deprecated | ||
|
||
- We will remove the ability to disable Grouped Batching in v2.20.0. The only exception (i.e. where Grouped Batching would be disabled) is for compatibility with older (v1) clients, and this will be implemented without needing to expose `IContainerRuntimeOptions.enableGroupedBatching`. |
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.
- We will remove the ability to disable Grouped Batching in v2.20.0. The only exception (i.e. where Grouped Batching would be disabled) is for compatibility with older (v1) clients, and this will be implemented without needing to expose `IContainerRuntimeOptions.enableGroupedBatching`. | |
The `IContainerRuntimeOptions.enableGroupedBatching` property is deprecated and will be removed in version 2.20.0. This will mean that the grouped batching feature can no longer be disabled. In versions 2.20.0 and beyond, grouped batching is required for the proper functioning of the Fluid Framework. | |
The sole case where grouped batching will be disabled is for compatibility with older v1 clients, and this will be implemented without any need for the configurable `IContainerRuntimeOptions.enableGroupedBatching` option. |
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.
Done
@@ -519,6 +519,7 @@ export interface IContainerRuntimeOptions { | |||
* The grouping an ungrouping of such messages is handled by the "OpGroupingManager". |
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.
* The grouping an ungrouping of such messages is handled by the "OpGroupingManager". | |
* The grouping and ungrouping of such messages is handled by the "OpGroupingManager". |
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.
Applied changes
🔗 No broken links found! ✅ Your attention to detail is admirable. linkcheck output
|
## Description After discussing the work in task [microsoft#8124](https://dev.azure.com/fluidframework/235294da-091d-4c29-84fc-cdfc3d90890b/_workitems/edit/8124), we concluded that it was best to make Batch Grouping dependent on Batch Compression. This is the first step where we are tagging enableGroupedBatching as deprecated in containerRuntime.ts Acceptance Criteria: containerRuntime.enableGroupedBatching is now tagged as deprecated Execution Plan: Create the changeset file explaining the change and add the @deprecated tag ## Reviewer Guidance Please let me know if there's anything I should change or make better. Fixes [AB#26356](https://dev.azure.com/fluidframework/235294da-091d-4c29-84fc-cdfc3d90890b/_workitems/edit/26356)
Description
After discussing the work in task #8124, we concluded that it was best to make Batch Grouping dependent on Batch Compression.
This is the first step where we are tagging enableGroupedBatching as deprecated in containerRuntime.ts
Acceptance Criteria:
containerRuntime.enableGroupedBatching is now tagged as deprecated
Execution Plan:
Create the changeset file explaining the change and add the @deprecated tag
Reviewer Guidance
Please let me know if there's anything I should change or make better.
Fixes AB#26356