It might be related to this ticket:

https://github.com/couchbase/sync_gateway/issues/374#issuecomment-49670992

Sent from my iPhone

> On Aug 7, 2014, at 2:45 AM, Sascha Lüdecke <[email protected]> wrote:
> 
> Hi all,
>  
> we are adding image attachments larger than 1MB to our documents using
>  
> UnsavedRevision newRev = doc.createRevision();
> newRev.setAttachment(filename, mimeType, stream);
> newRev.save();
>  
> When the sync_gateway (1.0.0-23; commit abbfd465) is started as a walrus 
> database, everything is replicated nice and smothely. When the sync_gateway 
> is connected to a couchbase server (2.2.0 community edition (build-837)), the 
> couchbase server chokes on them with repeated messages in error and debug log:
>  
> [mapreduce_errors:error,2014-08-06T8:17:05.255,[email protected]:<0.16636.37>:couch_set_view_updater:load_doc:483]Bucket
>  `usercontent_publicbeta`, main group `_design/sync_gateway`, skipping 
> document with ID `_sync:att:sha1-+BNbV0BRAZNtU/IM8oqWUthvfYc=`: too large 
> body (2832362 bytes)
>  
> As far as I have been able to read, the limit of documents in the server is 
> 10 MB so those images should work fine.
>  
> Any ideas / pointers?
>  
> Best regards,
> Sascha
> -- 
> 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/2351640.2Za7ljy6nD%40slux.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/A8EE693F-591E-4B91-A738-F372F0B5B8DA%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to