@fluidframework/container-runtime 2.0.6 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/container-runtime";
8
- export declare const pkgVersion = "2.0.6";
8
+ export declare const pkgVersion = "2.0.7";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/container-runtime";
8
- export const pkgVersion = "2.0.6";
8
+ export const pkgVersion = "2.0.7";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,mCAAmC,CAAC;AAC3D,MAAM,CAAC,MAAM,UAAU,GAAG,OAAO,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/container-runtime\";\nexport const pkgVersion = \"2.0.6\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,mCAAmC,CAAC;AAC3D,MAAM,CAAC,MAAM,UAAU,GAAG,OAAO,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/container-runtime\";\nexport const pkgVersion = \"2.0.7\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/container-runtime",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "description": "Fluid container runtime",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -127,18 +127,18 @@
127
127
  "temp-directory": "nyc/.nyc_output"
128
128
  },
129
129
  "dependencies": {
130
- "@fluid-internal/client-utils": "~2.0.6",
131
- "@fluidframework/container-definitions": "~2.0.6",
132
- "@fluidframework/container-runtime-definitions": "~2.0.6",
133
- "@fluidframework/core-interfaces": "~2.0.6",
134
- "@fluidframework/core-utils": "~2.0.6",
135
- "@fluidframework/datastore": "~2.0.6",
136
- "@fluidframework/driver-definitions": "~2.0.6",
137
- "@fluidframework/driver-utils": "~2.0.6",
138
- "@fluidframework/id-compressor": "~2.0.6",
139
- "@fluidframework/runtime-definitions": "~2.0.6",
140
- "@fluidframework/runtime-utils": "~2.0.6",
141
- "@fluidframework/telemetry-utils": "~2.0.6",
130
+ "@fluid-internal/client-utils": "~2.0.7",
131
+ "@fluidframework/container-definitions": "~2.0.7",
132
+ "@fluidframework/container-runtime-definitions": "~2.0.7",
133
+ "@fluidframework/core-interfaces": "~2.0.7",
134
+ "@fluidframework/core-utils": "~2.0.7",
135
+ "@fluidframework/datastore": "~2.0.7",
136
+ "@fluidframework/driver-definitions": "~2.0.7",
137
+ "@fluidframework/driver-utils": "~2.0.7",
138
+ "@fluidframework/id-compressor": "~2.0.7",
139
+ "@fluidframework/runtime-definitions": "~2.0.7",
140
+ "@fluidframework/runtime-utils": "~2.0.7",
141
+ "@fluidframework/telemetry-utils": "~2.0.7",
142
142
  "@tylerbu/sorted-btree-es6": "^1.8.0",
143
143
  "double-ended-queue": "^2.1.0-0",
144
144
  "lz4js": "^0.2.0",
@@ -147,16 +147,16 @@
147
147
  "devDependencies": {
148
148
  "@arethetypeswrong/cli": "^0.15.2",
149
149
  "@biomejs/biome": "^1.7.3",
150
- "@fluid-internal/mocha-test-setup": "~2.0.6",
151
- "@fluid-private/stochastic-test-utils": "~2.0.6",
152
- "@fluid-private/test-pairwise-generator": "~2.0.6",
150
+ "@fluid-internal/mocha-test-setup": "~2.0.7",
151
+ "@fluid-private/stochastic-test-utils": "~2.0.7",
152
+ "@fluid-private/test-pairwise-generator": "~2.0.7",
153
153
  "@fluid-tools/benchmark": "^0.48.0",
154
154
  "@fluid-tools/build-cli": "^0.39.0",
155
155
  "@fluidframework/build-common": "^2.0.3",
156
156
  "@fluidframework/build-tools": "^0.39.0",
157
157
  "@fluidframework/container-runtime-previous": "npm:@fluidframework/container-runtime@2.0.0-rc.4.0.0",
158
158
  "@fluidframework/eslint-config-fluid": "^5.3.0",
159
- "@fluidframework/test-runtime-utils": "~2.0.6",
159
+ "@fluidframework/test-runtime-utils": "~2.0.7",
160
160
  "@microsoft/api-extractor": "^7.45.1",
161
161
  "@types/double-ended-queue": "^2.1.0",
162
162
  "@types/mocha": "^9.1.1",
@@ -1251,6 +1251,7 @@ export class ContainerRuntime
1251
1251
  private dirtyContainer: boolean;
1252
1252
  private emitDirtyDocumentEvent = true;
1253
1253
  private readonly disableAttachReorder: boolean | undefined;
1254
+ private readonly useDeltaManagerOpsProxy: boolean;
1254
1255
  private readonly closeSummarizerDelayMs: number;
1255
1256
  private readonly defaultTelemetrySignalSampleCount = 100;
1256
1257
  private readonly _perfSignalData: IPerfSignalReport = {
@@ -1542,8 +1543,8 @@ export class ContainerRuntime
1542
1543
  );
1543
1544
 
1544
1545
  let outerDeltaManager: IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>;
1545
- const useDeltaManagerOpsProxy =
1546
- this.mc.config.getBoolean("Fluid.ContainerRuntime.DeltaManagerOpsProxy") !== false;
1546
+ this.useDeltaManagerOpsProxy =
1547
+ this.mc.config.getBoolean("Fluid.ContainerRuntime.DeltaManagerOpsProxy") === true;
1547
1548
  // The summarizerDeltaManager Proxy is used to lie to the summarizer to convince it is in the right state as a summarizer client.
1548
1549
  const summarizerDeltaManagerProxy = new DeltaManagerSummarizerProxy(
1549
1550
  this.innerDeltaManager,
@@ -1552,7 +1553,7 @@ export class ContainerRuntime
1552
1553
 
1553
1554
  // The DeltaManagerPendingOpsProxy is used to control the minimum sequence number
1554
1555
  // It allows us to lie to the layers below so that they can maintain enough local state for rebasing ops.
1555
- if (useDeltaManagerOpsProxy) {
1556
+ if (this.useDeltaManagerOpsProxy) {
1556
1557
  const pendingOpsDeltaManagerProxy = new DeltaManagerPendingOpsProxy(
1557
1558
  summarizerDeltaManagerProxy,
1558
1559
  this.pendingStateManager,
@@ -2633,8 +2634,9 @@ export class ContainerRuntime
2633
2634
  // Intercept to reduce minimum sequence number to the delta manager's minimum sequence number.
2634
2635
  // Sequence numbers are not guaranteed to follow any sort of order. Re-entrancy is one of those situations
2635
2636
  if (
2637
+ this.useDeltaManagerOpsProxy &&
2636
2638
  this.deltaManager.minimumSequenceNumber <
2637
- messageWithContext.message.minimumSequenceNumber
2639
+ messageWithContext.message.minimumSequenceNumber
2638
2640
  ) {
2639
2641
  messageWithContext.message.minimumSequenceNumber =
2640
2642
  this.deltaManager.minimumSequenceNumber;
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/container-runtime";
9
- export const pkgVersion = "2.0.6";
9
+ export const pkgVersion = "2.0.7";