Allow record inserts to fail individually: this can be considered a bug fix or an improvement. Currently when performing inserts, the whole localStoreMOC will fail to save if a single record fails, which is not great, especially when performing an initial, large sync with many records. New logic employs child contexts for each record, which can fail without affecting the localStoreMOC
Bug fix: relationship attributes not uploaded: this didn't happen before, I am not sure when this broke but the current master version essentially ignores relationship attributes when creating CKRecords
Smarter retry for deferred records: currently tries up to 5 times as long as deferred records remain. Smarter logic tries as many time as needed, and gives up if the number of deferred records stops decreasing or reaches 0
Better logging: Just more explicit (the logging changes were put to good use when troubleshooting the issues above, I figured might as well keep the improvements in place)
localStoreMOC
will fail to save if a single record fails, which is not great, especially when performing an initial, large sync with many records. New logic employs child contexts for each record, which can fail without affecting thelocalStoreMOC
CKRecords