Permalink
Commits on Jan 8, 2011
  1. Add missing case for COUCHDB-966

    When not able to read one of the .ini configuration files due to file permissions,
    map {error, eacces} into {file_permission_error, Filepath} and throw that as an exception.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1056694 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Jan 8, 2011
Commits on Jan 7, 2011
  1. Small refactoring of couch_log

    Also added a precompiled end-of-line regexp to the state of the gen_event and a missing
    file:close/1 call.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1056462 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Jan 7, 2011
  2. Minor cleanups in couch_httpd

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1056324 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Jan 7, 2011
  3. More explicit and helpful file access permission errors

    Closes COUCHDB-966
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1056274 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Jan 7, 2011
Commits on Jan 5, 2011
  1. Avoid unnecessary declaration of anonymous functions

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1055612 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Jan 5, 2011
  2. Added [httpd] socket_options and server_options

    Part of this patch (the server_options parameter) is a contribution from Randall Leeds.
    Closes COUCHDB-1008
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1055592 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Jan 5, 2011
Commits on Jan 3, 2011
  1. Removed references to no longer used config parameters

    Closes COUCHDB-1007
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1054740 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Jan 3, 2011
  2. rever changes in supervision tree & such.

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1054624 13f79535-47bb-0310-9956-ffa450edef68
    Benoit Chesneau committed Jan 3, 2011
  3. import some changes from bigcouch. Improve a little the supervision

    tree.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1054594 13f79535-47bb-0310-9956-ffa450edef68
    Benoit Chesneau committed Jan 3, 2011
Commits on Jan 2, 2011
  1. Removed more 0.9 file format compatibility code

    This is no longer needed and was left by mistake
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1054394 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Jan 2, 2011
  2. Re-add eof to couch_file's state

    This was accidently removed together with the 0.9 compatibility code
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1054386 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Jan 2, 2011
Commits on Jan 1, 2011
  1. remove cyclic dependancy. couch_config is using couch_util too.

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1054290 13f79535-47bb-0310-9956-ffa450edef68
    Benoit Chesneau committed Jan 1, 2011
  2. fix issue COUCHDB-1002 .

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1054234 13f79535-47bb-0310-9956-ffa450edef68
    Benoit Chesneau committed Jan 1, 2011
Commits on Dec 30, 2010
Commits on Dec 29, 2010
  1. Two cleanups in couch_db_updater

    It also seems to add a little performance gain:
    
    http://graphs.mikeal.couchone.com/#/graph/8bf31813eef7c0b7e37d1ea259020a0
    
    Closes COUCHDB-1000
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1053731 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Dec 29, 2010
  2. Ignore closed connection after _changes are downloaded

    Closes COUCHDB-993
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1053656 13f79535-47bb-0310-9956-ffa450edef68
    kocolosk committed Dec 29, 2010
  3. Stem revision trees after merging a path, COUCHDB-968

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1053508 13f79535-47bb-0310-9956-ffa450edef68
    kocolosk committed Dec 29, 2010
  4. Skip recursive path merging, COUCHDB-968

    This patch ensures that we only ever merge a linear path into the tree.
    It relies on the stemming code to collapse paths that could have been
    merged together by a recursive use of merge_one.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1053507 13f79535-47bb-0310-9956-ffa450edef68
    kocolosk committed Dec 29, 2010
Commits on Dec 27, 2010
  1. Add the ability to use map view function to filter changes instead of

    duplicating the 
    effort in writing a filter function that does the same, which is 
    apparently done a lot. 
    
    Each time a value could be emitted, a change is returned. The url is : 
    
    http://127.0.0.1:5984/testdb/_changes?filter=_view&view=dname/viewname 
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1053132 13f79535-47bb-0310-9956-ffa450edef68
    Benoit Chesneau committed Dec 27, 2010
Commits on Dec 23, 2010
  1. Fix: replicator didn't use the HTTP settings defined in the .ini config

    Issue found by Randall Leeds. Thanks.
    Closes COUCHDB-992
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1052227 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Dec 23, 2010
Commits on Dec 22, 2010
  1. Allow a multipart/mixed document GET to send the attachments in encod…

    …ed (compressed) form
    
    Currently this API is not used internally but it's a very important one for the new replicator.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1052047 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Dec 22, 2010
  2. Make sure attachments get compressed when their MIME type lists param…

    …eters
    
    Closes COUCHDB-996.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1052031 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Dec 22, 2010
Commits on Dec 21, 2010
  1. Fix 180-http-proxy tests after Mochiweb upgrade.

    Content-Length and the HTTP body are returned as 0 and an empty binary
    instead of undefined.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1051612 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed Dec 21, 2010
  2. update benchbulk script for json content-type

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1051325 13f79535-47bb-0310-9956-ffa450edef68
    jchris committed Dec 21, 2010
Commits on Dec 20, 2010
  1. Upgraded ibrowse to version 2.1.2 (released today)

    This version fixes a blocking issue (which rarely happens) when using the same connection
    (with ot without pipelining) for multiple requests using the option {stream_to, {pid(), once}}.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1051082 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Dec 20, 2010
Commits on Dec 18, 2010
  1. Upgrade ibrowse to version 2.1.1

    This ibrowse release includes a few important fixes.
    See https://github.com/cmullaparthi/ibrowse for the list of fixes.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1050633 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Dec 18, 2010
  2. Use safer JSON.parse()

    Thanks Jason Smith for bringing this into attention.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1050621 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Dec 18, 2010
Commits on Dec 16, 2010
  1. Removed duplicated function

    An equivalent exists (couch_util:to_integer/1), but for this particular case it's not needed.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1050163 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Dec 16, 2010
Commits on Dec 14, 2010
Commits on Dec 13, 2010
  1. COUCHDB-984 - Fix spinner.gif

    Thanks to Nathan Vander Wilt for the report and Sebastian Cohnen for the fix.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1045203 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed Dec 13, 2010
Commits on Dec 8, 2010
  1. Fix compactor crash when .compact file is missing header

    Users affected by COUCHDB-968 can take advantage of this patch to
    force a compaction in retry mode and thus remove the duplicates.
    Simply create an empty dbname.couch.compact file in the database_dir
    before triggering the compaction for dbname.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1043540 13f79535-47bb-0310-9956-ffa450edef68
    kocolosk committed Dec 8, 2010
  2. Calculate and verify MD5 digests outside of a couch_file server

    This has a significant positive impact on the performance, both for readers and writers,
    when there are several requests in parallel acessing the same database or view index file.
    
    $ node tests/compare_write_and_read.js --wclients 100 --rclients 200 \
      -name1 md5_out -name2 trunk \
      -url1 http://localhost:5984/ -url2 http://localhost:5985/ \
      --duration 120
    
    
    run 1) http://graphs.mikeal.couchone.com/#/graph/5c859b3e7d1b9bd0488cfe271105130c
    
    run 2) http://graphs.mikeal.couchone.com/#/graph/5c859b3e7d1b9bd0488cfe2711051bba
    
    Closes COUCHDB-980
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1043524 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Dec 8, 2010
  3. Rename doc_to_tree -> to_path and move to couch_doc

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1043453 13f79535-47bb-0310-9956-ffa450edef68
    kocolosk committed Dec 8, 2010