Permalink
Commits on Sep 30, 2011
  1. Fix off by one error

    Bob Dionne
    Bob Dionne committed Sep 28, 2011
    That allowed the first doc to be copied over as TotalCopied begins with 0
  2. Introduce snapshots to improve compaction

    Bob Dionne
    Bob Dionne committed Sep 28, 2011
    A snapshot is just a db_header that contains a unique id, a pointer to
    the header and a pointer to the previous header. The snapshots thus form
    a linked list. When compaction runs the list is traversed to find the
    oldest snapshot and compaction is performed in chunks, a snapshot at a
    time walking back up the list. This allows docs that have have not been
    edited to be copied only once. If compaction crashes or is restarted to
    top off, it begins at the next snapshot after the update_seq.
    
    BugzID:12639
Commits on Sep 23, 2011
  1. whitespace

    Bob Dionne
    Bob Dionne committed Sep 23, 2011
Commits on Sep 12, 2011
  1. Add missing database 'created' event.

    benoitc committed Sep 10, 2011
    The `created` event is emitted on apache couchdb when a database is
    created. This patch re-add it to bigcouch.
Commits on Aug 17, 2011
  1. add httpd/aborted_requests description.

    Robert Newson
    Robert Newson committed Aug 17, 2011
Commits on Aug 15, 2011
Commits on Aug 13, 2011
  1. assert that calls to file functions actually succeed.

    rnewson authored and kocolosk committed Jul 25, 2011
    1) couch_file:sync could leave open fd's if close failed. Now we'll get a trace.
    2) couch_file:append_term failing would be bad, so let's test that too.
    
    backported from trunk r1150915
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1150918 13f79535-47bb-0310-9956-ffa450edef68
  2. include new share/www files missed in the 1.1 merge.

    Robert Newson authored and kocolosk committed Jul 23, 2011
  3. allow replication callback module to be chosen at runtime.

    Robert Newson authored and kocolosk committed Jul 14, 2011
  4. move couch_js_functions.hrl to include dir

    Robert Newson authored and kocolosk committed Jul 13, 2011
Commits on Aug 12, 2011
  1. Allow asynchronous view group updates.

    Robert Newson
    Robert Newson committed Aug 12, 2011
Commits on Aug 3, 2011
Commits on Jul 5, 2011
  1. Remove warning about unused variable

    fdmanana authored and Robert Newson committed Jul 3, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1142410 13f79535-47bb-0310-9956-ffa450edef68
  2. Merged revision 1142262 from trunk

    fdmanana authored and Robert Newson committed Jul 2, 2011
        On server startup, restart replications in error
    
        If we setup a continuous replication which goes into
        an error state and restart Couch just before the
        replication is retried (before it transitions to the
        triggered state), the user has to manually restart
        the replication (recreating the document or deleting
        its _replication_state field).
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1142263 13f79535-47bb-0310-9956-ffa450edef68
  3. Merge revision 1142259 from trunk

    fdmanana authored and Robert Newson committed Jul 2, 2011
        Replication manager, ignore db monitor messages
    
        Ignore local database monitor messages. These messages
        are received in some circunstances because replication
        processes spawn local database monitors but never
        do the corresponding erlang:demonitor/1,2 calls.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1142260 13f79535-47bb-0310-9956-ffa450edef68
  4. Restart replications on error

    fdmanana authored and Robert Newson committed Jul 2, 2011
    If a replication transitions to the "error" state, attempt
    to restart it up to "max_replication_retry_count" times
    (.ini configuration parameter). This number of retry attempts
    can now be set to "infinity" as well.
    
    This was already current behaviour in trunk (upcoming 1.2).
    
    Closes COUCHDB-1194.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1142258 13f79535-47bb-0310-9956-ffa450edef68
    
    Conflicts:
    
    	apps/couch/src/couch_rep.erl
  5. Backport revision 1140886 from trunk

    fdmanana authored and Robert Newson committed Jun 28, 2011
        Improved error message in the replicator
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1140887 13f79535-47bb-0310-9956-ffa450edef68
  6. Merged revision 1104168 from trunk

    fdmanana authored and Robert Newson committed Jun 23, 2011
       Add infinity timeout to couch_ref_counter calls
    
       After compacting a very large database, the updater calls the couch_db gen_server with
       a db record that contains a new ref counter. The couch_db gen_server calls drop on the
       old ref counter and calls add on the new ref counter. However since the system is busy
       deleting the old db file or garbage collecting, one of the ref counter calls times out,
       causing couch_db's terminate to invoked and terminate calls shutdown on the updater.
       However the updater is waiting for the call it made to couch_db to complete, which can't
       complete since it's waiting for the updater.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1138799 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jun 29, 2011
  1. Guard against dead fd process in is_idle/1

    kocolosk committed Jun 29, 2011
    BugzID: 12365
