Hi,

So I've finally managed to get around to testing out Couchbase with 
Cloudant. So far it's working great!

But I've got a question about statuses. When I make a change and the push 
replicator gets called, I'm also noticing that the pull replicator is also 
getting called and the status is coming into the notification with a value 
of kCBLReplicationIdle. That would be fine if it were pulling data that was 
pushed from another device, but it seems to get triggered on the same 
device that's doing the pushing.

The reason this is a problem for me right now is because when I receive a 
pull from the replicator, I refresh the screen to display the new data. So 
this can be problematic when I'm entering data and tabbing to different 
fields. I lose focus from the refresh. The pull doesn't seem to be needed 
in this case though.

I tested to see what states a real pull goes through and basically it just 
goes from active to idle, which seems correct. The one that comes in when 
doing a push is just the idle state.

I'm just not sure if maybe I'm doing something wrong or thinking about it 
incorrectly.

Any pointers would be greatly appreciated. 

Thanks!

Brendan

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/24fad18e-657e-4317-80e7-24ee22b00b41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to