Permalink
Commits on Nov 9, 2011
  1. Conditionally apply JSON encoding to update_seq values

    Robert Newson committed Nov 9, 2011
    BigCouch 0.3 cannot parse requests of the form /db/_changes?since="123-foo" so
    the recent ?JSON_ENCODE addition to Since in two places causes 0.3 <-> 0.4
    replication to fail with json_encode/badterm errors.
    
    This patch applies JSON encoding only when the Since value is not already a
    binary (i.e, when it's a [integer(), binary()]) and interop is restored.
    
    BugzID: 12833
Commits on Nov 8, 2011
  1. Update troubleshooting link

    kocolosk committed Nov 8, 2011
  2. Simplify README

    kocolosk committed Nov 8, 2011
Commits on Oct 31, 2011
  1. Fix retrieval of headers larger than 4k

    kocolosk committed with Robert Newson Oct 26, 2011
    Our headers start with a <<1>> and then four bytes indicating the length
    of the header and its checksum. When the header is larger than 4090
    bytes it will be split across multiple blocks in the file and will need
    to be reassembled on read. The reassembly consists of stripping out
    <<0>> from the beginning of each subsequent block in the
    remove_block_prefixes/2 function. The bug here is that we tell
    remove_block_prefixes that we're starting 1 byte into the current block
    instead of 5, so it ends up removing one good byte from the header and
    injecting one or more random <<0>>s.
    
    Headers larger than 4k are very rare and generally require a view group
    with a huge number of indexes or indexes with fairly large reductions,
    which explains why this bug has gone undetected until now.
    
    Closes COUCHDB-1319.
Commits on Oct 25, 2011
  1. Fix SpiderMonkey source evaluation

    davisp committed Oct 24, 2011
    Looks like we had a couple commits get crossed over during the merges.
    This removes the original version of the patch that wrapped JS functions
    with parens.
Commits on Oct 20, 2011
  1. Fix object sealing with spidermonkey 1.7.0

    Robert Newson committed Oct 20, 2011
Commits on Oct 18, 2011
Commits on Oct 17, 2011
  1. Revert "Build couchjs with C, not C++. Fixes libm error on CentOS."

    Robert Newson committed Oct 17, 2011
    This reverts commit e311d45.
    
    Turns out the 'libm' error is a very obscure way of reporting a lack
    of a c++ compiler.
  2. Fix seq problem in full_uri by encoding

    Bob Dionne committed Oct 17, 2011
    BugzID:12741
  3. Build couchjs with C, not C++. Fixes libm error on CentOS.

    Robert Newson committed Oct 17, 2011
  4. remove scons cache in 'make clean'

    Robert Newson committed Oct 17, 2011
Commits on Oct 13, 2011
  1. Merge pull request #72 from cloudant/12730-add-remsh-script

    davisp committed Oct 13, 2011
    Add a remsh script for each node
    
    BugzId: 12730
  2. Improve remsh script

    davisp committed Oct 12, 2011
    Cookies now default to using ~/.erlang.cookie which is automatically
    generated if it does not exist when erlang starts with a name.
    
    There is also no longer a need to specify a name to remsh as it'll
    generate a name based on the process id and set the short or long
    version appropriately.
  3. Merge pull request #74 from cloudant/7c04f93

    kocolosk committed Oct 13, 2011
    Fix badarg error in couch_server:try_close_lru/1
    
    BugzID: 12363
  4. Fix badarg error in couch_server:try_close_lru/1

    davisp committed Oct 13, 2011
    The race condition in couch_server's ets table usage rears its ugly head
    by leaving an entry in couch_lru. This patch just addresses the issue by
    allowing the client pid to use the db and ignores the fact that for the
    duration its over the max_dbs_open setting.
Commits on Oct 12, 2011
  1. Add a remsh command to BigCouch

    davisp committed Oct 12, 2011
    The remsh pattern is quite useful for connecting to running nodes for
    debugging production issues. This adds a small script that lets users
    connect quickly to a running node.
  2. Document custom HTTP/socket options in default.ini

    davisp committed Oct 12, 2011
    Part of the backport of COUCHDB-1008 to chttpd. This just updates
    the default.ini with some commented out options describing their
    availability to users.
Commits on Oct 11, 2011
  1. Remove call to subprocess.check_output

    davisp committed Oct 11, 2011
    This function is new in Python 2.7 and we already have a function that
    returns command ouput. Just reuse runcmd to get the version.
Commits on Oct 10, 2011
  1. Merge remote-tracking branch 'apache/1.1.x'

    Robert Newson committed Oct 10, 2011
Commits on Oct 7, 2011
  1. Include twig explicitly in the release config

    kocolosk committed Oct 7, 2011
    This fixes "Unable to generate spec" errors when trying to build a
    release on Erlang/OTP R13.
Commits on Oct 6, 2011
  1. Revert "Fix function evaluation by newer SpiderMonkey's."

    rnewson committed Oct 6, 2011
    This reverts commit 61f10e7.
  2. Revert "Remove SpiderMonkey 1.8.5 compatibility"

    rnewson committed Oct 6, 2011
    This reverts commit 5b558c8.
  3. fix shadowing warning.

    rnewson committed Oct 6, 2011
  4. Remove SpiderMonkey 1.8.5 compatibility

    rnewson committed Oct 6, 2011
    This commit reverts 1.8.5 compatibility including the corresponding couchjs
    paren hack as this leads to significant breakage in existing functions.
Commits on Oct 5, 2011
Commits on Oct 4, 2011
Commits on Oct 2, 2011
  1. improve argument parsing in couchjs

    tilgovi committed Oct 2, 2011
    This change makes argument parsing in couchjs more robust:
      * Removes the need for couchjs script
      * Adds long options
      * Makes all the options to couchjs available (fix COUCHDB-893)
    
    Conflicts:
    
    	bin/Makefile.am
    	bin/couchjs.tpl.in
    	configure.ac
Commits on Oct 1, 2011
  1. fix COUCHDB-648 - _update handler ignores "code"

    tilgovi committed Oct 1, 2011
    Test by Christian Carter
    This is a backport of r1177890
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1177892 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 30, 2011
  1. Replicator: skip documents with empty ID

    fdmanana committed Sep 30, 2011
    Due to a bug, older releases allowed the creation of
    documents with an empty ID, which are impossible to
    GET therefore making the replicator crash.
    This change simply skips such documents and logs
    an error message to inform users.
    
    This is a backport of revision 1177548 from trunk.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1177550 13f79535-47bb-0310-9956-ffa450edef68