Commits on Jun 22, 2011
  1. Merge remote-tracking branch 'upstream/1.1.x' into 0.4.x

    Robert Newson
    Robert Newson committed Jun 22, 2011
    Conflicts:
    	acinclude.m4.in
    	apps/couch/src/couch_app.erl
    	apps/couch/src/couch_doc.erl
    	apps/couch/src/couch_view.erl
    	configure.ac
    	share/www/script/test/replicator_db.js
    	src/erlang-oauth/Makefile.am
    	test/etap/Makefile.am
Commits on Jun 21, 2011
  1. Backport revision 1137928 from trunk

    fdmanana committed Jun 21, 2011
        Fix server crash associated with the replicator database      
    
        If there's an exception when calculating the replication ID
        for a replication document, it crashes the replication manager
        gen_server 10 times. 10 is the maximum number of restarts per
        hour specified for the couch_server_sup supervisor.
        An easy way to trigger such exception is to specify a non
        existent filter in a replication document.
    
        This closes COUCHDB-1199.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1137929 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jun 20, 2011
  1. Fix spurious declarations of new merge conflicts

    rnewson committed Jun 20, 2011
    This patch also adds extra tests of the key tree merging logic as well
    as edoc-formatted documentation for the module and a few of the merge
    functions.  Closes COUCHDB-902.
    
    Thanks Paul Davis, Bob Dionne, Klaus Trainer.
    
    backported from trunk@1065471
    
    
    Conflicts:
    
    	src/couchdb/couch_key_tree.erl
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1137789 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jun 17, 2011
  1. use fabric branch couch_1.1

    Robert Newson
    Robert Newson committed Jun 17, 2011
Commits on Jun 16, 2011
  1. Merge revision 1136639 from trunk

    fdmanana committed Jun 16, 2011
        Human readable message on view compaction error  
    
        When a view has duplicated document IDs in the main btree,
        the view compactor exists. Unfortunatelly its exit reason is
        not human readable because it's an IOList.
        This patch improves the error message and logs it with an
        'error' level.
    
        Issue reported by Mike Leddy in ticket COUCHDB-999.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1136640 13f79535-47bb-0310-9956-ffa450edef68
  2. support _design and _doc_ids filters.

    Robert Newson
    Robert Newson committed Jun 16, 2011
Commits on Jun 13, 2011
  1. Merge CouchDB 1.1

    Robert Newson
    Robert Newson committed Jun 13, 2011
Commits on Jun 12, 2011
  1. Backport revision 1129897 from trunk

    fdmanana committed Jun 12, 2011
        Fixes to the doc PUT multipart API
        
        Don't hold the connection forever if the document is rejected
        by a validate_doc_update function. The solution is to discard
        all the attachments' data if the document was rejected.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1134942 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jun 11, 2011
  1. Backport r113686 from trunk

    tilgovi committed Jun 11, 2011
    add 072-cleanup.t to etap Makefile.am
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1134729 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jun 8, 2011
  1. backport r1133312 from trunk

    tilgovi committed Jun 8, 2011
    _view_cleanup with no _design docs - COUCHDB-1136
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1133510 13f79535-47bb-0310-9956-ffa450edef68
  2. bump minimum erlang to R13B02 (COUCHDB-1191)

    tilgovi committed Jun 8, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1133272 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jun 3, 2011
  1. import version 1.0.2 info to NEWS/CHANGES.

    rnewson committed Jun 3, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1131049 13f79535-47bb-0310-9956-ffa450edef68
  2. unfreeze 1.1.x - prep for 1.1.1

    rnewson committed Jun 3, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1130997 13f79535-47bb-0310-9956-ffa450edef68