A partial sync recorded each doc's new content_updated_at before fetching its detail. When a detail request failed after client retries, the cursor still held the new version, so every later incremental sync treated the doc as unchanged and never re-fetched it (mixed success/failure batches persist the cursor; only all-failed batches are aborted). Rewind the cursor entry to the previously synced version (existing docs) or drop it (new docs) on detail failure so recovery re-syncs the doc. Deletion detection is unaffected: currentDocs is set at listing time. Fixes #3690 Co-authored-by: LuckVd <LuckVd@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| client.go | ||
| client_test.go | ||
| connector.go | ||
| connector_test.go | ||
| toc_test.go | ||
| types.go | ||
| types_test.go | ||