@fluidframework/container-runtime 0.55.2 → 0.55.3

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 = "0.55.2";
8
+ export declare const pkgVersion = "0.55.3";
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 = "0.55.2";
8
+ export const pkgVersion = "0.55.3";
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,QAAQ,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 = \"0.55.2\";\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,QAAQ,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 = \"0.55.3\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/container-runtime",
3
- "version": "0.55.2",
3
+ "version": "0.55.3",
4
4
  "description": "Fluid container runtime",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": "https://github.com/microsoft/FluidFramework",
@@ -59,26 +59,26 @@
59
59
  "@fluidframework/common-definitions": "^0.20.1",
60
60
  "@fluidframework/common-utils": "^0.32.1",
61
61
  "@fluidframework/container-definitions": "^0.44.0",
62
- "@fluidframework/container-runtime-definitions": "^0.55.2",
63
- "@fluidframework/container-utils": "^0.55.2",
62
+ "@fluidframework/container-runtime-definitions": "^0.55.3",
63
+ "@fluidframework/container-utils": "^0.55.3",
64
64
  "@fluidframework/core-interfaces": "^0.41.0",
65
- "@fluidframework/datastore": "^0.55.2",
65
+ "@fluidframework/datastore": "^0.55.3",
66
66
  "@fluidframework/driver-definitions": "^0.43.0",
67
- "@fluidframework/driver-utils": "^0.55.2",
68
- "@fluidframework/garbage-collector": "^0.55.2",
67
+ "@fluidframework/driver-utils": "^0.55.3",
68
+ "@fluidframework/garbage-collector": "^0.55.3",
69
69
  "@fluidframework/protocol-base": "^0.1034.0",
70
70
  "@fluidframework/protocol-definitions": "^0.1026.0",
71
- "@fluidframework/runtime-definitions": "^0.55.2",
72
- "@fluidframework/runtime-utils": "^0.55.2",
73
- "@fluidframework/telemetry-utils": "^0.55.2",
71
+ "@fluidframework/runtime-definitions": "^0.55.3",
72
+ "@fluidframework/runtime-utils": "^0.55.3",
73
+ "@fluidframework/telemetry-utils": "^0.55.3",
74
74
  "double-ended-queue": "^2.1.0-0",
75
75
  "uuid": "^8.3.1"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@fluidframework/build-common": "^0.23.0",
79
79
  "@fluidframework/eslint-config-fluid": "^0.25.0",
80
- "@fluidframework/mocha-test-setup": "^0.55.2",
81
- "@fluidframework/test-runtime-utils": "^0.55.2",
80
+ "@fluidframework/mocha-test-setup": "^0.55.3",
81
+ "@fluidframework/test-runtime-utils": "^0.55.3",
82
82
  "@microsoft/api-extractor": "^7.16.1",
83
83
  "@rushstack/eslint-config": "^2.5.1",
84
84
  "@types/double-ended-queue": "^2.1.0",
@@ -382,6 +382,11 @@ class ScheduleManagerCore {
382
382
  for (const pending of allPending) {
383
383
  this.trackPending(pending);
384
384
  }
385
+
386
+ // We are intentionally directly listening to the "op" to inspect system ops as well.
387
+ // If we do not observe system ops, we are likely to hit 0x296 assert when system ops
388
+ // precedes start of incomplete batch.
389
+ this.deltaManager.on("op", (message) => this.afterOpProcessing(message.sequenceNumber));
385
390
  }
386
391
 
387
392
  /**
@@ -527,8 +532,6 @@ export class ScheduleManager {
527
532
  private batchClientId: string | undefined;
528
533
  private hitError = false;
529
534
 
530
- private readonly scheduler: ScheduleManagerCore;
531
-
532
535
  constructor(
533
536
  private readonly deltaManager: IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>,
534
537
  private readonly emitter: EventEmitter,
@@ -538,7 +541,7 @@ export class ScheduleManager {
538
541
  this.deltaManager,
539
542
  ChildLogger.create(this.logger, "DeltaScheduler"),
540
543
  );
541
- this.scheduler = new ScheduleManagerCore(deltaManager, logger);
544
+ void new ScheduleManagerCore(deltaManager, logger);
542
545
  }
543
546
 
544
547
  public beforeOpProcessing(message: ISequencedDocumentMessage) {
@@ -563,10 +566,6 @@ export class ScheduleManager {
563
566
  // If this is no longer true, we need to revisit what we do where we set this.hitError.
564
567
  assert(!this.hitError, 0x2a3 /* "container should be closed on any error" */);
565
568
 
566
- // Let the scheduler know how far we progressed, to decide if op processing
567
- // should be paused or not.
568
- this.scheduler.afterOpProcessing(message.sequenceNumber);
569
-
570
569
  if (error) {
571
570
  // We assume here that loader will close container and stop processing all future ops.
572
571
  // This is implicit dependency. If this flow changes, this code might no longer be correct.
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/container-runtime";
9
- export const pkgVersion = "0.55.2";
9
+ export const pkgVersion = "0.55.3";