Skip to content

Fix/batch processing schema mismatch#108

Merged
zephyranthes03 merged 14 commits intostagingfrom
fix/batch-processing-schema-mismatch
Feb 5, 2026
Merged

Fix/batch processing schema mismatch#108
zephyranthes03 merged 14 commits intostagingfrom
fix/batch-processing-schema-mismatch

Conversation

@zephyranthes03
Copy link
Contributor

Fix SyncConfiguration delta fields for all ActionTaken cases

  • Add compute_recently_changed_items() for SERVER_TO_CLIENT and NO_CHANGE
  • Fix apply_client_configuration() to populate recently_deleted
  • Config changes now properly propagate between devices

- Fix list_files N+1 with HashMap-based watcher ID mapping
- Rewrite batch_upsert_watchers: ~250 queries → 5 queries
- Add 500-watcher chunking to prevent max_allowed_packet errors
- Add batch size metrics logging
- Remove duplicate UPSERT in register_watcher_group
Resolve conflicts to sync with latest staging changes
- Add compute_recently_changed_items() for SERVER_TO_CLIENT and NO_CHANGE
- Fix apply_client_configuration() to populate recently_deleted
- Config changes now properly propagate between devices
- Purge now marks is_deleted=TRUE instead of hard delete
- New CheckFilesExist RPC for efficient batch file checks
- Purge now marks is_deleted=TRUE instead of hard delete
- New CheckFilesExist RPC for efficient batch file checks
@zephyranthes03 zephyranthes03 merged commit 40c8ce3 into staging Feb 5, 2026
6 checks passed
@zephyranthes03 zephyranthes03 deleted the fix/batch-processing-schema-mismatch branch February 5, 2026 20:56
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.

1 participant