Repository navigation
Flush native Lambda DSM checkpoints before runtime freeze - #13252
Draft
joeyzhao2018 wants to merge 1 commit into
Draft
joeyzhao2018 wants to merge 1 commit into
joeyzhao2018 wants to merge 1 commit into
Conversation
2 of 3 tasks
Contributor
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
Contributor
2 of 3 tasks
joeyzhao2018
force-pushed
the
joey/lambda-08-dsm-consumption
branch
from
November 6, 2026 11:37
1aef025 to
7efc263
Compare
joeyzhao2018
force-pushed
the
joey/lambda-08-dsm-flush
branch
from
November 6, 2026 11:37
194069a to
6e59dad
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Does This Do
Flush native Lambda DSM checkpoints, including the current bucket, before returning from handler instrumentation. Bound the wait to one second and retain interruption/failure reporting.
Motivation
Give Java-owned DSM data a chance to reach existing transport before Lambda freezes the runtime.
Additional Notes
A timeout cannot guarantee delivery or cancel an in-flight request. No lifecycle acknowledgment is involved. Proxy duplicate-consumption ownership and deployed freeze/delivery checks remain rollout blockers.
Validation: Revised complete stack: 513 focused core tests, 12 forked Lambda tests and 40 handler tests passed; the handler total includes two zero-lifecycle-HTTP cases. Independent P3 lifecycle, P8b DSM and P10 legacy/native boundary checks also passed. Spotless applied. Core validation uses a local init script to omit an unused private container dependency; repository build settings are unchanged. Deployed certification remains pending.
Contributor Checklist
Jira ticket: APMSVLS-689.
Previous: #13251
Next: #13253