[GitHub] couchdb-couch pull request: Add hard limit for OS processes

2014-02-14 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/1#issuecomment-35115035 There's a problem with the waiting queue not being per-language here. This would block some clients of idle languages if one of the languages happens to reac

[GitHub] couchdb-couch pull request: Add hard limit for OS processes

2014-02-14 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/1#issuecomment-35115764 Beyond the queue-per-language question the diff is mostly good for me. I'd like to see some deduplication in logic but beyond that it looks fine.

[GitHub] couchdb-couch pull request: Add hard limit for OS processes

2014-02-15 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/1#discussion_r9772933 First, replace this with couch_util:to_binary/1, second, instead of calling it all over the place, just add it into the handle_call clauses so that all of the Lang

[GitHub] couchdb-couch pull request: Add hard limit for OS processes

2014-02-15 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/1#discussion_r9772943 You can't use os:timestamp/0 here becuase its not guaranteed to be unique. You'll need to use erlang:now/0. If your project is set up for it, you can rep

[GitHub] couchdb-couch pull request: Add hard limit for OS processes

2014-02-15 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/1#issuecomment-35157662 I think it'd be good to clean up the {From, Lang} vs. {From, Lang, DDoc, DDocKey} mess. Lets add a record `#client{timestamp, lang, ddoc, ddockey}` record and

[GitHub] couchdb-couch pull request: Add hard limit for OS processes

2014-02-17 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/1#discussion_r9800282 Slight nit but for live introspection this is a bit of an awkward name. I'd go with couch_proc_manage_waiting. Might also add it as a -define constant for line l

[GitHub] couchdb-couch pull request: Add hard limit for OS processes

2014-02-17 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/1#issuecomment-35310894 +1 after renaming the table. --- 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

[GitHub] couchdb-couch pull request: Add hard limit for OS processes

2014-02-17 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/1#issuecomment-35312807 Merged into 1843-feature-bigcouch --- 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

[GitHub] couchdb-mem3 pull request: Handle the #doc_info case in changes_en...

2014-06-18 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-mem3/pull/1#issuecomment-46502194 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled

[GitHub] couchdb-fauxton pull request: Changed how these files are named so...

2014-07-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-fauxton/pull/16#issuecomment-49918363 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] couchdb-couch-stats pull request: Implement couch stats

2014-08-19 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch-stats/pull/1#issuecomment-52672909 +1. We'll need to start rebasing/merging all of the changes to the other repos soon as this lands because of the module name conflicts with couchdb-

[GitHub] couchdb-couch-replicator pull request: Update handle_changes funct...

2014-08-29 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch-replicator/pull/2#issuecomment-53862268 Can you link to the corresponding PR to couchdb-couch to help with the review? --- If your project is set up for it, you can reply to this email and

[GitHub] couchdb pull request: Fix opacity on favicon

2014-09-04 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb/pull/261#issuecomment-54515877 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and

[GitHub] couchdb-couch pull request: 2322 fix couch proc manager limits

2014-09-05 Thread davisp
GitHub user davisp opened a pull request: https://github.com/apache/couchdb-couch/pull/5 2322 fix couch proc manager limits This fixes the couch_proc_manager limit counting by rearranging the increment and decrements when processes are created and destroyed. It ensures that each

[GitHub] couchdb-couch pull request: 2322 fix couch proc manager limits

2014-09-05 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/5#issuecomment-54691882 I should note that all eunit and JS tests passed. I had to run the delayed_commits in isolation once to get it green but I'm told its rather flaky so likely n

[GitHub] couchdb pull request: Add view changes functionality

2014-10-22 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb/pull/265#issuecomment-60129897 +1 once you remove your URL mangling --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] couchdb-couch-mrview pull request: Add view changes functionality

2014-10-22 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch-mrview/pull/2#discussion_r19233379 --- Diff: src/couch_mrview.erl --- @@ -135,11 +140,67 @@ query_view(Db, {Type, View, Ref}, Args, Callback, Acc) -> erlang:demoni

[GitHub] couchdb-couch-mrview pull request: Add view changes functionality

2014-10-22 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch-mrview/pull/2#discussion_r19233446 --- Diff: src/couch_mrview.erl --- @@ -148,11 +209,51 @@ get_info(Db, DDoc) -> trigger_update(Db, DDoc) -> trigger_update(Db

[GitHub] couchdb-couch-mrview pull request: Add view changes functionality

2014-10-22 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch-mrview/pull/2#discussion_r19233515 --- Diff: src/couch_mrview.erl --- @@ -148,11 +209,51 @@ get_info(Db, DDoc) -> trigger_update(Db, DDoc) -> trigger_update(Db

[GitHub] couchdb-couch-mrview pull request: Add view changes functionality

2014-10-22 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch-mrview/pull/2#issuecomment-60130901 I've given up on commenting on indentation issues individually. That said, there's lots and lots that needs to be fixed. --- If your project is set

[GitHub] couchdb-couch-mrview pull request: Add view changes functionality

2014-10-22 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch-mrview/pull/2#discussion_r19233778 --- Diff: src/couch_mrview_changes.erl --- @@ -0,0 +1,18 @@ +% Licensed under the Apache License, Version 2.0 (the "License"); yo

[GitHub] couchdb-couch-mrview pull request: Add view changes functionality

2014-10-22 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch-mrview/pull/2#discussion_r19234258 --- Diff: src/couch_mrview_http.erl --- @@ -46,7 +48,46 @@ handle_all_docs_req(#httpd{method='POST'}=Req, Db) -> handle_all_docs

[GitHub] couchdb-couch-mrview pull request: Add view changes functionality

2014-10-22 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch-mrview/pull/2#discussion_r19234314 --- Diff: include/couch_mrview.hrl --- @@ -18,12 +18,14 @@ idx_name, language, design_opts=[], +seq_indexed

[GitHub] couchdb-couch-mrview pull request: Add view changes functionality

2014-10-22 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch-mrview/pull/2#discussion_r19234375 --- Diff: src/couch_mrview_http.erl --- @@ -46,7 +48,46 @@ handle_all_docs_req(#httpd{method='POST'}=Req, Db) -> handle_all_docs

[GitHub] couchdb-couch-mrview pull request: Add view changes functionality

2014-10-22 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch-mrview/pull/2#discussion_r19234403 --- Diff: src/couch_mrview_http.erl --- @@ -438,8 +479,10 @@ parse_boolean(true) -> true; parse_boolean(false) ->

[GitHub] couchdb-couch-mrview pull request: Add view changes functionality

2014-10-22 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch-mrview/pull/2#issuecomment-60133065 src/couch_mrview_update_notifier.erl is based on legacy code. That should pipe through couch_event now. --- If your project is set up for it, you can reply

[GitHub] couchdb-couch-mrview pull request: Add view changes functionality

2014-10-22 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch-mrview/pull/2#discussion_r19235117 --- Diff: src/couch_mrview_updater.erl --- @@ -210,69 +254,122 @@ accumulate_more(NumDocIds) -> andalso CurrMem < list_to_i

[GitHub] couchdb-couch-mrview pull request: Add view changes functionality

2014-10-22 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch-mrview/pull/2#issuecomment-60137836 Beyond the style issues there's some awfully confusing logic embedded in this PR. A lot of things could be simplified if we pull things out into func

[GitHub] couchdb-couch pull request: Add view changes functionality

2014-10-22 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch/pull/4#discussion_r19236997 --- Diff: src/couch_changes.erl --- @@ -332,24 +444,52 @@ build_acc(Args, Callback, UserAcc, Db, StartSeq, Prepend, Timeout, TimeoutFun

[GitHub] couchdb-couch pull request: Add view changes functionality

