Skip to content

[Dataflow Streaming] WindmillTimerInternals: Use a single map to store timer data + liveness#34292

Merged
scwhittle merged 2 commits intoapache:masterfrom
arunpandianp:optimizeb1
Mar 19, 2025
Merged

[Dataflow Streaming] WindmillTimerInternals: Use a single map to store timer data + liveness#34292
scwhittle merged 2 commits intoapache:masterfrom
arunpandianp:optimizeb1

Conversation

@arunpandianp
Copy link
Copy Markdown
Contributor

@arunpandianp arunpandianp commented Mar 14, 2025

#33578

Example

old profile:
image

new profile:
image

@arunpandianp
Copy link
Copy Markdown
Contributor Author

R: @scwhittle

@github-actions
Copy link
Copy Markdown
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment assign set of reviewers


// Wipe the unpersisted state
timers.clear();
timerMap.clear();
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

timerStillPresent was not cleared before, It is safe to clear both timerdata and boolen here since WindmillTimerInternals is recreated at the bundle level.

@arunpandianp arunpandianp requested a review from scwhittle March 19, 2025 01:05
@arunpandianp
Copy link
Copy Markdown
Contributor Author

Run Java PreCommit

@scwhittle scwhittle merged commit f15ce02 into apache:master Mar 19, 2025
15 checks passed
talatuyarer pushed a commit to talatuyarer/beam that referenced this pull request Mar 20, 2025
prodriguezdefino pushed a commit to prodriguezdefino/beam-pabs that referenced this pull request Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants