[GitHub] nickva commented on a change in pull request #610: Optimize ddoc cache

2017-07-07 Thread git
nickva commented on a change in pull request #610: Optimize ddoc cache URL: https://github.com/apache/couchdb/pull/610#discussion_r126275438 ## File path: src/ddoc_cache/src/ddoc_cache_lru.erl ## @@ -0,0 +1,309 @@ +% Licensed under the Apache License, Version 2.0 (the

[GitHub] nickva commented on a change in pull request #610: Optimize ddoc cache

2017-07-07 Thread git
nickva commented on a change in pull request #610: Optimize ddoc cache URL: https://github.com/apache/couchdb/pull/610#discussion_r126275389 ## File path: src/ddoc_cache/src/ddoc_cache_lru.erl ## @@ -0,0 +1,309 @@ +% Licensed under the Apache License, Version 2.0 (the

[GitHub] nickva commented on a change in pull request #610: Optimize ddoc cache

2017-07-07 Thread git
nickva commented on a change in pull request #610: Optimize ddoc cache URL: https://github.com/apache/couchdb/pull/610#discussion_r126275327 ## File path: src/ddoc_cache/src/ddoc_cache_lru.erl ## @@ -0,0 +1,309 @@ +% Licensed under the Apache License, Version 2.0 (the

[GitHub] wohali opened a new pull request #657: Remove deprecated OAuth 1.0 implementation

2017-07-07 Thread git
wohali opened a new pull request #657: Remove deprecated OAuth 1.0 implementation URL: https://github.com/apache/couchdb/pull/657 Helps resolve issue #656. Implementation broken since bigcouch merge. Replicator oauth hooks are left in place for future work towards adding

[GitHub] nickva commented on a change in pull request #610: Optimize ddoc cache

2017-07-07 Thread git
nickva commented on a change in pull request #610: Optimize ddoc cache URL: https://github.com/apache/couchdb/pull/610#discussion_r126275240 ## File path: src/ddoc_cache/src/ddoc_cache_entry.erl ## @@ -0,0 +1,332 @@ +% Licensed under the Apache License, Version 2.0 (the

[GitHub] nickva commented on a change in pull request #610: Optimize ddoc cache

2017-07-07 Thread git
nickva commented on a change in pull request #610: Optimize ddoc cache URL: https://github.com/apache/couchdb/pull/610#discussion_r126275106 ## File path: src/ddoc_cache/src/ddoc_cache_entry.erl ## @@ -0,0 +1,332 @@ +% Licensed under the Apache License, Version 2.0 (the

[GitHub] nickva commented on a change in pull request #610: Optimize ddoc cache

2017-07-07 Thread git
nickva commented on a change in pull request #610: Optimize ddoc cache URL: https://github.com/apache/couchdb/pull/610#discussion_r126274920 ## File path: src/ddoc_cache/src/ddoc_cache_entry.erl ## @@ -0,0 +1,332 @@ +% Licensed under the Apache License, Version 2.0 (the

[GitHub] nickva commented on a change in pull request #610: Optimize ddoc cache

2017-07-07 Thread git
nickva commented on a change in pull request #610: Optimize ddoc cache URL: https://github.com/apache/couchdb/pull/610#discussion_r126274920 ## File path: src/ddoc_cache/src/ddoc_cache_entry.erl ## @@ -0,0 +1,332 @@ +% Licensed under the Apache License, Version 2.0 (the

[GitHub] nickva commented on a change in pull request #610: Optimize ddoc cache

2017-07-07 Thread git
nickva commented on a change in pull request #610: Optimize ddoc cache URL: https://github.com/apache/couchdb/pull/610#discussion_r126274885 ## File path: src/ddoc_cache/src/ddoc_cache_entry.erl ## @@ -0,0 +1,332 @@ +% Licensed under the Apache License, Version 2.0 (the

[GitHub] wohali opened a new pull request #142: Remove OAuth documentation

2017-07-07 Thread git
wohali opened a new pull request #142: Remove OAuth documentation URL: https://github.com/apache/couchdb-documentation/pull/142 Helps resolve issue #656 Do not merge until a similar PR on apache/couchdb is completed! ## Checklist - [ ] Documentation is written and is

[GitHub] wohali opened a new issue #656: Remove OAuth implementation

2017-07-07 Thread git
wohali opened a new issue #656: Remove OAuth implementation URL: https://github.com/apache/couchdb/issues/656 CouchDB's OAuth implementation is OAuth 1.0 (not 2.0), supports 2-legged authentication only, and does not work with the CouchDB 2.x clustered interface. As the

[jira] [Closed] (COUCHDB-3431) 400 error when posting valid JSON

