8 Feb 2009 22:13
8 Feb 2009 22:18
Re: Erlang API status?
On Sun, Feb 8, 2009 at 1:13 PM, Gilbert B Garza <gilbertbgarza@...> wrote: > Hello, I'm wondering where on the road map lies a native Erlang API for > couchdb. We're about to start writing production software in Erlang, and I'm > wondering whether we should start coding with couchdb in mind, or use > another database instead. > Currently if you want to interface with Couch in Erlang, the best thing to do is see what's going in on the various couch_httpd_* modules. The internal Erlang API isn't supported or documented, but has been mostly stable for a while. I'm using it on a benchmarking project currently and its a pretty easy API to hook into if you already understand Couch's HTTP API. -- -- Chris Anderson http://jchris.mfdz.com
9 Feb 2009 01:22
Patch for packet_parser.c to Include HTTP Methods Defined in RFC 2518 / WebDAV
CC to dev <at> -- Dear OTP Team, the attached patch adds additional HTTP methods to packet_parser.c. The methods are defined in RFC 2518 / WebDAV. While not part of the HTTP/1.1 RFC 2616, these methods are useful when implementing a WebDAV (or similar) server in Erlang. I work on CouchDB. We borrowed the COPY and MOVE methods (but not the others) from RFC 2518 to allow additional operations on resources on the server. Until now, a parsed packet will include a list / string as the HTTP method if the method is not defined in packet_parser.c and as an atom otherwise. CouchDB uses this code to mitigate the issue: % Non standard HTTP verbs aren't atoms (COPY, MOVE etc) so convert when % possible (if any module references the atom, then it's existing). Meth -> couch_util:to_existing_atom(Meth) couch_util:to_existing_atom/1 handles the case: % works like list_to_existing_atom, except can be list or binary and it % gives you the original value instead of an error if no existing atom.(Continue reading)
22 Feb 2009 17:47
[RESULT]: Accept newline patch into CouchDB for 0.9 (Was: Re: VOTE: accept newline patch into CouchDB for 0.9)
Collecting: On 23 Jan 2009, at 23:42, Noah Slater wrote: > * Accept the patch (or a modified version) and add newline chars +1: 7 (2 binding) -1: 3 (2 binding) > * Reject the patch (and any modified version) and do not add > newlines chars +1: 3 (2 binding) -1: 4 > * Further discussion, to be decided before we release 0.9 +1: 1 (1 binding) -1: 1 (1 binding) > * Further discussion, to be decided after we release 0.9 +1: -1: 2 (2 binding) -- It looks like we have a draw with weigh-in from the community on a +1 to accept the patch. We need more discussion here.(Continue reading)
22 Feb 2009 17:57
[jira] Closed: (COUCHDB-127) couchdb tarball should not include ./bootstrap
[
https://issues.apache.org/jira/browse/COUCHDB-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Lehnardt closed COUCHDB-127.
--------------------------------
Resolution: Fixed
jan <at> dahlia ~/Work/couchdb/trunk/apache-couchdb-0.9.0a746669> find . -name bootstrap
jan <at> dahlia ~/Work/couchdb/trunk/apache-couchdb-0.9.0a746669>
this is no longer the case. I don't know in which revision this was fixed. closing.
> couchdb tarball should not include ./bootstrap
> ----------------------------------------------
>
> Key: COUCHDB-127
> URL: https://issues.apache.org/jira/browse/COUCHDB-127
> Project: CouchDB
> Issue Type: Bug
> Components: Build System
> Reporter: Noah Slater
> Assignee: Noah Slater
> Priority: Blocker
> Fix For: 0.9
>
>
--
--
(Continue reading)
22 Feb 2009 18:05
[jira] Closed: (COUCHDB-250) init script missing check for $COUCHDB_PID_FILE
[
https://issues.apache.org/jira/browse/COUCHDB-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Lehnardt closed COUCHDB-250.
--------------------------------
Resolution: Fixed
This works in trunk. Closing.
> init script missing check for $COUCHDB_PID_FILE
> -----------------------------------------------
>
> Key: COUCHDB-250
> URL: https://issues.apache.org/jira/browse/COUCHDB-250
> Project: CouchDB
> Issue Type: Bug
> Components: Build System
> Affects Versions: 0.9
> Environment: gentoo
> Reporter: Joshua Bronson
> Priority: Blocker
> Fix For: 0.9
>
>
> the following patch fixes this:
> Index: etc/init/couchdb.tpl.in
> ===================================================================
> --- etc/init/couchdb.tpl.in (revision 744021)
(Continue reading)
22 Feb 2009 23:30
Re: [RESULT]: Accept newline patch into CouchDB for 0.9 (Was: Re: VOTE: accept newline patch into CouchDB for 0.9)
On Sun, Feb 22, 2009 at 05:47:00PM +0100, Jan Lehnardt wrote:
> It looks like we have a draw with weigh-in from the community
> on a +1 to accept the patch.
>
> We need more discussion here.
Oh wow, I was very confused by this.
I actually announced the results on the 2009-02-01, and wondered why you were
ignoring these... but a careful check of my mail archives reveals I managed to
have an entire subthread replying to my own emails. What a looser.
Bellow is what I had originally written:
--------------------------------------------------------------------------------
The results are in, and my conclusions are:
* The community and PMC have decided to open this issue back up for
discussion, with the proviso that we complete our final decision before
releasing 0.9 -- which means another vote in a week or so. Heh.
* The community was strongly in favour of accepting the patch, but the PMC was
almost completely split down the middle, with a slightly preference for not
accepting the patch.
Over the course of the vote, we had a little discussion, but maybe not enough.
Is there anything else any wants to add? Nows the time!
(Continue reading)
23 Feb 2009 04:14
[jira] Commented: (COUCHDB-67) Allow unicode chars in database names and _design documents (was: Allow periods (".") in database names)
[
https://issues.apache.org/jira/browse/COUCHDB-67?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675747#action_12675747
]
Chris Anderson commented on COUCHDB-67:
---------------------------------------
The work that Antony did so far is available (more or less) at http://github.com/AntonyBlakey/couchdb.notsogood/commit/8e60f9f990e1c987088fc7bff37c60641fb10d01
It's against an old version of CouchDB, and is missing a few features, but the main module should be
relatively the right thing.
> Allow unicode chars in database names and _design documents (was: Allow periods (".") in database names)
> --------------------------------------------------------------------------------------------------------
>
> Key: COUCHDB-67
> URL: https://issues.apache.org/jira/browse/COUCHDB-67
> Project: CouchDB
> Issue Type: Improvement
> Components: Database Core, HTTP Interface
> Environment: All
> Reporter: Jan Lehnardt
> Assignee: Jan Lehnardt
> Priority: Blocker
> Fix For: 0.9
>
>
> Allow periods in database names. We need to find out if a period is among the "safe" characters that can be
used for filenames on most filesystems.
(Continue reading)
23 Feb 2009 04:24
[jira] Commented: (COUCHDB-240) Replication breaks with large Attachments.
[
https://issues.apache.org/jira/browse/COUCHDB-240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675749#action_12675749
]
Jeff Hinrichs commented on COUCHDB-240:
---------------------------------------
I've seen the same with attachments as small as 18MB -- see
http://mail-archives.apache.org/mod_mbox/couchdb-user/200901.mbox/browser
> Replication breaks with large Attachments.
> ------------------------------------------
>
> Key: COUCHDB-240
> URL: https://issues.apache.org/jira/browse/COUCHDB-240
> Project: CouchDB
> Issue Type: Bug
> Components: Database Core
> Affects Versions: 0.9
> Environment: r 741265. Debian Linux unknown revision, FreeBSD 7.0. GBit Network connection between the hosts.
> Reporter: Maximillian Dornseif
>
> I use the code in http://code.google.com/p/couchdb-python/issues/detail?id=54 to do replication
between two machines.
> I'm running 741265 on both machines. I have a Database with big attachments (high-res images, 31.1
GB, 34026 Docs). "Pull" replication breaks with following message sent via http:
> couchdb.client.ServerError: (500, ('function_clause',
"[{lists,map,[#Fun<couch_rep.10.28922857>,ok]},\n {couch_rep,open_doc_revs,4},\n
{couch_rep,'-enum_docs_parallel/3-fun-1-',3},\n {couch_rep,'-spawn_worker/3-fun-0-',3}]"))
(Continue reading)
23 Feb 2009 10:07
[jira] Updated: (COUCHDB-260) Support for reduce views in _list
[
https://issues.apache.org/jira/browse/COUCHDB-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Davies updated COUCHDB-260:
---------------------------------
Attachment: list_reduce_views.3.diff
Added fix and tests for bug when _list is empty (i.e. head, row and tail are ""). Also started refactoring map
and reduce code to remove code duplication.
> Support for reduce views in _list
> ---------------------------------
>
> Key: COUCHDB-260
> URL: https://issues.apache.org/jira/browse/COUCHDB-260
> Project: CouchDB
> Issue Type: Bug
> Components: HTTP Interface
> Reporter: Jason Davies
> Priority: Blocker
> Fix For: 0.9
>
> Attachments: list_reduce_views.2.diff, list_reduce_views.3.diff, list_reduce_views.diff
>
>
> The awesomeness of _list needs the awesomeness of reduce views. Patch to follow.
--
--
(Continue reading)
RSS Feed