You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by benoitc <gi...@git.apache.org> on 2014/02/17 20:50:11 UTC

[GitHub] couchdb-couch-httpd pull request: RCOUCH-7: add _bulk_get entry po...

GitHub user benoitc opened a pull request:

    https://github.com/apache/couchdb-couch-httpd/pull/2

    RCOUCH-7: add _bulk_get entry point

    implement the spec from couchbase
    https://github.com/couchbase/sync_gateway/wiki/Bulk-GET
    
    Tracked in  https://jira.refuge.io/browse/RCOUCH-7

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/couchdb-couch-httpd RCOUCH-7

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-couch-httpd/pull/2.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2
    
----
commit 2c783019993c1c5f0ddb5802a2e6763bb05dbe10
Author: benoitc <be...@apache.org>
Date:   2014-01-12T12:38:25Z

    unbreak js test and display a report

commit dc841e0492d960e1a19f6564a34076b9bbbd7d16
Author: NickNorth <no...@gmail.com>
Date:   2013-12-03T20:58:53Z

    Speed up and move couch_httpd:find_in_binary.
    
    See https://issues.apache.org/jira/browse/COUCHDB-1953

commit b97fac73c37056e4cbb2a8d584875e4c99da4504
Author: benoitc <be...@apache.org>
Date:   2014-01-12T19:58:30Z

    only display sasl reports on error. be less verbose in tests

commit 886f562cfb6f98e7aea080f19a049d1894e1414b
Author: benoitc <be...@apache.org>
Date:   2014-01-13T08:01:59Z

    export couch_httpd:set_auth_handlers/0
    
    This function wasn't exported so any changes to the
    `httpf/authentication_handlers` setting wasn't effective.

commit 9f994a55497ae308183a007a42819ecb604c9c13
Author: benoitc <be...@apache.org>
Date:   2014-01-13T08:36:44Z

    a more descriptive comment of the listener reloading flow

commit 898bb1e51e5ceff64ff1734d881360dcbe4e6b4e
Author: benoitc <be...@apache.org>
Date:   2014-01-13T22:06:26Z

    couch_server_sup -> couch_sup

commit 1f1f46026f5f47bd88501a3083c8c566dd09e264
Author: benoitc <be...@apache.org>
Date:   2014-01-15T20:10:45Z

    fix rebarclean

commit e41dc6ce105f8daf663104c36135157c6a26aacf
Author: Adam Kocoloski <ad...@cloudant.com>
Date:   2014-01-18T05:31:49Z

    Move addition of qs params after normalization
    
    This refactor executes normalize_path/1 before appending the bound query
    string parameters.
    
    COUCHDB-2031

commit c629342a16925d0f9b9094016f4e91fecb39a774
Author: benoitc <bc...@gmail.com>
Date:   2014-02-02T18:54:01Z

    extract couch_httpd changes API in its own module

commit 70409b20e5be8f0fa5d125cd1e9ec2697c82d909
Author: benoitc <bc...@gmail.com>
Date:   2014-02-07T14:38:34Z

    add supports of view changes in the _changes API
    
    Now when the option `seq_indexed=true` is set in the design doc, the
    view filter in _changes will use it to retrieve the results. Compared to
    the current way, using a view index will be faster to retrieve changes.
    It also gives the possibility to filter changes by key or get changes in
    a key range. All the view options can be used.
    
    Note 1: if someone is trying to filter a changes with view options when
    the views are not indexed by sequence, a 400 error will be returned.
    Note 2: The changes will only be returned when the view is updated if
    seq_indexed=true

commit f870b4babdc3081bc63d5ce15878ca2e0dd49cc3
Author: benoitc <bc...@gmail.com>
Date:   2014-02-07T14:57:25Z

    add the option use_index={no,yes} (yes by default)
    
    If use_index=no even if the view is indexed by sequence, the index won't
    be use. Instead it will fold the btree and return the changes each time
    the view map function can emit a value. (default behaviour).

commit c1d2f8f0fe1af2159a8872629c965fcef4d7234e
Author: benoitc <be...@apache.org>
Date:   2014-02-08T18:55:40Z

    couch_index: add background indexing facility
    
    This change add the possibility to trigger a view indexation in
    background. The indexation can only work in background if at least one
    process acquired it using the `couch_index_server:acquire_index/3`
    function. If all the process that acquired it are down or released it
    using `couch_index_server:release_indexer/3` then the background task is
    stopped.
    
    By default the background indexation will happen every 1s or when 200
    docs has been saved in the database. These parameters can be changed
    using the options `threshold` and `refresh_interval` in the couch_index
    section.
    
    To use it with couch_mrview a new option {refresh, true} has been added
    to couch_mrview_changes:handle_changes Also the query parameter
    refresh=true is passsed in t the HTTP changes API.

