You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the setup is: Two devices are syncing their changes.
If I'm adding a new device (iOS Simulator) and after downloading the whole store I can see all primary entities but on a relationship I see not the latest entry. Instead it is showing me an entry before as latest.
This is my documentSyncManagerShouldUploadWholeStoreAfterDocumentRegistration:
- (BOOL)documentSyncManagerShouldUploadWholeStoreAfterDocumentRegistration:(TICDSDocumentSyncManager *)aSyncManager
{
NSLog(@"%s", __PRETTY_FUNCTION__);
//If not download then uploadBOOL uploadStoreNow = self.shouldDownloadStoreAfterRegistering == NO;
return uploadStoreNow;
}
Changes on the new device will be synced to the existing devices but the missing entry never will be shown on the 3. device.
I tried to delete the Dropbox-App folder and start the sync from first device which upload the whole store but the entries are missing on the other devices but if new values added on the new device will be synced.
It seems to me that the downloaded store has all values before the update of the CoreData model:
A has a relation to B.
A has B1 and B2
CoreData Model update
Device 1 adds B3
Device 2 registered and downloads whole store.
Device 2 has B1 and B2 but not B3
Device 2 adds B4
Device 1 gets B4 with sync.
Device 3 registered and downloads whole store.
Device 3 has B1 and B2 but not B3 and B4
The text was updated successfully, but these errors were encountered:
We don't have any support in TICDS right now for new data models, so it's a very good chance that it's throwing a cog in the works. If you know that you've got the same data model on all your devices you should be able to reset your sync setup from one device and have all the other devices fall in line. We'll continue that conversation in issue #87.
Hi,
the setup is: Two devices are syncing their changes.
If I'm adding a new device (iOS Simulator) and after downloading the whole store I can see all primary entities but on a relationship I see not the latest entry. Instead it is showing me an entry before as latest.
This is my documentSyncManagerShouldUploadWholeStoreAfterDocumentRegistration:
Changes on the new device will be synced to the existing devices but the missing entry never will be shown on the 3. device.
I tried to delete the Dropbox-App folder and start the sync from first device which upload the whole store but the entries are missing on the other devices but if new values added on the new device will be synced.
It seems to me that the downloaded store has all values before the update of the CoreData model:
A has a relation to B.
A has B1 and B2
CoreData Model update
Device 1 adds B3
Device 2 registered and downloads whole store.
Device 2 has B1 and B2 but not B3
Device 2 adds B4
Device 1 gets B4 with sync.
Device 3 registered and downloads whole store.
Device 3 has B1 and B2 but not B3 and B4
The text was updated successfully, but these errors were encountered: