Skip to content

fix(dav): detect truncated CardDAV sync results on all databases - #65939

Open
SebastianKrupinski wants to merge 1 commit into
masterfrom
fix/caldav-sync-token-results
Open

SebastianKrupinski wants to merge 1 commit into
masterfrom
fix/caldav-sync-token-results

Conversation

@SebastianKrupinski

@SebastianKrupinski SebastianKrupinski commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor
  • Resolves: # Client Ticket

Summary

  • Resolves: # Client Ticket
  • The fix only changes behaviour on SQLite and Oracle. MySQL/MariaDB and PostgreSQL were already counting correctly.
    On SQLite and Oracle, 0 === $limit is never true, so an incremental result is never marked as truncated. The server then returns the current sync token. The client accepts it and permanently skips every change after the first 2,500.
    This happens on the remote side, the server answering the sync request. So it affects anyone syncing from a SQLite or Oracle instance,

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
@SebastianKrupinski
SebastianKrupinski force-pushed the fix/caldav-sync-token-results branch from 06e902d to c961634 Compare October 26, 2026 16:17
@SebastianKrupinski

Copy link
Copy Markdown
Contributor Author

/backport to stable35

@SebastianKrupinski

Copy link
Copy Markdown
Contributor Author

/backport to stable34

@SebastianKrupinski

Copy link
Copy Markdown
Contributor Author

/backport to stable33

@SebastianKrupinski SebastianKrupinski changed the title Fix/caldav sync token results fix(dav): detect truncated CardDAV sync results on all databases Oct 26, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

1 participant