Is there a plan for android about the ‘feature/lazy_attachments’?

On Friday, August 7, 2015 at 4:42:50 AM UTC+8, Jens Alfke wrote:
>
> I’m working on support for deferring attachment downloads  — you’ll be 
> able to tell a pull replication not to download attachment contents, and 
> then you can request that individual attachments be downloaded. This 
> feature has been requested many times.
>
> My work so far is checked into the couchbxse-lite-ios repo as a branch 
> named ‘feature/lazy_attachments’. You’re welcome to try it out or critique 
> it. There are some preliminary docs here 
> <https://github.com/couchbase/couchbase-lite-ios/wiki/Deferred-Attachment-Downloading>
>  on 
> the wiki. There’s also a C# pull request by a 3rd party 
> <https://github.com/couchbase/couchbase-lite-net/pull/471> that uses a 
> somewhat different API.
>
> This is preliminary and the API and features are subject to change. I’m 
> particularly interested in which of the limitations/issues people consider 
> to be deal-breakers or highest priority. Quoting from the wiki page:
>
> • There's not currently any way to pull some attachments automatically but 
> not others. It's all or nothing.
> • Multiple calls to download the same attachment will issue redundant 
> downloads, wasting network bandwidth. (Only one copy will be saved to disk, 
> though.)
> • Attachment downloading isn't as fault-tolerant as regular replication: 
> if there's no network connectivity or the server isn't reachable, the 
> request will immediately fail. If the request fails, it won't be 
> retried automatically.
> • If you retry an interrupted download, it starts over from the beginning 
> instead of where it left off.
> • There's no way yet to cancel or pause a download.
> • There's no way to "un-download" an attachment, i.e. purge an attachment 
> from local storage.
>
>
> —Jens
>

-- 
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 mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/047e02ee-7f16-45d6-b60e-71f35c77074d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to