-
Notifications
You must be signed in to change notification settings - Fork 537
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
Remove feature gates for flushmode and batchmanager #8833
Conversation
…pdate clicker.test.ts
…lback to check the value
…ult values for param
… remove-batching-featuregates
Small update, @vladsud The test infra changes have been split off and merged in a separate PR, to keep things nice and isolated. There are two problematic tests with this change:
|
Actually, I believe this is because https://github.com/microsoft/FluidFramework/blob/main/packages/runtime/container-runtime/src/containerRuntime.ts#L2355:
as if the message is split into chunks, even if it was part of a batch, it won't be sent as a batch message from the perspective of its metadata. |
The feature gates are enabled and have been for the past few weeks. Production rollout is at 100%, so this code is safe to remove. I will do so before the release. |
@@ -575,9 +576,13 @@ export class DeltaManager<TConnectionManager extends IConnectionManager> | |||
// DeltaManager overall policy - drop all ops on disconnection and rely on | |||
// container runtime to deal with resubmitting any ops that did not make it through. | |||
// So drop them, but also raise error event to look into details. | |||
this.logger.sendErrorEvent({ | |||
this.logger.sendTelemetryEvent({ |
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 do not think there is a value in this event at all. I.e. it's either an error (i.e. we believe it should not happen), or it's normal flow that is handled, covered by UT, but really does not matter in terms of logging.
Also reason is not package data - it comes from socket (in majority cases) and we freely log it already.
This event has already been demoted from error in #8833 as it started firing when FlushMode.TurnBased was set as the default and causing test failures due to undeclared log errors.
closes #7365
This will be reviewed/merged after the respective experiments are concluded.