In my app, I'm checking for the 'running' flag if the replication that the user has initiated (showing a 'Please wait...' message box) is done already. But I have an issue when the user goes back to the iPad main screen if the sync is taking a while. It seems to set the 'running' flag to false when the user does this. Am I right on this?
2012-11-13 00:34:56.422 entrygenius-ios[14305:707] Processed 6886 / 6887 changes, 1
2012-11-13 00:34:59.422 entrygenius-ios[14305:707] Idle, 1
2012-11-13 00:35:02.422 entrygenius-ios[14305:707] Idle, 1
2012-11-13 00:35:05.422 entrygenius-ios[14305:707] Idle, 1
2012-11-13 00:35:08.422 entrygenius-ios[14305:707] Idle, 1
2012-11-13 00:35:11.422 entrygenius-ios[14305:707] Idle, 1
2012-11-13 00:35:14.422 entrygenius-ios[14305:707] Processed 6886 / 6887 changes, 1
2012-11-13 00:35:17.422 entrygenius-ios[14305:707] Processed 6886 / 6887 changes, 1
2012-11-13 00:35:20.422 entrygenius-ios[14305:707] Idle, 1
2012-11-13 00:35:23.423 entrygenius-ios[14305:707] Idle, 1
2012-11-13 00:35:26.422 entrygenius-ios[14305:707] Idle, 1
2012-11-13 00:35:29.422 entrygenius-ios[14305:707] Idle, 1
2012-11-13 00:35:32.422 entrygenius-ios[14305:707] Idle, 1
2012-11-13 00:35:35.422 entrygenius-ios[14305:707] Processed 6886 / 6887 changes, 1
2012-11-13 00:35:38.422 entrygenius-ios[14305:707] Idle, 1
This means I never know when we're done. How do I find out what it's stuck on?This means I never know when we're done. How do I find out what it's stuck on?
There seems to be a weird issue with Cloudant. I am replicating with a read/write access, and it has been getting stuck with replication for a few days now. So what I did is make the user 'admin', just to test. And the problem when away. Replication seems to work ok and fast. Is this a Cloudant issue or TouchDB?
Are you replicating against Cloudant? I'm getting some issues too for the past couple of days. :(
If it goes to ‘idle’, you can consider it done. If completed < total, that means not all the docs could be replicated, and it’ll try again in a little while. What’s the .error property of the replication?
2012-11-13 00:34:56.422 entrygenius-ios[14305:707] Processed 6886 / 6887 changes, 1
2012-11-13 00:34:59.422 entrygenius-ios[14305:707] Idle, 1
2012-11-13 00:35:02.422 entrygenius-ios[14305:707] Idle, 1
2012-11-13 00:35:05.422 entrygenius-ios[14305:707] Idle, 1
2012-11-13 00:35:08.422 entrygenius-ios[14305:707] Idle, 1
2012-11-13 00:35:11.422 entrygenius-ios[14305:707] Idle, 1
2012-11-13 00:35:14.422 entrygenius-ios[14305:707] Processed 6886 / 6887 changes, 1
—Jens
Sorry sir, but I'm trying to check the 'completed' and 'total' properties, but they are always 0. I'm using one-shot push/pull replication.