Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 19, 2013
  1. @benoitc

    fix {bad_arg, not_found} error

    benoitc authored
    This change make sure that we are using the latest db state when
    retrieving the doc info using a view change.
    
    TODO: add a test
Commits on Aug 19, 2013
  1. @benoitc

    add missing db "created" event

    benoitc authored
Commits on Aug 18, 2013
  1. @benoitc
  2. @benoitc

    s/not_found/notfound/g

    benoitc authored
  3. @benoitc
Commits on Jul 2, 2013
  1. @benoitc

    remov gstatb flag

    benoitc authored
    temporary fix waiting the new rebar plugin
  2. @benoitc

    on changes, remove the connection from the pool.

    benoitc authored
    Changes connections are generally long-lived conections, keeping them in
    the pool limit the number of concurrent connections. This change fix it
    by removing them from the ranch connection ssupervisor once the changes
    connections are accepted.
Commits on Jun 27, 2013
  1. @benoitc

    quick fix for r16b01

    benoitc authored
Commits on Jun 15, 2013
  1. @benoitc
Commits on May 14, 2013
  1. @benoitc
Commits on May 3, 2013
  1. @benoitc

    fix issues with ranch

    benoitc authored
    couchdb has a tendancy to exit from anywhere (old mochiweb design). Make
    sure we can really recover from crashes by returning ok when it happen.
    We still have some logs due to ranch  but that better than the old
    situation.
    
    side note: we are now based on latest stable branch of ranch.
  2. @benoitc

    forgot to save this change

    benoitc authored
  3. @benoitc

    use ranch:start_listener

    benoitc authored
  4. @benoitc
  5. @benoitc

    build with debug infos

    benoitc authored
  6. @benoitc
Commits on May 2, 2013
  1. @benoitc

    fix syntax

    benoitc authored
  2. @benoitc
  3. @benoitc

    fix couch_htppd boot

    benoitc authored
Commits on Mar 4, 2013
  1. @benoitc

    more changes for R16

    benoitc authored
  2. @benoitc

    support erlang R16

    benoitc authored
Commits on Feb 10, 2013
  1. @benoitc
Commits on Feb 9, 2013
  1. @janl @benoitc

    refactor replicator_db_security to be more resilient

    janl authored benoitc committed
  2. @rnewson @benoitc

    support JSONP in externals

    rnewson authored benoitc committed
    COUCHDB-1313
  3. @benoitc

    Unfix view compaction progress reports

    benoitc authored
    This reverts the compaction task status progress back to what exists on
    1.2.x. The issue is that we use the number of documents in the database
    instead of the number of docids in the union of all views (the number of
    rows in the view's id btree). In this particular case the desire to have
    seamless view upgrades outweighs fixing the relatively minor UI bug.
    
    backport from couchdb 1.3.x branch
  4. @benoitc

    COUCHDB-1654: Transparently update view signatures from <= 1.2.x.

    benoitc authored
    Updates 1.2.x or earlier view files to 1.3.x or later view files
    transparently, the first time the 1.2.x view file is opened by
    1.3.x or later.
    
    Here's how it works:
    
    Before opening a view index,
    If no matching index file is found in the new location:
     calculate the <= 1.2.x view signature
     if a file with that signature lives in the old location
       copy it to the new location with the new signature in the name.
    Then proceed to open the view index as usual.
    After opening, read its header.
    
    If the header matches the <= 1.2.x style #index_header record:
      upgrade the header to the new #mrheader record
    The next time the view is used, the new header is used.
    
    If we crash after the rename, but before the header upgrade,
      the header upgrade is done on the next view opening.
    
    If we crash between upgrading to the new header and writing
      that header to disk, we start with the old header again,
      do the upgrade and write to disk.
    
    backport from Couchdb 1.3.x branch
  5. @benoitc

    COUCHDB-1667: Revert index_dir to view_index_dir config option.

    benoitc authored
    Patch by Alexander Shorin. (backport from couchdb 1.3.x branch)
  6. @janl @benoitc

    Do not log errors on creating new view index.

    janl authored benoitc committed
    While view index file may be really missed, it's ok for new views
    and this error will be self-healed on next couch_file:open call
    so there is no reason to worry user about.
    
    COUCHDB-1666
    
    Patch by Alexander Shorin.
  7. @janl @benoitc

    Avoid badmatch when replicator dbnames have leading slashes.

    janl authored benoitc committed
    Closes COUCHDB-317
    
    Patch by Joan Touzet.
Commits on Jan 26, 2013
  1. @benoitc

    prevent crash

    benoitc authored
Commits on Jan 8, 2013
  1. @benoitc

    fix view seq rettrieving

    benoitc authored
  2. @rnewson @benoitc

    fix pbkdf2 spec

    rnewson authored benoitc committed
  3. @rnewson @benoitc

    Delete view files on database deletion

    rnewson authored benoitc committed
    couch_file:nuke_dir attempts to recurse into subdirectories and delete
    the contents, it does so when couch_file:delete returns {error,
    eperm}. Unfortunately, the subdirectory has been renamed to a random
    uuid before returning, and so the recursive call gets {error, enoent}
    from list:dir(Path) where Path is the original (non-existent)
    subdirectory path.
    
    View files are not currently deleted when a database is because of
    this (this happened since 1.2.0, no release is broken) because the
    view engine rewrite added a further directory level called 'mrview'.
    
    This patch modifies nuke_dir to depth-first, solving the issue.
  4. @rnewson @benoitc

    Ignore multipart epilogue

    rnewson authored benoitc committed
    COUCHDB-1632
  5. @rnewson @benoitc

    Include a comment before jsonp output

    rnewson authored benoitc committed
Something went wrong with that request. Please try again.