Hi Brendan,
I’m trying to sync duplicate records (changed to new records) i’ve made on my iPhone database back to database on mac.
It’s not instantiating at any level whilst I have all green lights ready for local sync! (File > Sync Now)
from memory it used to work, now it doesn’t. No failure warning, no sync feedback or errors are shown.
using latest builds; macOS 5.0.4 b1545, ios 5.0.2 b531
Regards,
Robert.
Ok, I’ll investigate, but I don’t see why duplicating a record would make a difference, but who knows.
If after you duplicate a record and then make a slight change to it, does it then sync or is it just the initial duplication that doesn’t sync?
Try closing the document for about 20 seconds on each device and then open it up again.
I just had to do that after my iPhone went to sleep. But then it synced just fine, even records I duplicated.
OK it works as usual after coming back to it.
I would’ve thought local sync would be instantaneous, is this not the case?
There’s a few seconds delay, but I have seen that if your device goes to sleep, the listener stops listening and it starts again when you close and re-open the document. I need to contact Couchbase about that to see why that happens. It could be my code too.