Our replication has recently changed to a named replication by document ID 
similar to this.

        *self*.pullReplication.documentIDs = JSON;

        [*self*.pullReplication start];


Where JSON is 1356 document ID's.  Once we start the pull replication 
request we get the following error.


17:54:03.260‖ WARNING: CBLSocketChangeTracker[0x7af42800 
database_name_here]: Can't connect, giving up: Error Domain=CBLHTTP 
Code=414 "414 requested URL too long" UserInfo={LOTS OF DOC ID's HERE 
NSLocalizedFailureReason=requested URL too long, NSLocalizedDescription=414 
requested URL too long}


While the reason for the error is obvious is there anything we can do to 
configure CBL to handle numerous document ID's or have CBL do the 
replication above in batches?  If CBL cannot be configured to handle this 
many named document replication items is our best solution to make a 
batching system for requesting the named replication or are there any 
better solutions?

Thanks for the help as always.

-- 
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/f8f04782-686a-47b0-be91-0ff41737ae42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to