2014-10-22 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/4#issuecomment-60138640 This change creates a cyclic dependency between couch_mrview and couch which is ungood. Its not necessarily a show stopper but I'd really like to put some th

[GitHub] couchdb-couch pull request: 2365 fix failed multipart process leak

2014-10-28 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/11#issuecomment-60799747 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] couchdb pull request: Remove leftovers from broken becnhmark

2014-11-10 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb/pull/280#issuecomment-62440216 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and

[GitHub] couchdb-couch pull request: Normalize special CouchDB headers name...

2014-11-10 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/15#issuecomment-62440626 Do we want to worry about backwards compatibility here or not? Or maybe we can add a check that throws a 400 if it detects an old header name? This just feels like

[GitHub] couchdb pull request: Disable Nagle`s algorithm

2014-11-10 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb/pull/281#issuecomment-62440688 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and

[GitHub] couchdb-couch pull request: Normalize special CouchDB headers name...

2014-11-10 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/15#issuecomment-62443228 @kxepal Sure, I agree that normalizing things to be consistent is a good idea. I'm just saying that for any user that happens to miss this particular change i

[GitHub] couchdb-chttpd pull request: 2080 port cors

2014-11-10 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-chttpd/pull/8#issuecomment-62443600 I'd agree with @chewbranca here. There's a significant amount of duplication between the two HTTP layers that everyone agrees needs to be removed. I d

[GitHub] couchdb-couch-mrview pull request: Cleanup Warnings

2014-11-12 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch-mrview/pull/9#issuecomment-62804143 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] couchdb-couch pull request: Expose and add helper for tests

2014-12-01 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/17#issuecomment-65110606 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] couchdb-couch pull request: Refactor couch_httpd_auth's AuthModule...

2014-12-04 Thread davisp
GitHub user davisp opened a pull request: https://github.com/apache/couchdb-couch/pull/21 Refactor couch_httpd_auth's AuthModule construct We were missing the change necessary to upgrade user documents with the move to pbkdf2 in a cluster. This also adds the ability f

[GitHub] couchdb-chttpd pull request: Update chttpd_auth_cache for new couc...

2014-12-04 Thread davisp
GitHub user davisp opened a pull request: https://github.com/apache/couchdb-chttpd/pull/13 Update chttpd_auth_cache for new couch_auth_cache This updates the interface to chttpd_auth_cache to match the new callback API expected by couch_httpd_auth. Specifically this allows for

[GitHub] couchdb-couch pull request: Refactor couch_httpd_auth's AuthModule...

2014-12-05 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch/pull/21#discussion_r21389526 --- Diff: src/couch_auth_cache.erl --- @@ -42,12 +43,18 @@ -spec get_user_creds(UserName::string() | binary()) -> -Credenti

[GitHub] couchdb-couch pull request: Refactor/multipart stream

2014-12-09 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/19#issuecomment-66406876 There be dragons in this code so I'd like to hold off until someone can find time to make sure there are zero behavior changes. I've fixed a number of bu

[GitHub] couchdb-couch pull request: 26566 maximize attachment sharing betw...

2014-12-11 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch/pull/22#discussion_r21720537 --- Diff: src/couch_db_updater.erl --- @@ -985,27 +985,18 @@ sync_header(Db, NewHeader) -> waiting_delayed_commit=

[GitHub] couchdb-couch pull request: 26566 maximize attachment sharing betw...

2014-12-11 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch/pull/22#discussion_r21720525 --- Diff: src/couch_db_updater.erl --- @@ -985,27 +985,18 @@ sync_header(Db, NewHeader) -> waiting_delayed_commit=

[GitHub] couchdb-couch pull request: 26566 maximize attachment sharing betw...

2014-12-11 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch/pull/22#discussion_r21720641 --- Diff: src/couch_db_updater.erl --- @@ -1044,10 +1057,11 @@ copy_docs(Db, #db{fd = DestFd} = NewDb, MixedInfos, Retry) -> A =

[GitHub] couchdb-couch pull request: 26566 maximize attachment sharing betw...

2014-12-11 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch/pull/22#discussion_r21720818 --- Diff: src/couch_db_updater.erl --- @@ -1061,22 +1075,22 @@ copy_docs(Db, #db{fd = DestFd} = NewDb, MixedInfos, Retry

[GitHub] couchdb-couch pull request: 26566 maximize attachment sharing betw...

2014-12-11 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/22#issuecomment-66713683 Good work on this. I hadn't even contemplated the deduplicating between documents. That approach looks like it'll work quite nicely. The only major thing

[GitHub] couchdb-fabric pull request: Add system db handlers to fabric_doc_...

2014-12-11 Thread davisp
GitHub user davisp opened a pull request: https://github.com/apache/couchdb-fabric/pull/6 Add system db handlers to fabric_doc_update This hard codes the before_doc_write functions for replicator and user databases like they are in couch_server. This is mostly motivated by the

[GitHub] couchdb-fabric pull request: Add system db handlers to fabric_doc_...

2014-12-12 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-fabric/pull/6#issuecomment-66816904 Yeah, the is_replicator_db and is_users_db should probably be in couch_replicator and couch_users_db but I figured we can clean that up later if need be

[GitHub] couchdb-couch pull request: Add IS_OLD_RECORD macro

2014-12-12 Thread davisp
GitHub user davisp opened a pull request: https://github.com/apache/couchdb-couch/pull/23 Add IS_OLD_RECORD macro This can be used in guards to detect if a state variable needs to be upgraded. An example of it's use might be: handle_call(Msg, From, St)

[GitHub] couchdb-fabric pull request: Exit early when there is a quorum but...

2014-12-12 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-fabric/pull/5#issuecomment-66831488 +1 Merging. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this

[GitHub] couchdb-fabric pull request: Exit early when there is a quorum but...

2014-12-12 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-fabric/pull/5#issuecomment-66831827 Just noticed that the branch name is wrong. Can you push a new PR with the proper naming scheme please? --- If your project is set up for it, you can reply to this

[GitHub] couchdb-chttpd pull request: Open revs all function clause if docu...

2014-12-12 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-chttpd/pull/14#issuecomment-66832337 This needs a new branch name as well. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your

[GitHub] couchdb-fabric pull request: 2517 open revs=all function clause

2014-12-16 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-fabric/pull/7#issuecomment-67229541 +1. Merging --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this

[GitHub] couchdb-chttpd pull request: 2517 open revs=all function clause

2014-12-16 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-chttpd/pull/15#issuecomment-67229579 +1 merging --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this

[GitHub] couchdb-couch pull request: Add IS_OLD_RECORD macro

2014-12-16 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch/pull/23#discussion_r21931145 --- Diff: include/couch_db.hrl --- @@ -23,6 +23,8 @@ -define(JSON_ENCODE(V), couch_util:json_encode(V)). -define(JSON_DECODE(V

[GitHub] couchdb-couch pull request: 2516 deduplicate attachements on compa...

2014-12-16 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch/pull/24#discussion_r21931536 --- Diff: src/couch_db_updater.erl --- @@ -676,29 +676,43 @@ flush_trees(#db{fd = Fd} = Db, _ -> {Value, Sizes

[GitHub] couchdb-couch pull request: 2516 deduplicate attachements on compa...

2014-12-16 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/24#issuecomment-67239293 That looks pretty good but there's still an issue with the counting of active size. Unfortunately I think the fix is going to require us to start using @strm

[GitHub] couchdb-couch pull request: 2516 deduplicate attachements on compa...

2015-01-07 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/24#issuecomment-69077741 For posterity, we were trying to make this work without requiring an on-disk format change but sadly that appears to not be possible due to the lack of information

[GitHub] couchdb-jiffy pull request: Update jiffy to 0.13.3

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-jiffy/pull/1#issuecomment-85244644 For the update to 0.13 we should just sync from upstream. As has been pointed out if we commit to master on any of these we permanently break our ability to track

[GitHub] couchdb pull request: Consume JSON body even when its content is i...

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb/pull/304#issuecomment-85245732 How do we get this closed if the patch already landed? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If

[GitHub] couchdb pull request: Test users db security rules on clustered in...

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb/pull/288#issuecomment-85247064 LGTM --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled

[GitHub] couchdb pull request: Update INSTALL.Unix

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb/pull/272#issuecomment-85247682 LGTM --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled

[GitHub] couchdb pull request: doc: explain new workflow for developing

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb/pull/270#issuecomment-85248702 Erm, so +1 to merging this. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] couchdb pull request: doc: explain new workflow for developing

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb/pull/270#issuecomment-85248649 You can add that ./dev/run -n 1 will spin up a single node as well. Obviously that's just a single node running the full clustered interface. If anyone feels like m

[GitHub] couchdb pull request: Add systemd notification support

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb/pull/258#issuecomment-85250241 This seems like it'd be better to write this as a plugin. For starters, randomly loading a module named sd_notify seems not good from a security point of

[GitHub] couchdb pull request: Allow passing directories as the config sour...

2015-03-23 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb/pull/257#discussion_r26992810 --- Diff: src/couchdb/couch_app.erl --- @@ -37,7 +38,17 @@ get_ini_files(Default) -> {ok, [[]]} -> Default; {ok, [

[GitHub] couchdb pull request: Allow passing directories as the config sour...

2015-03-23 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb/pull/257#discussion_r26992836 --- Diff: src/couchdb/couch_app.erl --- @@ -37,7 +38,17 @@ get_ini_files(Default) -> {ok, [[]]} -> Default; {ok, [

[GitHub] couchdb pull request: Allow passing directories as the config sour...

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb/pull/257#issuecomment-85251274 Also, this should be ported to the couchdb-config app since this won't merge to master. Should be a trivial move though. --- If your project is set up for it, yo

[GitHub] couchdb pull request: COUCHDB-1438 - fix - Ignore trailing / on ro...

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb/pull/122#issuecomment-85254157 Its fixed on the clustered interface though we'll may want to port this to the couch_httpd.erl in couchdb-couch.git --- If your project is set up for it, you can

[GitHub] couchdb pull request: Added warning in docs for COUCHDB-1415

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb/pull/98#issuecomment-85254598 I'm pretty sure the underlying bug is fixed in 2.0. Might want to revisit the docs on this. --- If your project is set up for it, you can reply to this email and

[GitHub] couchdb-chttpd pull request: add gitignore

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-chttpd/pull/29#issuecomment-85257224 LGTM --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] couchdb-chttpd pull request: add _changes?feed=stream sugar for co...

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-chttpd/pull/28#issuecomment-85257576 Voting 0 with no modifier as per same reason as @janl and @rnewson. Also agree using a comma instead of the slash when listing the possible values. --- If your

[GitHub] couchdb-chttpd pull request: Use started apps from test_util:start...

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-chttpd/pull/24#issuecomment-85260053 LGTM --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] couchdb-chttpd pull request: Return {error, Reason} for illegal_da...

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-chttpd/pull/26#issuecomment-85269588 The PR tile, linked ticket, and diff don't seem to match to me. The diff appears to change the error message to include the database name (which is fine,

[GitHub] couchdb-chttpd pull request: Add users db security rules on cluste...

2015-03-23 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-chttpd/pull/12#discussion_r26996242 --- Diff: src/chttpd_auth_cache.erl --- @@ -91,6 +102,12 @@ handle_info({'DOWN', _, _, Pid, Reason}, #state{changes_pid=Pi

[GitHub] couchdb-chttpd pull request: Add users db security rules on cluste...

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-chttpd/pull/12#issuecomment-85272031 +1 to squerge --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this

[GitHub] couchdb-chttpd pull request: abort_multi_part_stream has been move...

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-chttpd/pull/11#issuecomment-85272309 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] couchdb-mem3 pull request: Make the hash algorithm configurable pe...

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-mem3/pull/3#issuecomment-85275680 Looks like this is missing adding the ets_lru worker to the mem3 supervision tree. --- If your project is set up for it, you can reply to this email and have your

[GitHub] couchdb-couch pull request: 2534 db security respect authed users

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/29#issuecomment-85280210 +1 after squashing the refactor commit --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your

[GitHub] couchdb-couch pull request: add *.d to .gitignore

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/28#issuecomment-85280587 Which dependencies in priv? *.d seems a bit overly general, perhaps limit to the directory they affect? --- If your project is set up for it, you can reply to this

[GitHub] couchdb-couch pull request: Add IS_OLD_RECORD macro

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/23#issuecomment-85280780 +1 to merge. I guess I should probably get to that. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well

[GitHub] couchdb-couch pull request: Add users db security rules on cluster...

2015-03-23 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch/pull/20#discussion_r26997498 --- Diff: src/couch_server.erl --- @@ -116,30 +116,37 @@ create(DbName, Options0) -> delete(DbName, Options) -> gen_serve

[GitHub] couchdb-couch pull request: Add users db security rules on cluster...

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/20#issuecomment-85281459 I haven't done a thorough review yet, but this seems related to PR #41 --- If your project is set up for it, you can reply to this email and have your reply a

[GitHub] couchdb-couch-index pull request: Return pending_updates field fro...

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch-index/pull/3#issuecomment-85283918 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] couchdb-couch-mrview pull request: Fix typo in metrics definition

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch-mrview/pull/14#issuecomment-85285422 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] couchdb-couch-mrview pull request: Define ADMIN_USER and ADMIN_CTX...

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch-mrview/pull/15#issuecomment-85285305 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] couchdb-couch-mrview pull request: Export get_view_callback/3 for ...

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch-mrview/pull/11#issuecomment-85285528 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] couchdb-couch-mrview pull request: Remove handlers of outdated mrv...

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch-mrview/pull/5#issuecomment-85285843 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] couchdb-couch-replicator pull request: Return context from test_ut...

2015-03-23 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch-replicator/pull/8#issuecomment-85286204 Can you link to the PR that changes test_util? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as

[GitHub] couchdb-ets-lru pull request: Migrate the tests from etap to eunit

2015-04-30 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-ets-lru/pull/1#issuecomment-97806286 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] couchdb-chttpd pull request: Handle Etag generation in one place

2015-05-21 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-chttpd/pull/34#issuecomment-104318654 This looks mostly good to me. I'm confused by the changes to add header manipulation functions in 9ab5b83 which don't appear to be used anywhere. I

[GitHub] couchdb-chttpd pull request: Handle Etag generation in one place

2015-05-21 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-chttpd/pull/34#issuecomment-104318793 Ah, found it. Reviewing the others as well. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If

[GitHub] couchdb-couch pull request: Add test suite for Etag generation in ...

2015-05-21 Thread davisp
Github user davisp commented on the pull request: https://github.com/apache/couchdb-couch/pull/51#issuecomment-104322934 You should adding and removing documents in between requests so that you can verify that the etag changes appropriately. --- If your project is set up for it, you

[GitHub] couchdb-couch-mrview pull request: 2650 etag fixes

2015-05-21 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch-mrview/pull/18#discussion_r30815269 --- Diff: src/couch_mrview_util.erl --- @@ -1016,3 +1019,26 @@ get_view_queries({Props}) -> _ -> throw({bad_r

[GitHub] couchdb-couch-epi pull request: The race condition between provide...

2015-07-15 Thread davisp
Github user davisp commented on a diff in the pull request: https://github.com/apache/couchdb-couch-epi/pull/4#discussion_r34695307 --- Diff: src/couch_epi_data.erl --- @@ -88,7 +88,8 @@ handle_call(stop, _From, State) -> handle_call(_Request, _From, State) ->