Track skipped final-result checkpoint acknowledgment and late worker admission
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with the result path in sdk/src/main/java/software/amazon/lambda/durable/execution/DurableExecutor.java (root outcome selection and handleLargePayload), then CheckpointManager.checkpointBatch and ApiRequestDelayedBatcher. The issue is a static-analysis tracking report with no reproduction, and it asks for arbitration and admission guarantees to be defined first. Done means those guarantees are specified and the suspected interleavings are validated, which needs maintainer design input.
由索引模型根据 Issue 内容生成。
描述
Summary
Track the potential loss of an oversized execution result when its final checkpoint is skipped, together with the related late user-worker admission boundary. This is the follow-up requested in the #767 review.
This report records static code-path analysis, not a runtime-confirmed reproduction. The reviewer explicitly noted that the trace has not been run. The concern applies to current main 1064d0ec32e5b1650b4fa08e65ca960361c7cd1b, independently of the fallback-root telemetry change.
Potential failure path
- The root handler outcome is selected before result preparation.
- A continuation can subsequently fail and complete invocation control before or during preparation.
CheckpointManager.checkpointBatchcan return without sending an update when that control is already exceptional.- The batcher can nevertheless complete the update's observation normally.
- For an output beyond the inline result limit,
handleLargePayloadtreats that completion as persistence and returns an empty inline result.
If the described interleaving is reachable, the response could report SUCCEEDED with an empty inline result while its required EXECUTION/SUCCEED checkpoint was never stored. Closing new continuation registration before serialization narrows admission but does not itself prove delivery of that mandatory checkpoint.
Related admission boundary
Review r4262386190 identifies an already-admitted continuation that passes a closing check, waits for earlier work or dispatch, and then starts a fresh user worker after root selection. Registration admission and later worker admission need to be distinguished; a registration gate alone is not a guarantee that all accepted work has stopped.
Follow-up requirements
- A required checkpoint that was not sent must not be acknowledged as persisted. An empty inline result used for durable result offloading must correspond to confirmed checkpoint completion.
- Validate the suspected result-preparation and worker-admission interleavings described in the linked reviews, including caller outcome, persisted result and replay behavior. No dynamic reproduction is claimed in this issue.
- Define success/control arbitration and admission guarantees explicitly before adding a stronger global outcome or cleanup policy. Preserve original failures and the behavior of completed replayed work.
Earlier discussions: r4233196696, r4233420625, and r4262385920. This is a tracking report; no automated implementation is requested.
- 主要语言
- Java
- 星标
- 28
- 派生
- 15
- 平均合并
- 1 天 13 小时
- 30 天内合并 PR
- 41
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws/aws-durable-execution-sdk-java 的其他 Issue
-
documentation pkg:sdk
难度 1/5 1-3 小时 新手友好度 88/100
aws/aws-durable-execution-sdk-java#645 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
aws/aws-durable-execution-sdk-java#300 ·
维护者通常 1 天内回复
-
[Epic]: Durable Functions on LMI可能已有人在做 @zhongkechen 于 1 天前认领。 未关闭
aws/aws-durable-execution-sdk-java#798 · 已指派 1 人 ·
维护者通常 1 天内回复
-
enhancement needs-triage
难度 5/5 一周以上 新手友好度 35/100
aws/aws-durable-execution-sdk-java#779 ·
维护者通常 1 天内回复
-
[Feature]: Propagate per-operation trace context for chained invokes可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭enhancement needs-triage
难度 5/5 一周以上 新手友好度 38/100
aws/aws-durable-execution-sdk-java#764 ·
维护者通常 1 天内回复
查看 aws/aws-durable-execution-sdk-java 的全部 Issue
相似的 Issue
-
enhancement Improvement
难度 2/5 1-3 小时 新手友好度 76/100
zowe/zowe-client-java-sdk#647 ·
-
NullPointerException when a `DeserializationProblemHandler` returns `null` for `byte[]` (single value unwrapped) and `char[]` elements可能已有人在做 @Marti2203 今天认领。 未关闭
难度 2/5 半天 新手友好度 88/100
FasterXML/jackson-databind#6300 ·
维护者通常 1 天内回复
-
content good first issue
难度 1/5 1 小时以内 新手友好度 95/100
cpinitiative/usaco-guide#6699 ·
维护者通常 1 天内回复
-
BC remittance upload: a claim MSP refused (S03) is saved with a blank status instead of refused (F)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭type: bug
难度 2/5 1-3 小时 新手友好度 88/100
carlos-emr/carlos#4933 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
apache/rocketmq-dashboard#6925 ·
维护者通常 3 天内回复