Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

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

    Bob Dionne authored
    That allowed the first doc to be copied over as TotalCopied begins with 0
  2. Introduce snapshots to improve compaction

    Bob Dionne authored
    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.
Commits on Sep 23, 2011
  1. whitespace

    Bob Dionne authored
Commits on Sep 12, 2011
  1. @benoitc

    Add missing database 'created' event.

    benoitc authored
    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 authored
Commits on Aug 15, 2011
  1. @kocolosk
Commits on Aug 13, 2011
  1. @rnewson @kocolosk

    assert that calls to file functions actually succeed.

    rnewson authored kocolosk committed
    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: 13f79535-47bb-0310-9956-ffa450edef68
  2. @kocolosk

    allow replication callback module to be chosen at runtime.

    Robert Newson authored kocolosk committed
  3. @kocolosk

    move couch_js_functions.hrl to include dir

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

    Robert Newson authored
Commits on Jul 5, 2011
  1. @fdmanana

    Remove warning about unused variable

    fdmanana authored Robert Newson committed
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
  2. @fdmanana

    Merged revision 1142262 from trunk

    fdmanana authored Robert Newson committed
        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: 13f79535-47bb-0310-9956-ffa450edef68
  3. @fdmanana

    Merge revision 1142259 from trunk

    fdmanana authored Robert Newson committed
        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: 13f79535-47bb-0310-9956-ffa450edef68
  4. @fdmanana

    Restart replications on error

    fdmanana authored Robert Newson committed
    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: 13f79535-47bb-0310-9956-ffa450edef68
  5. @fdmanana

    Backport revision 1140886 from trunk

    fdmanana authored Robert Newson committed
        Improved error message in the replicator
    git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
  6. @fdmanana

    Merged revision 1104168 from trunk

    fdmanana authored Robert Newson committed
       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: 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jun 29, 2011
  1. @kocolosk

    Guard against dead fd process in is_idle/1

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

    Robert Newson authored
Commits on Jun 16, 2011
  1. support _design and _doc_ids filters.

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

    Robert Newson authored
Commits on May 19, 2011
  1. Removed duplicate code, thanks davisp.

    Robert Dionne authored
  2. @kocolosk

    Fix under-reported values in reduce views

    kocolosk authored
    Thanks Hardtke for ruining my afternoon^H^H^H^H demonstrating the bug.
    BugzID: 12112
Commits on May 5, 2011
  1. Allow : in passwords (COUCHDB-969)

    Robert Newson authored
Commits on Apr 19, 2011
  1. @kocolosk

    Track and report size of live data in DBs and views

    Robert Dionne authored kocolosk committed
    The #full_doc_info record is extended to include the summed size of
    leaf revision document bodies and their attachments.  Document sizes
    are computed on update; accurate sizes of existing databases and
    view groups are only available after compaction.
    The document size is defined to be the size of the binary
    representation of #doc.body.  The att_len field is used for
    attachments; attachments that are shared by multiple revisions of a
    document are only counted once.  The size of a view index is defined as
    the size of all keys, values, and reductions accessible from the current
    root of the tree.
    BugzID: 9995
  2. @kocolosk

    BugzID:9995 Add a tree foldl function to couch_key_tree.

    Robert Dionne authored kocolosk committed
    This function can be used by many of the existing functions
    in couch_key_tree that need to walk the revision tree, apply
    a function at each branch or leaf, and then accumulate results.
Commits on Apr 18, 2011
  1. @kocolosk

    Monitor Fd after creating DB

    Robert Dionne authored kocolosk committed
    This patch has the side effect of fixing a crash of the _users DB after
    the first minute of running.  The crash occurs because BigCouch presumes
    that couch_stats_collector is monitoring the file descriptor, but
    nothing prevents the supervisor from starting couch_auth_cache (and thus
    opening the _users DB) before couch_stats_collector is started.  The
    start order is determined by the ordering of the children from the
    config file in couch_config's ets set.
    Closes #39
    BugzID: 11854
Commits on Apr 14, 2011
  1. @kocolosk

    Export make_doc/5 for mem3 replicator

    kocolosk authored
    BugzID: 12043
Commits on Apr 8, 2011
  1. add Solaris build support.

    Robert Newson authored
Commits on Mar 31, 2011
  1. @kocolosk

    Add a catchall 'extra' field to #view_query_args

    kocolosk authored
    Thanks henrik14091, mc_ for the report
Commits on Mar 19, 2011
  1. BugzID: 11976 return dbname, not shard name, in userCtx

    Robert Newson authored
Commits on Mar 15, 2011
  1. @kocolosk
Commits on Feb 25, 2011
  1. @kocolosk

    Handle empty result set correctly in _stats

    kocolosk authored
    BugzID: 11498
  2. @kocolosk

    Improve batching of writes in view updater

    kocolosk authored
    This patch causes the view_updater to wait until either a minimum
    number of items or a maximum process memory size has been reached
    before committing the changes to disk.
    See COUCHDB-700 for discussion
    BugzID: 11885
  3. @kocolosk
Commits on Feb 24, 2011
  1. @kocolosk
Something went wrong with that request. Please try again.