Simperium/simperium-ios — pull request #253 by jleandroperez (2014-04-08 23:14:46+00:00)
Title: Issue #251: Prevent sending changes during reindex

When dealing with (lots of) pending changes, we had a race condition between changesets-being-uploaded and cv / reindex processing.

**Side effect:** index-reconciliation ends up nuking "objects that just got uploaded, but weren't in the index response".

Now the lib will first perform a reindex OP (or get the latest changes), and only then will upload pendings.