Permalink
Commits on May 15, 2011
  1. Bug fix in couch_work_queue: state's size not decremented

    When dequeing some items from the queue (that is, not taking all the queued items)
    the size field of the gen_server's state was not being decremented as it should.
    However when all the queue items are delivered to a consumer, the size is set to 0.
    
    This particular fix has a good impact in the new replicator because it uses work queues
    and the consumers only dequeue 1 item at a time - producers will no longer be blocked
    until the queue gets empty.
    For a push replication that used to take about 15 minutes, it now takes about 13 minutes.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1103266 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed May 15, 2011
Commits on May 13, 2011
  1. Avoid ocassional replication.js test failures due to timing issues

    This happens mostly on slower machines.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1102700 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed May 13, 2011
  2. Replicator: avoid stagnant remote _changes progress

    If there's no progress with a remote _changes stream, retry
    up to 10 times with an increasing pause period before each
    retry attempt. If there's progress retry immediately - any
    other connection (worker connections) that fails 10 times will
    end up aborting the replication process.
    
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1102699 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed May 13, 2011
  3. Configurable database and view compaction parameters

    These parameters are now configurable as byte quantities.
    Larger buffer sizes can significantly decrease final file sizes and
    in some cases make the compaction process faster or slower.
    
    Closes COUCHDB-1142.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1102684 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed May 13, 2011
Commits on May 11, 2011
  1. Make sure view group shutdowns when database is deleted or dies

    Added more assertions to test 200-view-group-no-db-leaks.t to ensure
    this doesn't happen anymore.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1102137 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed May 11, 2011
  2. Fix handling of circular imports in CommonJS modules.

    Thanks to Caolan McMahon for the patch.
    
    Closes COUCHDB-1075
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1102006 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed May 11, 2011
  3. Fix logger crash when messages have unicode characters

    This closes COUCHDB-1158. Thanks Dale Harvey.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1101896 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed May 11, 2011
  4. Replicator: better error handling with remote _changes connection

    Once the connection to remote _changes dies, retry it with the last source
    sequence number we got instead of using the initial one.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1101844 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed May 11, 2011
  5. COUCHDB-1156 - send Accept header so Futon doesn't display HTML where…

    … it expects JSON (Thanks Dale Harvey for patch)
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1101786 13f79535-47bb-0310-9956-ffa450edef68
    rnewson committed May 11, 2011
Commits on May 8, 2011
Commits on May 6, 2011
Commits on May 4, 2011
  1. Improve Windows build docs.

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1099479 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed May 4, 2011
Commits on May 3, 2011
  1. Added .libs to the svn:ignore properties.

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1099106 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed May 3, 2011
  2. Minor cleanup to the snappy Makefile.am

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1099105 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed May 3, 2011
  3. Missing svn:ignore properties.

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1099095 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed May 3, 2011
  4. Added missing static qualifier, and inline hint, to internal functions

    g++ 4.4.5 with -Winline says that only make_error is not inlined since calls to it
    are unlikely.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1099030 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed May 3, 2011
Commits on May 2, 2011
  1. Fix compatibility with R13B04

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1098719 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed May 2, 2011
  2. Refactored snappy NIF.

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1098691 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed May 2, 2011
  3. Updated svn:ignore properties.

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1098687 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed May 2, 2011
  4. Fix `make distcheck`

    Thanks Randall Leeds for finding out that the backslash was missing.
    This is related to COUCHDB-1120.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1098670 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed May 2, 2011
  5. Add configurable file compression (snappy, deflate or none)

    Not only this makes database and view index files smaller it also increases
    database read/write performance, view index generation (specially for large
    documents and/or documents with nested JSON structures) and compaction.
    Closes COUCHDB-1120.
    
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1098558 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed May 2, 2011
Commits on Apr 29, 2011
Commits on Apr 28, 2011
  1. svn:ignore for test_cfg_register

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1097640 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed Apr 28, 2011
  2. Silence more compiler warnings.

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1097604 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed Apr 28, 2011
  3. Silence compiler warning.

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1097603 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed Apr 28, 2011
  4. Use correct block offset when loading header

    So far this was not a problem since our headers are always
    smaller then 4091 bytes.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1097593 13f79535-47bb-0310-9956-ffa450edef68
    fdmanana committed Apr 28, 2011
  5. Make test count deterministic.

    The checks for the HTTP status code in the view compaction were
    causing the number of tests to be no deterministic.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1097300 13f79535-47bb-0310-9956-ffa450edef68
    davisp committed Apr 28, 2011
  6. make test case executable

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1097293 13f79535-47bb-0310-9956-ffa450edef68
    janl committed Apr 28, 2011
Commits on Apr 27, 2011
  1. revert COUCHDB-1141 pending dev discussion.

    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1097082 13f79535-47bb-0310-9956-ffa450edef68
    rnewson committed Apr 27, 2011