[jira] [Commented] (COUCHDB-3409) CouchDB has intermittent 30sec delays

2017-05-03 Thread Joan Touzet (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15995987#comment-15995987 ] Joan Touzet commented on COUCHDB-3409: -- If you're running on a Mac, you might be running into this

[jira] [Commented] (COUCHDB-3409) CouchDB has intermittent 30sec delays

2017-05-03 Thread Joan Touzet (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15995968#comment-15995968 ] Joan Touzet commented on COUCHDB-3409: -- Further info: We run all of our regression tests (Travis

[jira] [Commented] (COUCHDB-3409) CouchDB has intermittent 30sec delays

2017-05-03 Thread Joan Touzet (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15995964#comment-15995964 ] Joan Touzet commented on COUCHDB-3409: -- I've never seen this. Can you reproduce this problem

[GitHub] wohali commented on issue #506: replication to non-existent target db never updates _replicator doc with state

2017-05-03 Thread git
wohali commented on issue #506: replication to non-existent target db never updates _replicator doc with state URL: https://github.com/apache/couchdb/issues/506#issuecomment-299068678 After investigation and chatting with you on IRC, I think this is because the standard JS harness is

[GitHub] nickva closed pull request #505: Enable tail call optimization in couch_replicator_docs

2017-05-03 Thread git
nickva closed pull request #505: Enable tail call optimization in couch_replicator_docs URL: https://github.com/apache/couchdb/pull/505 This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] nickva commented on issue #505: Enable tail call optimization in couch_replicator_docs

2017-05-03 Thread git
nickva commented on issue #505: Enable tail call optimization in couch_replicator_docs URL: https://github.com/apache/couchdb/pull/505#issuecomment-299068632 @iilyak ah no worries, I assumed it needed TCO as well, so I think it was a useful exercise to understand how it works.

[GitHub] wohali commented on issue #506: replication to non-existent target db never updates _replicator doc with state

2017-05-03 Thread git
wohali commented on issue #506: replication to non-existent target db never updates _replicator doc with state URL: https://github.com/apache/couchdb/issues/506#issuecomment-299063118 OK, I've rebuilt from master, and I've shifted over to using `/_scheduler/docs/foo_error_rep` which

[GitHub] iilyak commented on a change in pull request #496: Couchdb 3287 pluggable storage engines

2017-05-03 Thread git
iilyak commented on a change in pull request #496: Couchdb 3287 pluggable storage engines URL: https://github.com/apache/couchdb/pull/496#discussion_r114674271 ## File path: src/couch/src/couch_util.erl ## @@ -62,6 +63,37 @@ normparts(["." | RestParts], Acc) ->

[jira] [Created] (COUCHDB-3409) CouchDB has intermittent 30sec delays

2017-05-03 Thread Chris Elder (JIRA)
Chris Elder created COUCHDB-3409: Summary: CouchDB has intermittent 30sec delays Key: COUCHDB-3409 URL: https://issues.apache.org/jira/browse/COUCHDB-3409 Project: CouchDB Issue Type: Bug

[GitHub] iilyak commented on issue #505: Enable tail call optimization in couch_replicator_docs

2017-05-03 Thread git
iilyak commented on issue #505: Enable tail call optimization in couch_replicator_docs URL: https://github.com/apache/couchdb/pull/505#issuecomment-299055579 Thank you Paul and Nick for pointing out that I was wrong. The code would work as is. @nickva could you close the PR?

[GitHub] nickva commented on issue #505: Enable tail call optimization in couch_replicator_docs

2017-05-03 Thread git
nickva commented on issue #505: Enable tail call optimization in couch_replicator_docs URL: https://github.com/apache/couchdb/pull/505#issuecomment-299054310 @davisp pointed out that current code already has TCO and this is not needed Used this script from him (with a modification

[GitHub] nickva commented on issue #506: replication to non-existent target db never updates _replicator doc with state

2017-05-03 Thread git
nickva commented on issue #506: replication to non-existent target db never updates _replicator doc with state URL: https://github.com/apache/couchdb/issues/506#issuecomment-299050952 @wohali Thanks for taking a look! By default scheduling replicator does not update

[GitHub] wohali opened a new issue #506: replication to non-existent target db never updates _replicator doc with state

2017-05-03 Thread git
wohali opened a new issue #506: replication to non-existent target db never updates _replicator doc with state URL: https://github.com/apache/couchdb/issues/506 # Steps to recreate 1. Create database `a` and put a few documents in it. Ensure a database `b` does not exist. 2. Create

[GitHub] davisp commented on issue #504: Opimize writing KV node append writes

2017-05-03 Thread git
davisp commented on issue #504: Opimize writing KV node append writes URL: https://github.com/apache/couchdb/pull/504#issuecomment-299041887 @nickva Yeap. Missed a dumb case when I was trying to be defensive for the is_append_only function. Fixed now.

[GitHub] nickva opened a new pull request #505: Enable tail call optimization in couch_replicator_docs

2017-05-03 Thread git
nickva opened a new pull request #505: Enable tail call optimization in couch_replicator_docs URL: https://github.com/apache/couchdb/pull/505 `update_docs/4` function was recursively called from `catch` part of a try ... catch block. That construct prevented tail call optimization to

[jira] [Commented] (COUCHDB-3298) Improve couch_btree:chunkify logic

2017-05-03 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15995685#comment-15995685 ] ASF subversion and git services commented on COUCHDB-3298: -- Commit

[GitHub] nickva commented on issue #504: Opimize writing KV node append writes

2017-05-03 Thread git
nickva commented on issue #504: Opimize writing KV node append writes URL: https://github.com/apache/couchdb/pull/504#issuecomment-299026530 Some tests are failing in `couch_btree` module ``` in call from couch_btree:add_remove/3 (src/couch_btree.erl, line 235) in call from

[GitHub] iilyak commented on a change in pull request #496: Couchdb 3287 pluggable storage engines

2017-05-03 Thread git
iilyak commented on a change in pull request #496: Couchdb 3287 pluggable storage engines URL: https://github.com/apache/couchdb/pull/496#discussion_r114636376 ## File path: src/couch/src/couch_att.erl ## @@ -233,6 +234,14 @@ transform(Field, Fun, Att) ->

[jira] [Closed] (COUCHDB-2077) Donate and use global_changes

2017-05-03 Thread Joan Touzet (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-2077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joan Touzet closed COUCHDB-2077. Resolution: Fixed We have _global_changes! Thanks, Cloudant! > Donate and use global_changes >

[GitHub] iilyak commented on a change in pull request #496: Couchdb 3287 pluggable storage engines

2017-05-03 Thread git
iilyak commented on a change in pull request #496: Couchdb 3287 pluggable storage engines URL: https://github.com/apache/couchdb/pull/496#discussion_r114632152 ## File path: src/couch/test/couch_stream_tests.erl ## @@ -14,10 +14,11 @@

[GitHub] millayr commented on issue #918: Mango doesn't highlight the Databases section of the main nav

2017-05-03 Thread git
millayr commented on issue #918: Mango doesn't highlight the Databases section of the main nav URL: https://github.com/apache/couchdb-fauxton/issues/918#issuecomment-298990096 Result:

[GitHub] millayr opened a new pull request #919: Adding selectedHeader to mango routes

2017-05-03 Thread git
millayr opened a new pull request #919: Adding selectedHeader to mango routes URL: https://github.com/apache/couchdb-fauxton/pull/919 When navigating to Mango in the dashboard we weren't highlighting the "Databases" section of the main nav.

[GitHub] millayr opened a new issue #918: Mango doesn't highlight the Databases section of the main nav

2017-05-03 Thread git
millayr opened a new issue #918: Mango doesn't highlight the Databases section of the main nav URL: https://github.com/apache/couchdb-fauxton/issues/918 See title ![image](https://cloud.githubusercontent.com/assets/6378840/25674507/09ba223e-3009-11e7-8b10-7e54caee2207.png)

[GitHub] davisp opened a new pull request #504: Opimize writing KV node append writes

2017-05-03 Thread git
davisp opened a new pull request #504: Opimize writing KV node append writes URL: https://github.com/apache/couchdb/pull/504 ## Overview As it turns out, the original change in COUCHDB-3298 ends up hurting disk usage when a view emits large amounts of data (i.e., more than half

[jira] [Commented] (COUCHDB-3298) Improve couch_btree:chunkify logic

2017-05-03 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15995337#comment-15995337 ] ASF subversion and git services commented on COUCHDB-3298: -- Commit

[jira] [Commented] (COUCHDB-3324) Scheduling Replicator

2017-05-03 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15995334#comment-15995334 ] ASF subversion and git services commented on COUCHDB-3324: -- Commit

[jira] [Commented] (COUCHDB-3324) Scheduling Replicator

2017-05-03 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15995336#comment-15995336 ] ASF subversion and git services commented on COUCHDB-3324: -- Commit

[jira] [Commented] (COUCHDB-3402) JS: dev/run timing out starting up nodes

2017-05-03 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15995335#comment-15995335 ] ASF subversion and git services commented on COUCHDB-3402: -- Commit

[GitHub] nickva closed pull request #503: Fix `badarg` when querying replicator's _scheduler/docs endpoint

2017-05-03 Thread git
nickva closed pull request #503: Fix `badarg` when querying replicator's _scheduler/docs endpoint URL: https://github.com/apache/couchdb/pull/503 This is an automated message from the Apache Git Service. To respond to the

[GitHub] GinoCubeddu commented on issue #503: Fix `badarg` when querying replicator's _scheduler/docs endpoint

2017-05-03 Thread git
GinoCubeddu commented on issue #503: Fix `badarg` when querying replicator's _scheduler/docs endpoint URL: https://github.com/apache/couchdb/pull/503#issuecomment-298983295 +1 This is an automated message from the Apache

[GitHub] nickva opened a new pull request #503: Fix `badarg` when querying replicator's _scheduler/docs endpoint

2017-05-03 Thread git
nickva opened a new pull request #503: Fix `badarg` when querying replicator's _scheduler/docs endpoint URL: https://github.com/apache/couchdb/pull/503 Jira: COUCHDB-3324 This is an automated message from the Apache Git

[GitHub] ronjouch opened a new issue #917: "View JSON" / "Copy URL" buttons in development fauxton should use the Couch port, not the app port

2017-05-03 Thread git
ronjouch opened a new issue #917: "View JSON" / "Copy URL" buttons in development fauxton should use the Couch port, not the app port URL: https://github.com/apache/couchdb-fauxton/issues/917 When running a development version of Fauxton, the "View JSON" / "Copy URL" feature use the wrong

[GitHub] ronjouch opened a new issue #916: Navigating back to Mango query from result document should preserve Mango query

2017-05-03 Thread git
ronjouch opened a new issue #916: Navigating back to Mango query from result document should preserve Mango query URL: https://github.com/apache/couchdb-fauxton/issues/916 ## Reproduction scenario 1. Type a Mango query 1. Run query 1. Click the `Edit` (pencil) icon for a

[GitHub] ronjouch opened a new issue #915: [Feature request] Bind Ctrl+Enter to running Mango query

2017-05-03 Thread git
ronjouch opened a new issue #915: [Feature request] Bind Ctrl+Enter to running Mango query URL: https://github.com/apache/couchdb-fauxton/issues/915 It would be awesome if Ctrl+Enter in the ace editor for a Mango query ran the query. Ctrl+Enter is a pretty common shortcut to "run

[GitHub] wohali commented on issue #475: COUCHDB-3367: Require server admin user for db/_compact and db/_view_cleanup endpoints

2017-05-03 Thread git
wohali commented on issue #475: COUCHDB-3367: Require server admin user for db/_compact and db/_view_cleanup endpoints URL: https://github.com/apache/couchdb/pull/475#issuecomment-298974879 Thanks for doing the legwork! Indeed I do think it's worth pursuing, and it'd be great if you could

[GitHub] fkaempfer commented on issue #475: COUCHDB-3367: Require server admin user for db/_compact and db/_view_cleanup endpoints

2017-05-03 Thread git
fkaempfer commented on issue #475: COUCHDB-3367: Require server admin user for db/_compact and db/_view_cleanup endpoints URL: https://github.com/apache/couchdb/pull/475#issuecomment-298887096 I verified that the behaviour of 1.6.1 is indeed that db admins are also allowed to perform