Skip to content
Discussion options

You must be logged in to vote

Thanks for asking before running it, and for testing on a copy first. I went through each point in the code and then reproduced the whole sequence on a test database (fold, your swap, rollup rebuild, fold switched back on, purge), and checked the current iPhone app build for the sync questions, so the answers below are observed, not just read.

Short answer: yes, it is safe, with four changes to what you posted.

1. Narrow the un-delete to the fold's own tombstones. external_id like 'sample:%' also matches samples deleted for other reasons: by you, by a delete-by-source, or by a cross-source dedup. In the reproduction, a reading I had deleted by hand before the fold came back with the rest …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MBombeck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants