Re: Couchdb Attachments architecture

2015-09-22 Thread Adam Kocoloski
Yes, actually we do have something in the works related to COUCHDB-769 to offload attachments to an external object storage system. We preserve the CouchDB API so an end user can’t tell if the offloading is happening. I’m overdue to get the code posted, and it’s only a prototype so it’ll need so

Re: Setting database security document from Erlang API

2015-09-22 Thread Alexander Shorin
Hi! couch_db:set_security is: set_security(#db{update_pid=Pid}=Db, {NewSecProps}) when is_list(NewSecProps) -> check_is_admin(Db), ok = validate_security_object(NewSecProps), ok = gen_server:call(Pid, {set_security, NewSecProps}, infinity), {ok, _} = ensure_full_commit(Db), ok