commit 792797f394dfe95eb1195b2da37de57dc7dc0d56
Author: benoitc <be...@apache.org>
Date:   2014-02-08T20:27:58Z

    couch_httpd_changes: check removed keys from the view filter
    
    Make sure to only emit deleted document when a deleted key is passed to
    the view filter.

commit d936233c8e8c63681cf17c8f76b12f6540827eae
Author: benoitc <be...@apache.org>
Date:   2014-02-08T23:43:23Z

    couch_replicator: add replication using changes in a view
    
    Instead of a database, the replicator can now filter the documents using
    a view index. All documents having a key emitted in the view can be
    replicated.
    
    View parameters can be used. Which means that you can replicate results
    corresponding to a key in a view or a range.

commit e0ba70feabac1c69aaa01402f45388210c213ef2
Author: Peter Lemenkov <le...@gmail.com>
Date:   2014-01-10T12:30:25Z

    Adopt to the recent erlang-oauth (1.3+)
    
    Signed-off-by: Peter Lemenkov <le...@gmail.com>
    Signed-off-by: Alexander Shorin <kx...@apache.org>

commit 25a1b155940200b5ee7cdfd8792444f0b3c1fbfc
Author: benoitc <bc...@gmail.com>
Date:   2014-02-17T19:43:35Z

    RCOUCH-7 :new _bulk_get handler
    
    implement the spec from couchbase
    https://github.com/couchbase/sync_gateway/wiki/Bulk-GET

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
If your project does not have this feature enabled and wishes so, or if the
feature is enabled but not working, please contact infrastructure at
infrastructure@apache.org or file a JIRA ticket with INFRA.
---

[GitHub] couchdb-couch-httpd pull request: RCOUCH-7: add _bulk_get entry po...

Posted by benoitc <gi...@git.apache.org>.
Github user benoitc commented on the pull request:

    https://github.com/apache/couchdb-couch-httpd/pull/2#issuecomment-35317134
  
    Sorry. didn't realised that Github PR are sent to the fork source...
    
    
    On Mon, Feb 17, 2014 at 8:52 PM, Robert Newson <no...@github.com>wrote:
    
    > phew, it closed. Please, no *new* work on the merge branches.
    >
    > --
    > Reply to this email directly or view it on GitHub<https://github.com/apache/couchdb-couch-httpd/pull/2#issuecomment-35317004>
    > .
    >


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
If your project does not have this feature enabled and wishes so, or if the
feature is enabled but not working, please contact infrastructure at
infrastructure@apache.org or file a JIRA ticket with INFRA.
---

[GitHub] couchdb-couch-httpd pull request: RCOUCH-7: add _bulk_get entry po...

Posted by rnewson <gi...@git.apache.org>.
Github user rnewson commented on the pull request:

    https://github.com/apache/couchdb-couch-httpd/pull/2#issuecomment-35317217
  
    :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
If your project does not have this feature enabled and wishes so, or if the
feature is enabled but not working, please contact infrastructure at
infrastructure@apache.org or file a JIRA ticket with INFRA.
---

[GitHub] couchdb-couch-httpd pull request: RCOUCH-7: add _bulk_get entry po...

Posted by benoitc <gi...@git.apache.org>.
Github user benoitc closed the pull request at:

    https://github.com/apache/couchdb-couch-httpd/pull/2


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
If your project does not have this feature enabled and wishes so, or if the
feature is enabled but not working, please contact infrastructure at
infrastructure@apache.org or file a JIRA ticket with INFRA.
---

[GitHub] couchdb-couch-httpd pull request: RCOUCH-7: add _bulk_get entry po...

Posted by rnewson <gi...@git.apache.org>.
Github user rnewson commented on the pull request:

    https://github.com/apache/couchdb-couch-httpd/pull/2#issuecomment-35317004
  
    phew, it closed. Please, no *new* work on the merge branches.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
If your project does not have this feature enabled and wishes so, or if the
feature is enabled but not working, please contact infrastructure at
infrastructure@apache.org or file a JIRA ticket with INFRA.
---