filer.remote.sync: keep the resume position for the retry when its write fails

The retry in the same process now resumes from the position the ended
subscription returned, as filer.backup does, so a failed offset write
followed by an empty read cannot recompute -timeAgo past a failed event.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Chris LuandClaude Opus 5.5 committed 2026-11-06 01:43:44 -08:00
1 parent a0d60ee00f
commit 39ef551bcf
5 files changed
+31 -8

No files matched your search

+1
View File
@@ -22,6 +22,7 @@ type RemoteSyncOptions struct {
dir *string
clientId int32
clientEpoch int32
resumeTsNs int64
}
var _ = filer_pb.FilerClient(&RemoteSyncOptions{})