@fluidframework/container-runtime 2.0.6 → 2.0.8
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.
- package/container-runtime.test-files.tar +0 -0
- package/dist/containerRuntime.d.ts +1 -0
- package/dist/containerRuntime.d.ts.map +1 -1
- package/dist/containerRuntime.js +6 -4
- package/dist/containerRuntime.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/containerRuntime.d.ts +1 -0
- package/lib/containerRuntime.d.ts.map +1 -1
- package/lib/containerRuntime.js +6 -4
- package/lib/containerRuntime.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +17 -17
- package/src/containerRuntime.ts +6 -4
- package/src/packageVersion.ts +1 -1
package/lib/packageVersion.d.ts
CHANGED
|
@@ -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.
|
|
8
|
+
export declare const pkgVersion = "2.0.8";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/lib/packageVersion.js
CHANGED
|
@@ -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.
|
|
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.8\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/container-runtime",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
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.
|
|
131
|
-
"@fluidframework/container-definitions": "~2.0.
|
|
132
|
-
"@fluidframework/container-runtime-definitions": "~2.0.
|
|
133
|
-
"@fluidframework/core-interfaces": "~2.0.
|
|
134
|
-
"@fluidframework/core-utils": "~2.0.
|
|
135
|
-
"@fluidframework/datastore": "~2.0.
|
|
136
|
-
"@fluidframework/driver-definitions": "~2.0.
|
|
137
|
-
"@fluidframework/driver-utils": "~2.0.
|
|
138
|
-
"@fluidframework/id-compressor": "~2.0.
|
|
139
|
-
"@fluidframework/runtime-definitions": "~2.0.
|
|
140
|
-
"@fluidframework/runtime-utils": "~2.0.
|
|
141
|
-
"@fluidframework/telemetry-utils": "~2.0.
|
|
130
|
+
"@fluid-internal/client-utils": "~2.0.8",
|
|
131
|
+
"@fluidframework/container-definitions": "~2.0.8",
|
|
132
|
+
"@fluidframework/container-runtime-definitions": "~2.0.8",
|
|
133
|
+
"@fluidframework/core-interfaces": "~2.0.8",
|
|
134
|
+
"@fluidframework/core-utils": "~2.0.8",
|
|
135
|
+
"@fluidframework/datastore": "~2.0.8",
|
|
136
|
+
"@fluidframework/driver-definitions": "~2.0.8",
|
|
137
|
+
"@fluidframework/driver-utils": "~2.0.8",
|
|
138
|
+
"@fluidframework/id-compressor": "~2.0.8",
|
|
139
|
+
"@fluidframework/runtime-definitions": "~2.0.8",
|
|
140
|
+
"@fluidframework/runtime-utils": "~2.0.8",
|
|
141
|
+
"@fluidframework/telemetry-utils": "~2.0.8",
|
|
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.
|
|
151
|
-
"@fluid-private/stochastic-test-utils": "~2.0.
|
|
152
|
-
"@fluid-private/test-pairwise-generator": "~2.0.
|
|
150
|
+
"@fluid-internal/mocha-test-setup": "~2.0.8",
|
|
151
|
+
"@fluid-private/stochastic-test-utils": "~2.0.8",
|
|
152
|
+
"@fluid-private/test-pairwise-generator": "~2.0.8",
|
|
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.
|
|
159
|
+
"@fluidframework/test-runtime-utils": "~2.0.8",
|
|
160
160
|
"@microsoft/api-extractor": "^7.45.1",
|
|
161
161
|
"@types/double-ended-queue": "^2.1.0",
|
|
162
162
|
"@types/mocha": "^9.1.1",
|
package/src/containerRuntime.ts
CHANGED
|
@@ -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
|
-
|
|
1546
|
-
this.mc.config.getBoolean("Fluid.ContainerRuntime.DeltaManagerOpsProxy")
|
|
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
|
-
|
|
2639
|
+
messageWithContext.message.minimumSequenceNumber
|
|
2638
2640
|
) {
|
|
2639
2641
|
messageWithContext.message.minimumSequenceNumber =
|
|
2640
2642
|
this.deltaManager.minimumSequenceNumber;
|
package/src/packageVersion.ts
CHANGED