2017-07-07 Thread Joan Touzet (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joan Touzet closed COUCHDB-3431. Resolution: Fixed > 400 error when posting valid JSON > - > >

[jira] [Commented] (COUCHDB-3431) 400 error when posting valid JSON

2017-07-07 Thread Joan Touzet (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16078936#comment-16078936 ] Joan Touzet commented on COUCHDB-3431: -- Reopening just to note that we even state this in the

[jira] [Reopened] (COUCHDB-3431) 400 error when posting valid JSON

2017-07-07 Thread Joan Touzet (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joan Touzet reopened COUCHDB-3431: -- > 400 error when posting valid JSON > - > > Key:

[GitHub] wohali commented on issue #655: Failure waiting for db shutdown in couchdb_1283 test

2017-07-07 Thread git
wohali commented on issue #655: Failure waiting for db shutdown in couchdb_1283 test URL: https://github.com/apache/couchdb/issues/655#issuecomment-313831089 FYI, a reminder that [COUCHDB-1283](https://issues.apache.org/jira/browse/COUCHDB-1283) is: "Impossible to compact view groups

[GitHub] wohali commented on issue #655: Failure waiting for db shutdown in couchdb_1283 test

2017-07-07 Thread git
wohali commented on issue #655: Failure waiting for db shutdown in couchdb_1283 test URL: https://github.com/apache/couchdb/issues/655#issuecomment-313831089 FYI, a reminder that COUCHDB-1283 is: "Impossible to compact view groups when number of active databases > max_dbs_open". Is a fix

[GitHub] wohali opened a new issue #655: Failure waiting for db shutdown in couchdb_1283 test

2017-07-07 Thread git
wohali opened a new issue #655: Failure waiting for db shutdown in couchdb_1283 test URL: https://github.com/apache/couchdb/issues/655 ## Failure scenario * https://builds.apache.org/blue/organizations/jenkins/CouchDB/detail/master/62/pipeline/43 * ```

[jira] [Closed] (COUCHDB-3431) 400 error when posting valid JSON

2017-07-07 Thread Joan Touzet (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joan Touzet closed COUCHDB-3431. Resolution: Invalid CouchDB is a document-oriented database, not an array-oriented database. As

[GitHub] wohali commented on issue #554: JS stats test has inconsistent results

2017-07-07 Thread git
wohali commented on issue #554: JS stats test has inconsistent results URL: https://github.com/apache/couchdb/issues/554#issuecomment-313824985 I have fully disabled this test for now. I'm starting to think that the dynamic behaviour of the clustered setup means these stats don't make as

[GitHub] wohali closed issue #554: JS stats test has inconsistent results

2017-07-07 Thread git
wohali closed issue #554: JS stats test has inconsistent results URL: https://github.com/apache/couchdb/issues/554 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub

[GitHub] seantanly commented on issue #19: Upgrading Fauxton within 2.0.0 image

2017-07-07 Thread git
seantanly commented on issue #19: Upgrading Fauxton within 2.0.0 image URL: https://github.com/apache/couchdb-docker/issues/19#issuecomment-313823027 @garrensmith Thank you for the pointer, I opted to upgrade the prepackaged Fauxton within the image instead of running a separate Fauxton

[GitHub] wohali commented on issue #571: eunit context cleanup times out while cleaning up os daemons

2017-07-07 Thread git
wohali commented on issue #571: eunit context cleanup times out while cleaning up os daemons URL: https://github.com/apache/couchdb/issues/571#issuecomment-313821982 Haven't seen this again in a bit. Closing for now... This

[GitHub] wohali closed issue #571: eunit context cleanup times out while cleaning up os daemons

2017-07-07 Thread git
wohali closed issue #571: eunit context cleanup times out while cleaning up os daemons URL: https://github.com/apache/couchdb/issues/571 This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] wohali commented on issue #643: EUnit couchdb_views_tests failure: suspend_process after termination

2017-07-07 Thread git
wohali commented on issue #643: EUnit couchdb_views_tests failure: suspend_process after termination URL: https://github.com/apache/couchdb/issues/643#issuecomment-313820358 I believe these are being caused by #652. This is

[GitHub] wohali commented on issue #652: Compaction daemon is interfering with eunit tests (all_dbs_active errors)

2017-07-07 Thread git
wohali commented on issue #652: Compaction daemon is interfering with eunit tests (all_dbs_active errors) URL: https://github.com/apache/couchdb/issues/652#issuecomment-313819946 Note that I could see the flipside of this ticket - that we should leave it enabled and deal with the tests

[GitHub] wohali commented on issue #649: couch_mrview_changes_since_tests gen_server failing with unknown_info

2017-07-07 Thread git
wohali commented on issue #649: couch_mrview_changes_since_tests gen_server failing with unknown_info URL: https://github.com/apache/couchdb/issues/649#issuecomment-313819812 I think this is because of #652 in the eunit test - but do we want to keep this issue to track fixing the race

[GitHub] wohali commented on issue #649: couch_mrview_changes_since_tests gen_server failing with unknown_info

2017-07-07 Thread git
wohali commented on issue #649: couch_mrview_changes_since_tests gen_server failing with unknown_info URL: https://github.com/apache/couchdb/issues/649#issuecomment-313819812 I think this is because of #652 in the eunit test - but do we want to keep this issue to track fixing the race

[GitHub] wohali opened a new pull request #654: Disable compaction daemon on eunit run couch startups

2017-07-07 Thread git
wohali opened a new pull request #654: Disable compaction daemon on eunit run couch startups URL: https://github.com/apache/couchdb/pull/654 Commit 21f9544 enabled the compaction daemon by default. And commit 3afe3ad disabled the compaction daemon at the start of the compaction

[GitHub] wohali commented on issue #652: Compaction daemon is interfering with eunit tests (all_dbs_active errors)

2017-07-07 Thread git
wohali commented on issue #652: Compaction daemon is interfering with eunit tests (all_dbs_active errors) URL: https://github.com/apache/couchdb/issues/652#issuecomment-313814388 So @janl I think your change only disables the daemon going into the compaction daemon tests. I think the

[GitHub] eiri commented on issue #526: Fix _local_docs end-point

2017-07-07 Thread git
eiri commented on issue #526: Fix _local_docs end-point URL: https://github.com/apache/couchdb/pull/526#issuecomment-313802174 @davisp So I went ahead, reverted the new module and modified `fabric_view_all_docs.erl` instead. Does it looks better to you?

[GitHub] wohali commented on issue #652: Compaction daemon is interfering with eunit tests (all_dbs_active errors)

2017-07-07 Thread git
wohali commented on issue #652: Compaction daemon is interfering with eunit tests (all_dbs_active errors) URL: https://github.com/apache/couchdb/issues/652#issuecomment-313790860 That as may be, empirically I'm seeing the compaction daemon running during other eunit tests. More

[GitHub] janl commented on issue #652: Compaction daemon is interfering with eunit tests (all_dbs_active errors)

2017-07-07 Thread git
janl commented on issue #652: Compaction daemon is interfering with eunit tests (all_dbs_active errors) URL: https://github.com/apache/couchdb/issues/652#issuecomment-313776529 I had patched that though: https://github.com/apache/couchdb/pull/624/files

[Jenkins] FAILURE: CouchDB » master #63

2017-07-07 Thread Apache Jenkins Server
Boo, we failed. https://builds.apache.org/job/CouchDB/job/master/63/

[GitHub] eiri closed pull request #645: Pass db open options to fabric_view_map

2017-07-07 Thread git
eiri closed pull request #645: Pass db open options to fabric_view_map URL: https://github.com/apache/couchdb/pull/645 This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] eiri commented on issue #653: User context not passed in `_show` for `_users` database

2017-07-07 Thread git
eiri commented on issue #653: User context not passed in `_show` for `_users` database URL: https://github.com/apache/couchdb/issues/653#issuecomment-313755237 Reference issue apache/couchdb#645 This is an automated message

[GitHub] eiri opened a new issue #653: User context not passed in `_show` for `_users` database

2017-07-07 Thread git
eiri opened a new issue #653: User context not passed in `_show` for `_users` database URL: https://github.com/apache/couchdb/issues/653 ## Expected behavior View's `_show` supposed to work on admin-only databases, such as `_users` when accessed with admin privileges. ##

[GitHub] tonysun83 commented on issue #645: Pass db open options to fabric_view_map

2017-07-07 Thread git
tonysun83 commented on issue #645: Pass db open options to fabric_view_map URL: https://github.com/apache/couchdb/pull/645#issuecomment-313752478 Tested _show and that lead to 500 ``` [error] 2017-07-07T17:59:08.236067Z node1@127.0.0.1 <0.7836.0> 354b71b309 req_err(1517023101)

[GitHub] tonysun83 commented on issue #645: Pass db open options to fabric_view_map

2017-07-07 Thread git
tonysun83 commented on issue #645: Pass db open options to fabric_view_map URL: https://github.com/apache/couchdb/pull/645#issuecomment-313752494 +1 This is an automated message from the Apache Git Service. To respond to the

[Jenkins] FAILURE: CouchDB » master #62

2017-07-07 Thread Apache Jenkins Server
Boo, we failed. https://builds.apache.org/job/CouchDB/job/master/62/

[jira] [Issue Comment Deleted] (COUCHDB-3431) 400 error when posting valid JSON

2017-07-07 Thread glen (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] glen updated COUCHDB-3431: -- Comment: was deleted (was: Responded tested a different input) > 400 error when posting valid JSON >

[jira] [Reopened] (COUCHDB-3431) 400 error when posting valid JSON

2017-07-07 Thread glen (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] glen reopened COUCHDB-3431: --- Responded tested a different input > 400 error when posting valid JSON > - > >

[GitHub] wohali closed pull request #651: JS test cleanup x3

2017-07-07 Thread git
wohali closed pull request #651: JS test cleanup x3 URL: https://github.com/apache/couchdb/pull/651 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL

[jira] [Closed] (COUCHDB-3431) 400 error when posting valid JSON

2017-07-07 Thread Joan Touzet (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joan Touzet closed COUCHDB-3431. Resolution: Fixed It's whatever you're doing for encoding that is wrong. It definitely works. $

[jira] [Closed] (COUCHDB-3432) make fails at jiffy

2017-07-07 Thread Joan Touzet (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joan Touzet closed COUCHDB-3432. Resolution: Works for Me > make fails at jiffy > --- > > Key:

[jira] [Commented] (COUCHDB-3432) make fails at jiffy

2017-07-07 Thread Joan Touzet (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16078341#comment-16078341 ] Joan Touzet commented on COUCHDB-3432: -- You are missing a build dependency. Here is what we

[GitHub] wohali commented on issue #652: Compaction daemon is interfering with eunit tests (all_dbs_active errors)

2017-07-07 Thread git
wohali commented on issue #652: Compaction daemon is interfering with eunit tests (all_dbs_active errors) URL: https://github.com/apache/couchdb/issues/652#issuecomment-313727920 `src/couch/test/couchdb_compaction_daemon_tests.erl` I guess we could have this do the config dance to

[jira] [Created] (COUCHDB-3432) make fails at jiffy

2017-07-07 Thread Nicholas Chandoke (JIRA)
Nicholas Chandoke created COUCHDB-3432: -- Summary: make fails at jiffy Key: COUCHDB-3432 URL: https://issues.apache.org/jira/browse/COUCHDB-3432 Project: CouchDB Issue Type: Bug

[jira] [Created] (COUCHDB-3431) 400 error when posting valid JSON

2017-07-07 Thread glen (JIRA)
glen created COUCHDB-3431: - Summary: 400 error when posting valid JSON Key: COUCHDB-3431 URL: https://issues.apache.org/jira/browse/COUCHDB-3431 Project: CouchDB Issue Type: Bug

[GitHub] janl commented on issue #51: feat: switch from follow to cloudant-follow, which is maintaned

2017-07-07 Thread git
janl commented on issue #51: feat: switch from follow to cloudant-follow, which is maintaned URL: https://github.com/apache/couchdb-nano/pull/51#issuecomment-313674201 ping @garrensmith @glynnbird @jo This is an automated

[GitHub] wohali opened a new issue #652: Compaction daemon is interfering with eunit tests (all_dbs_active errors)

2017-07-07 Thread git
wohali opened a new issue #652: Compaction daemon is interfering with eunit tests (all_dbs_active errors) URL: https://github.com/apache/couchdb/issues/652 The recent enabling of the compaction daemon also has it now running during the eunit tests, which is why we're suddenly getting

[GitHub] wohali commented on issue #652: Compaction daemon is interfering with eunit tests (all_dbs_active errors)

2017-07-07 Thread git
wohali commented on issue #652: Compaction daemon is interfering with eunit tests (all_dbs_active errors) URL: https://github.com/apache/couchdb/issues/652#issuecomment-313614461 @janl mind taking a look at this one? This

[GitHub] couchdb-jiffy issue #3: Fix enc_long for 64-bit Windows compilation.

2017-07-07 Thread NorthNick
Github user NorthNick commented on the issue: https://github.com/apache/couchdb-jiffy/pull/3 Thanks Joan --- 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 wishes so,

[GitHub] wohali closed issue #630: EUnit couch_changes_tests failing should_select_with_continuous test due to heartbeats

2017-07-07 Thread git
wohali closed issue #630: EUnit couch_changes_tests failing should_select_with_continuous test due to heartbeats URL: https://github.com/apache/couchdb/issues/630 This is an automated message from the Apache Git Service.

[GitHub] wohali opened a new pull request #651: JS test cleanup x3

2017-07-07 Thread git
wohali opened a new pull request #651: JS test cleanup x3 URL: https://github.com/apache/couchdb/pull/651 ## Overview This PR includes 3 small commits to fix up the JS test suite: 1. Really, truly disable the compaction daemon. (The previous approach wasn't working.) 2.