Skip to content

Implement correct calculation for checkpointingTimestampGap#813

Merged
FileSystemGuy merged 2 commits into
mainfrom
bugfix/fix-checkpointingTimestampGap-calculation-with-invocation-start-end
Jul 17, 2026
Merged

Implement correct calculation for checkpointingTimestampGap#813
FileSystemGuy merged 2 commits into
mainfrom
bugfix/fix-checkpointingTimestampGap-calculation-with-invocation-start-end

Conversation

@wolfgang-desalvador

Copy link
Copy Markdown
Contributor

No description provided.

@wolfgang-desalvador
wolfgang-desalvador requested a review from a team July 17, 2026 16:51
@github-actions

Copy link
Copy Markdown

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@wolfgang-desalvador

wolfgang-desalvador commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

This fixes #812 @FileSystemGuy

@FileSystemGuy
FileSystemGuy merged commit e20b4e7 into main Jul 17, 2026
4 checks passed
@FileSystemGuy
FileSystemGuy deleted the bugfix/fix-checkpointingTimestampGap-calculation-with-invocation-start-end branch July 17, 2026 17:02
FileSystemGuy added a commit that referenced this pull request Jul 17, 2026
…#814)

#813 switched 2.1.24 checkpointingTimestampGap from the DLIO summary start/end
to the invocation bookends (metadata.invocation_start_time /
invocation_end_time), but shipped without a test — the existing 2.1.24 cases
all pass metadata={} and exercise only the summary fallback, leaving the new
bookend behavior uncovered.

Add three cases to the 2.1.24 sentinel file:
- gap_uses_invocation_bookends_not_summary: the #812 scenario — a valid pair
  whose true quiet window is 5 s but whose DLIO summary window is inflated to a
  65 s apparent gap by read startup + write cluster collection. Must pass.
  (Verified RED against the pre-#813 summary-based code, GREEN with #813.)
- bookend_gap_still_flags_a_genuine_long_pause: a 5-minute bookend gap against
  10 s invocations must still fail — the source-swap must not neuter the check.
- falls_back_to_summary_when_bookends_absent: pre-bookend results dirs
  (metadata without the keys) still validate via the summary fallback.

Test-only; the fix landed in #813.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants