Skip to content

Comments

GC: Added whether tombstone is enabled to GarbageCollection_end event#18927

Merged
agarwal-navin merged 2 commits intomicrosoft:mainfrom
agarwal-navin:addStagesToGCRun
Dec 20, 2023
Merged

GC: Added whether tombstone is enabled to GarbageCollection_end event#18927
agarwal-navin merged 2 commits intomicrosoft:mainfrom
agarwal-navin:addStagesToGCRun

Conversation

@agarwal-navin
Copy link
Contributor

@agarwal-navin agarwal-navin commented Dec 20, 2023

Added a tombstone property to GarbageCollection_end event to indicate whether throwing on tombstone is enabled for a GC run. This will help to filter out sessions / GC runs where tombstone did not run. The event already had sweep property to indicate whether sweep ran.

Also, update the PerformanceEvent class to use ITelemetryGenericEventExt and ITelemetryPropertiesExt. This allowed the property details in the GarbageCollection_end event to be an object.

AB#6397

@agarwal-navin agarwal-navin requested review from a team as code owners December 20, 2023 17:32
@github-actions github-actions bot added area: runtime Runtime related issues public api change Changes to a public API base: main PRs targeted against main branch labels Dec 20, 2023
@msfluid-bot
Copy link
Collaborator

msfluid-bot commented Dec 20, 2023

@fluid-example/bundle-size-tests: +577 Bytes
Metric NameBaseline SizeCompare SizeSize Diff
aqueduct.js 742.76 KB 742.85 KB +98 Bytes
connectionState.js 680 Bytes 680 Bytes No change
containerRuntime.js 541.59 KB 541.67 KB +76 Bytes
loader.js 166.8 KB 166.82 KB +22 Bytes
map.js 560.12 KB 560.21 KB +87 Bytes
matrix.js 658.36 KB 658.44 KB +87 Bytes
odspDriver.js 90.24 KB 90.26 KB +22 Bytes
odspPrefetchSnapshot.js 41.82 KB 41.83 KB +11 Bytes
sharedString.js 677.23 KB 677.31 KB +87 Bytes
sharedTree.js 787.93 KB 788 KB +76 Bytes
Total Size 4.29 MB 4.29 MB +577 Bytes

Baseline commit: 5e965e2

Generated by 🚫 dangerJS against e0245f3

@agarwal-navin agarwal-navin merged commit d1d5c58 into microsoft:main Dec 20, 2023
agarwal-navin added a commit to agarwal-navin/FluidFramework that referenced this pull request Jan 4, 2024
…microsoft#18927)

Added a `tombstone` property to GarbageCollection_end event to indicate
whether throwing on tombstone is enabled for a GC run. This will help to
filter out sessions / GC runs where tombstone did not run. The event
already had `sweep` property to indicate whether sweep ran.

Also, update the `PerformanceEvent` class to use
`ITelemetryGenericEventExt` and `ITelemetryPropertiesExt`. This allowed
the property `details` in the GarbageCollection_end event to be an
object.

AB#6397
agarwal-navin added a commit that referenced this pull request Jan 4, 2024
…enable sweep (#19087)

This PR ports the following changes to internal-8.0 branch. internal-8.0
contains changes that will help enable sweep and these are follow ups
that did not make it to the branch.
- [Initialize GC state as soon as possible and update it on
(re)connecti… · 40ad2d4
(github.com)](40ad2d4)
- [GC: Fix GC deleted stats not correctly updated for data stores by
agarwal-navin · Pull Request #18890 · microsoft/FluidFramework
(github.com)](#18890)
- [GC: Added whether tombstone is enabled to GarbageCollection_end event
by agarwal-navin · Pull Request #18927 · microsoft/FluidFramework
(github.com)](https://github.com/microsoft/FluidFramework/pull/18927/files)
agarwal-navin added a commit to agarwal-navin/FluidFramework that referenced this pull request Jan 10, 2024
…microsoft#18927)

Added a `tombstone` property to GarbageCollection_end event to indicate
whether throwing on tombstone is enabled for a GC run. This will help to
filter out sessions / GC runs where tombstone did not run. The event
already had `sweep` property to indicate whether sweep ran.

Also, update the `PerformanceEvent` class to use
`ITelemetryGenericEventExt` and `ITelemetryPropertiesExt`. This allowed
the property `details` in the GarbageCollection_end event to be an
object.

AB#6397
agarwal-navin added a commit that referenced this pull request Jan 23, 2024
…enable sweep (#19204)

This PR ports the following changes to internal-7.4 branch. internal-7.4
contains changes that will help enable sweep and these are follow ups
that did not make it to the branch.
- [Initialize GC state as soon as possible and update it on
(re)connecti… · 40ad2d4
(github.com)](40ad2d4)
- [GC: Fix GC deleted stats not correctly updated for data stores by
agarwal-navin · Pull Request #18890 · microsoft/FluidFramework
(github.com)](#18890)
- [GC: Added whether tombstone is enabled to GarbageCollection_end event
by agarwal-navin · Pull Request #18927 · microsoft/FluidFramework
(github.com)](https://github.com/microsoft/FluidFramework/pull/18927/files)
markfields pushed a commit to markfields/FluidFramework that referenced this pull request Feb 12, 2024
…enable sweep (microsoft#19204)

This PR ports the following changes to internal-7.4 branch. internal-7.4
contains changes that will help enable sweep and these are follow ups
that did not make it to the branch.
- [Initialize GC state as soon as possible and update it on
(re)connecti… · microsoft/FluidFramework@40ad2d4
(github.com)](microsoft@40ad2d4)
- [GC: Fix GC deleted stats not correctly updated for data stores by
agarwal-navin · Pull Request microsoft#18890 · microsoft/FluidFramework
(github.com)](microsoft#18890)
- [GC: Added whether tombstone is enabled to GarbageCollection_end event
by agarwal-navin · Pull Request microsoft#18927 · microsoft/FluidFramework
(github.com)](https://github.com/microsoft/FluidFramework/pull/18927/files)
@agarwal-navin agarwal-navin deleted the addStagesToGCRun branch July 15, 2024 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: runtime Runtime related issues base: main PRs targeted against main branch public api change Changes to a public API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants