couch-log commit: updated refs/heads/master to e4abbd3

2016-03-11 Thread mikewallace
Repository: couchdb-couch-log Updated Branches: refs/heads/master 939b3a7bd -> e4abbd387 Remove module_loaded check in get_backend When the code server loads modules dynamically, module_loaded(Backend) will not return true until it has actually been called. Since couch_log is the only thing

fabric commit: updated refs/heads/master to 0df200a

2016-03-04 Thread mikewallace
Repository: couchdb-fabric Updated Branches: refs/heads/master 472253f28 -> 0df200a3c Avoid spamming logs with write_quorum errors The three metrics in fabric_doc_update:force_reply/3 were introduced to replace the write_quorum log message however the log line was not removed. This commit

couch-replicator commit: updated refs/heads/master to fc49a36

2016-03-01 Thread mikewallace
Repository: couchdb-couch-replicator Updated Branches: refs/heads/master ff49e1c47 -> fc49a366c Do not crash in couch_replicator:terminate/2 if a local dbname is used. Even though local source or target database names are not valid for replication in CouchDB 2.0, do not crash when trying to

couch-replicator commit: updated refs/heads/master to fd66cb6

2016-02-15 Thread mikewallace
Repository: couchdb-couch-replicator Updated Branches: refs/heads/master 61c59b5d7 -> fd66cb6b3 Avoid logging creds on couch_replicator termination When couch_replicator terminates with an error we log the #rep record which can contain credentials for the source or target of a replication,

fabric commit: updated refs/heads/master to 31be532

2016-02-10 Thread mikewallace
Repository: couchdb-fabric Updated Branches: refs/heads/master d67049cca -> 31be53240 Return forbidden error if encountered on any shard This commit fixes an issue which caused HTTP 500 errors to be returned when an authorized user attempted to access a database that they did not have

couch-index commit: updated refs/heads/master to cc7850c

2015-07-15 Thread mikewallace
Repository: couchdb-couch-index Updated Branches: refs/heads/master 13fed1ed2 - cc7850c6d Allow couch_index to open restricted design docs Design docs in the authentication DB cannot be opened without an admin context so this commit teaches couch_index to always use ?ADMIN_CTX when opening

[1/2] fabric commit: updated refs/heads/master to 3c204d0

2015-07-15 Thread mikewallace
Repository: couchdb-fabric Updated Branches: refs/heads/master 405922c5d - 3c204d009 Move is_*_db funs and helpers to fabric_util This commit moves the is_*_db/1 funs and their helpers from fabric_doc_update to fabric_util and exports them so they can be re-used elsewhere in fabric.

ddoc-cache commit: updated refs/heads/master to 04c946f

2015-07-15 Thread mikewallace
Repository: couchdb-ddoc-cache Updated Branches: refs/heads/master d65a85cf1 - 04c946f4f Allow ddoc_cache to open restricted design docs Design docs in the authentication DB cannot be opened without an admin context so this commit teaches ddoc_cache to always use ?ADMIN_CTX when opening

[2/2] fabric commit: updated refs/heads/master to 3c204d0

2015-07-15 Thread mikewallace
Restrict views in the authentication DB to admins This commit teaches fabric to restrict access to views in the authentication DB to administrators by calling through to couch_db_users:after_doc_read/2 after the design doc is read. COUCHDB-2738 This closes #23 Project:

[1/4] fabric commit: updated refs/heads/master to 19c273a

2015-06-09 Thread mikewallace
Repository: couchdb-fabric Updated Branches: refs/heads/master d44f7fba4 - 19c273ac5 Provide an access to a document info The functions `get_doc_info/3` and `get_full_doc_info/3` were added to API to provide an access to the records `#doc_info{}` and `#full_doc_info{}` accordingly. The

[3/4] fabric commit: updated refs/heads/master to 19c273a

2015-06-09 Thread mikewallace
export dbname/1 BugzID: 45853 This is a cherry-pick of: https://github.com/cloudant/fabric/commit/818dd09e9ea645e866fc62fd1a4302ce73b2422a Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/ece2b2ed Tree:

[2/4] fabric commit: updated refs/heads/master to 19c273a

2015-06-09 Thread mikewallace
Add ability to gracefully terminate existing changes feeds Calling fabric:end_changes() will cause all current changes feeds to gracefully exit without preventing new changes requests from starting (unlike maintenance_mode). BugzID: 45762 This is a cherry-pick of:

[4/4] fabric commit: updated refs/heads/master to 19c273a

2015-06-09 Thread mikewallace
Module-wide s/proplists:get_value/couch_util:get_value/ Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/19c273ac Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/19c273ac Diff:

fabric commit: updated refs/heads/merge-diff-from-cloudant-fork to 19c273a

2015-06-09 Thread mikewallace
Repository: couchdb-fabric Updated Branches: refs/heads/merge-diff-from-cloudant-fork dd2a27b99 - 19c273ac5 (forced update) Module-wide s/proplists:get_value/couch_util:get_value/ Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit:

config commit: updated refs/heads/2708-stronger-testing-for-config-set to 1e454a7

2015-06-09 Thread mikewallace
Repository: couchdb-config Updated Branches: refs/heads/2708-stronger-testing-for-config-set ee652d2ee - 1e454a724 Allow all printable unicode characters Relax config:assert_string/1 such that all printable unicode characters are allowed and add the appropropriate support throughout the

[2/2] fabric commit: updated refs/heads/merge-diff-from-cloudant-fork to dd2a27b

2015-06-05 Thread mikewallace
Module-wide s/proplists:get_value/couch_util:get_value/ Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/dd2a27b9 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/dd2a27b9 Diff:

[05/13] couch-replicator commit: updated refs/heads/master to 80708a9

2015-06-05 Thread mikewallace
Return owner to improve logging output This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/3287da36a24b5d061a64cc93814f2f4580fdd4f9 Conflicts: src/couch_replicator_manager.erl Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo

[01/13] couch-replicator commit: updated refs/heads/master to 80708a9

2015-06-05 Thread mikewallace
Repository: couchdb-couch-replicator Updated Branches: refs/heads/master bbab85b9f - 80708a99e Use randomized, truncated exponential backoff in event of conflict BugzID: 42053 This is a cherry-pick of:

[10/13] couch-replicator commit: updated refs/heads/master to 80708a9

2015-06-05 Thread mikewallace
Be more explicit on values of ?STREAM_STATUS Also I should add a note about how the changes ending due to a throw when processing the last_seq leads to the un-consumed stream messages. This is a cherry-pick of:

[03/13] couch-replicator commit: updated refs/heads/master to 80708a9

2015-06-05 Thread mikewallace
Verify that url really points to a database This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/e73714196936c345d54158e674ab36cab20beeec Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[08/11] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 80708a9

2015-06-05 Thread mikewallace
Be more explicit on values of ?STREAM_STATUS Also I should add a note about how the changes ending due to a throw when processing the last_seq leads to the un-consumed stream messages. This is a cherry-pick of:

[06/11] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 80708a9

2015-06-05 Thread mikewallace
Log when node up/down events occur This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/d40bb6f2e603a7c81f777cc1c4c200ad34c3db42 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[03/11] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 80708a9

2015-06-05 Thread mikewallace
Return owner to improve logging output This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/3287da36a24b5d061a64cc93814f2f4580fdd4f9 Conflicts: src/couch_replicator_manager.erl Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo

[05/11] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 80708a9

2015-06-05 Thread mikewallace
Fix stream cleanup timeouts The first part of this is adding the `after 0` clause. The issue here is that ibrowse sends the `ibrowse_async_response_end` message without waiting for a call to `ibrowse:stream_next/1`. This means that the continuous changes feed may or may not get this message in

[11/11] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 80708a9

2015-06-05 Thread mikewallace
Infinity timeout, just like all the others :( This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/e947b392db1eb2de22aac4a4fa12da118fe114b3 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[10/11] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 80708a9

2015-06-05 Thread mikewallace
Ensure that ibrowse streams are ended properly I found a situation where we had live lock on a running application due to an ibrowse request that hadn't been properly terminated. This manifested as a cesation of updates to the _active_tasks information. Debugging this lead me to see that the main

[04/11] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 80708a9

2015-06-05 Thread mikewallace
Ensure Live node set is consistent with up/down messages BugzID: 46617 This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/2418c26b0fa7cffb97c2d8348654c42d6a0f1a06 Conflicts: src/couch_replicator_manager.erl Project:

[11/13] couch-replicator commit: updated refs/heads/master to 80708a9

2015-06-05 Thread mikewallace
continue jobs that aren't _replicator docs This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/ff1ab1b840019601c3e3e04a1d931db6f2ccd2d1 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[09/13] couch-replicator commit: updated refs/heads/master to 80708a9

2015-06-05 Thread mikewallace
Cleanly stop replication at checkpoint time if no longer owner This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/e5ef7c8a0ee2566b9cd4c02397ee94883d015fa0 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[08/13] couch-replicator commit: updated refs/heads/master to 80708a9

2015-06-05 Thread mikewallace
Fix stream cleanup timeouts The first part of this is adding the `after 0` clause. The issue here is that ibrowse sends the `ibrowse_async_response_end` message without waiting for a call to `ibrowse:stream_next/1`. This means that the continuous changes feed may or may not get this message in

[12/13] couch-replicator commit: updated refs/heads/master to 80708a9

2015-06-05 Thread mikewallace
Ensure that ibrowse streams are ended properly I found a situation where we had live lock on a running application due to an ibrowse request that hadn't been properly terminated. This manifested as a cesation of updates to the _active_tasks information. Debugging this lead me to see that the main

[06/13] couch-replicator commit: updated refs/heads/master to 80708a9

2015-06-05 Thread mikewallace
Ensure Live node set is consistent with up/down messages BugzID: 46617 This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/2418c26b0fa7cffb97c2d8348654c42d6a0f1a06 Conflicts: src/couch_replicator_manager.erl Project:

[04/13] couch-replicator commit: updated refs/heads/master to 80708a9

2015-06-05 Thread mikewallace
delay and splay replication starts This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/d279150d959cfd46cbd77c5dd17f14d6dc3d0291 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[13/13] couch-replicator commit: updated refs/heads/master to 80708a9

2015-06-05 Thread mikewallace
Infinity timeout, just like all the others :( This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/e947b392db1eb2de22aac4a4fa12da118fe114b3 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

fabric commit: updated refs/heads/merge-diff-from-cloudant-fork to 9f2f143

2015-06-05 Thread mikewallace
Repository: couchdb-fabric Updated Branches: refs/heads/merge-diff-from-cloudant-fork ece2b2ed9 - 9f2f143eb [squash] prefer couch_util:get_value/2 over proplists:get_value/2 Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit:

[1/2] fabric commit: updated refs/heads/merge-diff-from-cloudant-fork to dd2a27b

2015-06-05 Thread mikewallace
Repository: couchdb-fabric Updated Branches: refs/heads/merge-diff-from-cloudant-fork 9f2f143eb - dd2a27b99 [squash] More s/proplists/couch_util/ Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/1ed02009

[09/11] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 80708a9

2015-06-05 Thread mikewallace
continue jobs that aren't _replicator docs This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/ff1ab1b840019601c3e3e04a1d931db6f2ccd2d1 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[01/11] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 80708a9

2015-06-05 Thread mikewallace
Repository: couchdb-couch-replicator Updated Branches: refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork 7e72e97c4 - 80708a99e (forced update) Verify that url really points to a database This is a cherry-pick of:

[02/11] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 80708a9

2015-06-05 Thread mikewallace
delay and splay replication starts This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/d279150d959cfd46cbd77c5dd17f14d6dc3d0291 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[07/11] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 80708a9

2015-06-05 Thread mikewallace
Cleanly stop replication at checkpoint time if no longer owner This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/e5ef7c8a0ee2566b9cd4c02397ee94883d015fa0 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 7e72e97

2015-06-05 Thread mikewallace
Repository: couchdb-couch-replicator Updated Branches: refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork 39bf72f86 - 7e72e97c4 [squash] Also check for presence of instance_start_time Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[2/3] config commit: updated refs/heads/2708-stronger-testing-for-config-set to ee652d2

2015-06-03 Thread mikewallace
[squash] Add tests for add stronger config set/get/delete testing Project: http://git-wip-us.apache.org/repos/asf/couchdb-config/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-config/commit/6566dd43 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-config/tree/6566dd43 Diff:

[3/3] config commit: updated refs/heads/2708-stronger-testing-for-config-set to ee652d2

2015-06-03 Thread mikewallace
[squash] apply stronger testing to config:get/3 Project: http://git-wip-us.apache.org/repos/asf/couchdb-config/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-config/commit/ee652d2e Tree: http://git-wip-us.apache.org/repos/asf/couchdb-config/tree/ee652d2e Diff:

[1/3] config commit: updated refs/heads/2708-stronger-testing-for-config-set to ee652d2

2015-06-03 Thread mikewallace
Repository: couchdb-config Updated Branches: refs/heads/2708-stronger-testing-for-config-set [created] ee652d2ee strong testing for config:set calls Closes COUCHDB-2708. This is a cherry-pick of: https://github.com/cloudant/config/commit/d48a2bfdaa7c7c1e0004835c42e98d6794050317 Conflicts:

[3/3] fabric commit: updated refs/heads/merge-diff-from-cloudant-fork to ece2b2e

2015-06-03 Thread mikewallace
export dbname/1 BugzID: 45853 This is a cherry-pick of: https://github.com/cloudant/fabric/commit/818dd09e9ea645e866fc62fd1a4302ce73b2422a Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/ece2b2ed Tree:

[2/3] fabric commit: updated refs/heads/merge-diff-from-cloudant-fork to ece2b2e

2015-06-03 Thread mikewallace
Add ability to gracefully terminate existing changes feeds Calling fabric:end_changes() will cause all current changes feeds to gracefully exit without preventing new changes requests from starting (unlike maintenance_mode). BugzID: 45762 This is a cherry-pick of:

[1/3] fabric commit: updated refs/heads/merge-diff-from-cloudant-fork to ece2b2e

2015-06-03 Thread mikewallace
Repository: couchdb-fabric Updated Branches: refs/heads/merge-diff-from-cloudant-fork [created] ece2b2ed9 Provide an access to a document info The functions `get_doc_info/3` and `get_full_doc_info/3` were added to API to provide an access to the records `#doc_info{}` and `#full_doc_info{}`

couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to fbab534

2015-06-02 Thread mikewallace
Repository: couchdb-couch-replicator Updated Branches: refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork 367562b41 - fbab53489 [squash] Restore second function clause for owner/2 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 39bf72f

2015-06-02 Thread mikewallace
Repository: couchdb-couch-replicator Updated Branches: refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork fbab53489 - 39bf72f86 [squash] Use config:get_integer/3 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[12/13] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 367562b

2015-06-02 Thread mikewallace
continue jobs that aren't _replicator docs This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/ff1ab1b840019601c3e3e04a1d931db6f2ccd2d1 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[01/13] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 367562b

2015-06-02 Thread mikewallace
Repository: couchdb-couch-replicator Updated Branches: refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork [created] 367562b41 Use randomized, truncated exponential backoff in event of conflict BugzID: 42053 This is a cherry-pick of:

[06/13] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 367562b

2015-06-02 Thread mikewallace
Return owner to improve logging output This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/3287da36a24b5d061a64cc93814f2f4580fdd4f9 Conflicts: src/couch_replicator_manager.erl Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo

[04/13] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 367562b

2015-06-02 Thread mikewallace
delay and splay replication starts This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/d279150d959cfd46cbd77c5dd17f14d6dc3d0291 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[05/13] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 367562b

2015-06-02 Thread mikewallace
Ensure Live node set is consistent with up/down messages BugzID: 46617 This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/2418c26b0fa7cffb97c2d8348654c42d6a0f1a06 Conflicts: src/couch_replicator_manager.erl Project:

[10/13] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 367562b

2015-06-02 Thread mikewallace
Be more explicit on values of ?STREAM_STATUS Also I should add a note about how the changes ending due to a throw when processing the last_seq leads to the un-consumed stream messages. This is a cherry-pick of:

[13/13] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 367562b

2015-06-02 Thread mikewallace
Infinity timeout, just like all the others :( This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/e947b392db1eb2de22aac4a4fa12da118fe114b3 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[09/13] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 367562b

2015-06-02 Thread mikewallace
Ensure that ibrowse streams are ended properly I found a situation where we had live lock on a running application due to an ibrowse request that hadn't been properly terminated. This manifested as a cesation of updates to the _active_tasks information. Debugging this lead me to see that the main

[02/13] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 367562b

2015-06-02 Thread mikewallace
Remove anonymous fun when starting replications This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/faa28a6e7f5b460b1d3ca2f77b00ab7d5371021d Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[11/13] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 367562b

2015-06-02 Thread mikewallace
Fix stream cleanup timeouts The first part of this is adding the `after 0` clause. The issue here is that ibrowse sends the `ibrowse_async_response_end` message without waiting for a call to `ibrowse:stream_next/1`. This means that the continuous changes feed may or may not get this message in

[08/13] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 367562b

2015-06-02 Thread mikewallace
Cleanly stop replication at checkpoint time if no longer owner This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/e5ef7c8a0ee2566b9cd4c02397ee94883d015fa0 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[07/13] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 367562b

2015-06-02 Thread mikewallace
Log when node up/down events occur This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/d40bb6f2e603a7c81f777cc1c4c200ad34c3db42 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[03/13] couch-replicator commit: updated refs/heads/2707-merge-couch_replicator-fixes-from-cloudant-fork to 367562b

2015-06-02 Thread mikewallace
Verify that url really points to a database This is a cherry-pick of: https://github.com/cloudant/couch_replicator/commit/e73714196936c345d54158e674ab36cab20beeec Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

couch commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 633b7f1

2015-01-16 Thread mikewallace
Repository: couchdb-couch Updated Branches: refs/heads/2452-users-db-security-on-clustered-interface 4e24b4cae - 633b7f1ee [squash] Move users DB check into its own fun The chain of orelse statements combined with the indentation was pretty hard to read. This commit moves the checks into

chttpd commit: updated refs/heads/2452-users-db-security-on-clustered-interface to e5301ca

2015-01-16 Thread mikewallace
Repository: couchdb-chttpd Updated Branches: refs/heads/2452-users-db-security-on-clustered-interface f2fcc285a - e5301cab5 [squash] simplify IsUsersDb check I realised the second part of the orelse is not needed here. Because this code is in chttpd we will only be dealing with the

[2/3] couchdb commit: updated refs/heads/2452-users-db-security-on-clustered-interface to ed4a4a9

2014-12-04 Thread mikewallace
Test _users security on the cluster and admin port This commit modifies the _users DB security test so that it tests the authentication DB against the clustered interface in addition to the admin interface. Previously this test was only being run against the admin port. COUCHDB-2452 Project:

[1/3] couchdb commit: updated refs/heads/2452-users-db-security-on-clustered-interface to ed4a4a9

2014-12-04 Thread mikewallace
Repository: couchdb Updated Branches: refs/heads/2452-users-db-security-on-clustered-interface [created] ed4a4a9e2 Teach dev/run to clear nodes DB This commit makes dev/run replace the nodes DB with an empty DB before adding the nodes doc. This changes the previous behaviour which was to just

chttpd commit: updated refs/heads/2452-users-db-security-on-clustered-interface to f2fcc28

2014-12-04 Thread mikewallace
Repository: couchdb-chttpd Updated Branches: refs/heads/2452-users-db-security-on-clustered-interface 25ec565c1 - f2fcc285a Restart changes listener on config changes Previously if chttpd_auth/authentication_db was changed in the config then a changes listener would not be started for the

Git Push Summary

2014-11-14 Thread mikewallace
Repository: couchdb-ddoc-cache Updated Branches: refs/heads/2452-users-db-security-on-clustered-interface [deleted] 6ff152058

[1/5] chttpd commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 25ec565

2014-11-14 Thread mikewallace
Repository: couchdb-chttpd Updated Branches: refs/heads/2452-users-db-security-on-clustered-interface 569b00f30 - 25ec565c1 (forced update) Only admin can read _changes on clustered _users COUCHDB-2452 1/5 Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo Commit:

[3/4] couch commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 4e24b4c

2014-11-14 Thread mikewallace
Move admin ddoc check for _users DB to http layer In order to restrict access to design documents in the authentication DB to admins only we were checking whether a user was admin in the couch_server callback. When running the auth DB on the clustered interface this meant that admins could not

[4/5] chttpd commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 25ec565

2014-11-14 Thread mikewallace
Only admins access _users _all_docs on 5984 When couch_httpd_auth/users_db_public is set to false and the _users DB is on the admin interface (5986) only admins can read the _all_docs view. This commit creates the same behaviour on the clustered interface (5984) when chttpd_auth/users_db_public

[5/5] chttpd commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 25ec565

2014-11-14 Thread mikewallace
Only admins access _users design documents The check for admin when opening a design document in the authentication DB was previously being carried out in a callback function called when the document was read from the shard. In order to allow admins to access the design document via the clustered

[2/4] couch commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 4e24b4c

2014-11-14 Thread mikewallace
Update auth DB docs via the auth module Documents in the authentication DB were being updated directly from couch_httpd_auth via couch_db:update_doc/3. This meant that updates to documents with the authentication DB on the clustered interface (5984) would fail. This commit makes the auth module

[3/5] chttpd commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 25ec565

2014-11-14 Thread mikewallace
Strip non-public fields from _users all_docs on 5984 A _users DB on the admin interface will strip non-public fields from documents in the _all_docs view when include_docs=true. This commit creates the same behaviour when the _users DB is on the clustered interface by using the appropriate

[2/5] chttpd commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 25ec565

2014-11-14 Thread mikewallace
Export function for updating auth docs The process of writing documents to the authentication DB varies depending whether the authentication DB is on the admin or the clustered interface. Authentication handlers should therefore abstract the details away and provide a generic update_doc function.

[1/4] couch commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 4e24b4c

2014-11-14 Thread mikewallace
Repository: couchdb-couch Updated Branches: refs/heads/2452-users-db-security-on-clustered-interface 8c0299645 - 4e24b4cae (forced update) Add _users DB callbacks when opening _users shards The check to determine whether to add the callback functions for _users DB operations was only

[4/4] couch commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 4e24b4c

2014-11-14 Thread mikewallace
Whitespace Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/4e24b4ca Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/4e24b4ca Diff:

[1/2] couch commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 8c02996

2014-11-10 Thread mikewallace
Repository: couchdb-couch Updated Branches: refs/heads/2452-users-db-security-on-clustered-interface [created] 8c0299645 Add _users DB callbacks when opening _users shards The test to determine whether to add the callback functions for _users DB operations was only checking the raw database

[2/2] couch commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 8c02996

2014-11-10 Thread mikewallace
Update auth DB docs via the auth module Documents in the authentication DB were being updated directly from couch_httpd_auth via couch_db:update_doc/3. This meant that updates to documents with the authentication DB on the clustered interface (5984) would fail. This commit makes the auth module

couch-mrview commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 53302fb

2014-11-10 Thread mikewallace
Repository: couchdb-couch-mrview Updated Branches: refs/heads/2452-users-db-security-on-clustered-interface [created] 53302fbe5 Export get_view_callback/3 for use by chttpd In order to provide the expected security for the _users DB on the clustered interface, chttpd needs to use

[1/5] chttpd commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 569b00f

2014-11-10 Thread mikewallace
Repository: couchdb-chttpd Updated Branches: refs/heads/2452-users-db-security-on-clustered-interface [created] 569b00f30 Only admin can read _changes on clustered _users COUCHDB-2452 1/? Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo Commit:

[2/5] chttpd commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 569b00f

2014-11-10 Thread mikewallace
Export function for updating auth docs The process of writing documents to the authentication DB varies depending whether the authentication DB is on the admin or the clustered interface. Authentication handlers should therefore abstract the details away and provide a generic update_doc function.

[3/5] chttpd commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 569b00f

2014-11-10 Thread mikewallace
Pass user context to ddoc_cache Only administrators should be able to read design documents in the authentication DB. When the auth DB is on the clustered interface design documents are handled by ddoc_cache so it needs to be given the user context. COUCHDB-2452 3/? Project:

ddoc-cache commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 6ff1520

2014-11-10 Thread mikewallace
Repository: couchdb-ddoc-cache Updated Branches: refs/heads/2452-users-db-security-on-clustered-interface [created] 6ff152058 Teach ddoc_cache about user context This commit teaches ddoc_cache to accept a user_ctx which is passed through to the call to open the design doc. This is required so

[5/5] chttpd commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 569b00f

2014-11-10 Thread mikewallace
Only admins access _users _all_docs on 5984 When couch_httpd_auth/users_db_public is set to false and the _users DB is on the admin interface (5986) only admins can read the _all_docs view. This commit creates the same behaviour on the clustered interface (5984) when chttpd_auth/users_db_public

[4/5] chttpd commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 569b00f

2014-11-10 Thread mikewallace
Strip non-public fields from _users all_docs on 5984 A _users DB on the admin interface will strip non-public fields from documents in the _all_docs view when include_docs=true. This commit creates the same behaviour when the _users DB is on the clustered interface by using the appropriate

[4/4] couch commit: updated refs/heads/2365-fix-failed-multipart-process-leak to f02a101

2014-10-29 Thread mikewallace
Make couch_stream monitor the stream opener This commit fixes a process leak which would happen when a process opened a couch_stream and exited with reason normal before closing the stream. This patch makes the couch_stream gen_server monitor the process which opens the stream. When that monitor

[1/4] couch commit: updated refs/heads/2365-fix-failed-multipart-process-leak to f02a101

2014-10-29 Thread mikewallace
Repository: couchdb-couch Updated Branches: refs/heads/2365-fix-failed-multipart-process-leak fd7f88895 - f02a1013d (forced update) Respond with HTTP 400 Bad Request on invalid revision number CouchDB should return HTTP 400 instead of HTTP 500 response when revision number isn't integer like

[3/4] couch commit: updated refs/heads/2365-fix-failed-multipart-process-leak to f02a101

2014-10-29 Thread mikewallace
Remove couch_query_servers:map_docs/2 It's not being used since couch_mrview introduction which provides own couch_mrview_updater:map_docs/2 and actually uses it instead. Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit:

[2/4] couch commit: updated refs/heads/2365-fix-failed-multipart-process-leak to f02a101

2014-10-29 Thread mikewallace
Move query server related stats from couch to couch_mrview Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/c6c3c1ee Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/c6c3c1ee Diff:

couch commit: updated refs/heads/master to f02a101

2014-10-29 Thread mikewallace
Repository: couchdb-couch Updated Branches: refs/heads/master 40c5c85d3 - f02a1013d Make couch_stream monitor the stream opener This commit fixes a process leak which would happen when a process opened a couch_stream and exited with reason normal before closing the stream. This patch makes

[2/2] couch commit: updated refs/heads/2365-fix-failed-multipart-process-leak to fd7f888

2014-10-08 Thread mikewallace
Make couch_stream monitor the stream opener This commit fixes a process leak which would happen when a process opened a couch_stream and exited with reason normal before closing the stream. This patch makes the couch_stream gen_server monitor the process which opens the stream. When that monitor

[1/2] couch commit: updated refs/heads/2365-fix-failed-multipart-process-leak to fd7f888

2014-10-08 Thread mikewallace
Repository: couchdb-couch Updated Branches: refs/heads/2365-fix-failed-multipart-process-leak [created] fd7f88895 [squash] Add a test for COUCHDB-2365 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit:

[1/2] mem3 commit: updated refs/heads/wip-cleanup-mem3_rebalance to 27cd2a4

2014-09-16 Thread mikewallace
Repository: couchdb-mem3 Updated Branches: refs/heads/wip-cleanup-mem3_rebalance [created] 27cd2a420 Make mem3_rebalance work with Apache CouchDB This commit updates mem3_rebalance to work with Apache CouchDB. - Return node shortname and hostname instead of node number and cluster name

[2/2] mem3 commit: updated refs/heads/wip-cleanup-mem3_rebalance to 27cd2a4

2014-09-16 Thread mikewallace
Fix arguments in call to couch_mrview:query_view/6 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/commit/81d4efae Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/tree/81d4efae Diff:

couchdb commit: updated refs/heads/2324-fix-n-in-dev-run to eb6281d

2014-09-10 Thread mikewallace
Repository: couchdb Updated Branches: refs/heads/2324-fix-n-in-dev-run [created] eb6281d73 Make N value in dev/run configurable This commit makes N (the number of development nodes spun up) a command line option. It also fixes a magic number which was preventing the value of N from changing

couchdb commit: updated refs/heads/2324-fix-n-in-dev-run to e7bdfa8

2014-09-10 Thread mikewallace
Repository: couchdb Updated Branches: refs/heads/2324-fix-n-in-dev-run eb6281d73 - e7bdfa835 (forced update) Make N value in dev/run configurable This commit makes N (the number of development nodes spun up) a command line option. It also fixes a magic number which was preventing the value of

couchdb commit: updated refs/heads/master to e7bdfa8

2014-09-10 Thread mikewallace
Repository: couchdb Updated Branches: refs/heads/master 38cc17dea - e7bdfa835 Make N value in dev/run configurable This commit makes N (the number of development nodes spun up) a command line option. It also fixes a magic number which was preventing the value of N from changing the number of

fabric commit: updated refs/heads/master to f600e07

2014-09-10 Thread mikewallace
Repository: couchdb-fabric Updated Branches: refs/heads/master 48e31be58 - f600e0786 Move maintenance_mode to the couchdb section Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/f600e078 Tree:

fabric commit: updated refs/heads/2325-teach-fabric-get_db-about-maintenance-mode to 88ff6d3

2014-09-10 Thread mikewallace
Repository: couchdb-fabric Updated Branches: refs/heads/2325-teach-fabric-get_db-about-maintenance-mode [created] 88ff6d323 Teach fabric_util:get_db/2 about maintenance mode If the node servicing a request does not have a shard for the db involved then fabric_util:get_db/2 can return a shard

  1   2   >