@fluidframework/container-runtime 2.0.0-internal.1.0.0.84253 → 2.0.0-internal.1.0.1
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/dist/containerRuntime.d.ts.map +1 -1
- package/dist/containerRuntime.js +12 -7
- package/dist/containerRuntime.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.d.ts.map +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/containerRuntime.d.ts.map +1 -1
- package/lib/containerRuntime.js +12 -7
- package/lib/containerRuntime.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.d.ts.map +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +14 -14
- package/src/containerRuntime.ts +23 -19
- 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.0-internal.1.0.
|
|
8
|
+
export declare const pkgVersion = "2.0.0-internal.1.0.1";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,sCAAsC,CAAC;AAC3D,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,sCAAsC,CAAC;AAC3D,eAAO,MAAM,UAAU,yBAAyB,CAAC"}
|
package/lib/packageVersion.js
CHANGED
|
@@ -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.0-internal.1.0.
|
|
8
|
+
export const pkgVersion = "2.0.0-internal.1.0.1";
|
|
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,
|
|
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,sBAAsB,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.0-internal.1.0.1\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/container-runtime",
|
|
3
|
-
"version": "2.0.0-internal.1.0.
|
|
3
|
+
"version": "2.0.0-internal.1.0.1",
|
|
4
4
|
"description": "Fluid container runtime",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -63,19 +63,19 @@
|
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@fluidframework/common-definitions": "^0.20.1",
|
|
65
65
|
"@fluidframework/common-utils": "^1.0.0",
|
|
66
|
-
"@fluidframework/container-definitions": "2.0.0-internal.1.0.
|
|
67
|
-
"@fluidframework/container-runtime-definitions": "2.0.0-internal.1.0.
|
|
68
|
-
"@fluidframework/container-utils": "2.0.0-internal.1.0.
|
|
69
|
-
"@fluidframework/core-interfaces": "2.0.0-internal.1.0.
|
|
70
|
-
"@fluidframework/datastore": "2.0.0-internal.1.0.
|
|
71
|
-
"@fluidframework/driver-definitions": "2.0.0-internal.1.0.
|
|
72
|
-
"@fluidframework/driver-utils": "2.0.0-internal.1.0.
|
|
73
|
-
"@fluidframework/garbage-collector": "2.0.0-internal.1.0.
|
|
66
|
+
"@fluidframework/container-definitions": "^2.0.0-internal.1.0.1",
|
|
67
|
+
"@fluidframework/container-runtime-definitions": "^2.0.0-internal.1.0.1",
|
|
68
|
+
"@fluidframework/container-utils": "^2.0.0-internal.1.0.1",
|
|
69
|
+
"@fluidframework/core-interfaces": "^2.0.0-internal.1.0.1",
|
|
70
|
+
"@fluidframework/datastore": "^2.0.0-internal.1.0.1",
|
|
71
|
+
"@fluidframework/driver-definitions": "^2.0.0-internal.1.0.1",
|
|
72
|
+
"@fluidframework/driver-utils": "^2.0.0-internal.1.0.1",
|
|
73
|
+
"@fluidframework/garbage-collector": "^2.0.0-internal.1.0.1",
|
|
74
74
|
"@fluidframework/protocol-base": "^0.1037.1000",
|
|
75
75
|
"@fluidframework/protocol-definitions": "^1.0.0",
|
|
76
|
-
"@fluidframework/runtime-definitions": "2.0.0-internal.1.0.
|
|
77
|
-
"@fluidframework/runtime-utils": "2.0.0-internal.1.0.
|
|
78
|
-
"@fluidframework/telemetry-utils": "2.0.0-internal.1.0.
|
|
76
|
+
"@fluidframework/runtime-definitions": "^2.0.0-internal.1.0.1",
|
|
77
|
+
"@fluidframework/runtime-utils": "^2.0.0-internal.1.0.1",
|
|
78
|
+
"@fluidframework/telemetry-utils": "^2.0.0-internal.1.0.1",
|
|
79
79
|
"double-ended-queue": "^2.1.0-0",
|
|
80
80
|
"uuid": "^8.3.1"
|
|
81
81
|
},
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"@fluidframework/build-tools": "^0.3.1000",
|
|
85
85
|
"@fluidframework/container-runtime-previous": "npm:@fluidframework/container-runtime@^1.0.0",
|
|
86
86
|
"@fluidframework/eslint-config-fluid": "^0.28.2000",
|
|
87
|
-
"@fluidframework/mocha-test-setup": "2.0.0-internal.1.0.
|
|
88
|
-
"@fluidframework/test-runtime-utils": "2.0.0-internal.1.0.
|
|
87
|
+
"@fluidframework/mocha-test-setup": "^2.0.0-internal.1.0.1",
|
|
88
|
+
"@fluidframework/test-runtime-utils": "^2.0.0-internal.1.0.1",
|
|
89
89
|
"@microsoft/api-extractor": "^7.22.2",
|
|
90
90
|
"@rushstack/eslint-config": "^2.5.1",
|
|
91
91
|
"@types/double-ended-queue": "^2.1.0",
|
package/src/containerRuntime.ts
CHANGED
|
@@ -3032,25 +3032,29 @@ export class ContainerRuntime extends TypedEventEmitter<IContainerRuntimeEvents>
|
|
|
3032
3032
|
summaryLogger: ITelemetryLogger,
|
|
3033
3033
|
) {
|
|
3034
3034
|
const readAndParseBlob = async <T>(id: string) => readAndParse<T>(this.storage, id);
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3035
|
+
// The call to fetch the snapshot is very expensive and not always needed.
|
|
3036
|
+
// It should only be done by the summarizerNode, if required.
|
|
3037
|
+
const snapshotTreeFetcher = async () => {
|
|
3038
|
+
const fetchResult = await this.fetchSnapshotFromStorage(
|
|
3039
|
+
ackHandle,
|
|
3040
|
+
summaryLogger,
|
|
3041
|
+
{
|
|
3042
|
+
eventName: "RefreshLatestSummaryGetSnapshot",
|
|
3043
|
+
ackHandle,
|
|
3044
|
+
summaryRefSeq,
|
|
3045
|
+
fetchLatest: false,
|
|
3046
|
+
});
|
|
3047
|
+
return fetchResult.snapshotTree;
|
|
3048
|
+
};
|
|
3049
|
+
const result = await this.summarizerNode.refreshLatestSummary(
|
|
3050
|
+
proposalHandle,
|
|
3051
|
+
summaryRefSeq,
|
|
3052
|
+
snapshotTreeFetcher,
|
|
3053
|
+
readAndParseBlob,
|
|
3054
|
+
summaryLogger,
|
|
3055
|
+
);
|
|
3056
|
+
|
|
3057
|
+
// Notify the garbage collector so it can update its latest summary state.
|
|
3054
3058
|
await this.garbageCollector.latestSummaryStateRefreshed(result, readAndParseBlob);
|
|
3055
3059
|
}
|
|
3056
3060
|
|
package/src/packageVersion.ts
CHANGED