Skip to content

Mirror client fixes - #1086

Merged
AlCutter merged 4 commits into
transparency-dev:mainfrom
AlCutter:mirror_client_fixes
Aug 4, 2026
Merged

Mirror client fixes#1086
AlCutter merged 4 commits into
transparency-dev:mainfrom
AlCutter:mirror_client_fixes

Conversation

@AlCutter

@AlCutter AlCutter commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

This PR makes a couple of minor fixes to the MTC mirror client:

  1. Allow zero-sized checkpoints to collect cosignatures / refresh checkpoints on quiescent logs.
  2. Don't panic if a "short" entry bundle is returned from the source log.
  3. Handle situations where the mirror is further ahead than the client believes.

Towards #945

Comment thread client/mirror/client.go Outdated

// Push the checkpoint with the old size (0 if not provided).
for c.oldSize < targetSize {
// Keep trying for as long we we get conflict errors or the context is not cancelled.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
// Keep trying for as long we we get conflict errors or the context is not cancelled.
// Keep trying for as long as we get conflict errors or the context is not cancelled.

Comment thread client/mirror/client.go
@AlCutter
AlCutter force-pushed the mirror_client_fixes branch from 93f0a0d to 49ca7fc Compare August 3, 2026 16:12
@AlCutter
AlCutter force-pushed the mirror_client_fixes branch from 49ca7fc to 054047f Compare August 3, 2026 16:44
Comment thread client/mirror/client.go Outdated
Comment thread client/mirror/client.go Outdated
Comment thread client/mirror/client.go
@AlCutter
AlCutter force-pushed the mirror_client_fixes branch 2 times, most recently from a4d7cad to d2c5fad Compare August 4, 2026 11:32
Comment thread client/mirror/client.go Outdated
@AlCutter
AlCutter force-pushed the mirror_client_fixes branch from d2c5fad to 5278baf Compare August 4, 2026 14:25
@AlCutter
AlCutter merged commit abf7b1e into transparency-dev:main Aug 4, 2026
20 checks passed
@AlCutter
AlCutter deleted the mirror_client_fixes branch August 4, 2026 14:33
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