[GitHub] wohali opened a new issue #555: [Travis] Mysterious killed eunit test in couch_replicator_use_checkpoints_tests

2017-05-30 Thread git
wohali opened a new issue #555: [Travis] Mysterious killed eunit test in couch_replicator_use_checkpoints_tests URL: https://github.com/apache/couchdb/issues/555 ## Current & Expected Behaviour In one [Travis run](https://travis-ci.org/apache/couchdb/jobs/237668845) (Erlang 19.3) the

[GitHub] wohali opened a new issue #554: JS stats test has inconsistent results

2017-05-30 Thread git
wohali opened a new issue #554: JS stats test has inconsistent results URL: https://github.com/apache/couchdb/issues/554 ## Current & Expected Behaviour Sometimes, the JS `test/javascript/tests/stats.js` test errors with off-by-one errors such as the following: ```

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-305026785 > Try `-I/home/syncer/include/js` Same error. This is an

[GitHub] wohali commented on issue #553: js restartServer() sometimes fails

2017-05-30 Thread git
wohali commented on issue #553: js restartServer() sometimes fails URL: https://github.com/apache/couchdb/issues/553#issuecomment-305025752 FYI restartServer() seems to be implemented twice, once with a 1s timeout and once with a 5s timeout. Would be good to remove the redundancy and to

[GitHub] wohali opened a new issue #553: js restartServer() sometimes fails

2017-05-30 Thread git
wohali opened a new issue #553: js restartServer() sometimes fails URL: https://github.com/apache/couchdb/issues/553 ## Current & Expected Behaviour Failure is on master. The JS test `test/javascript/tests/delayed_commits.js` has a bunch of calls to `restartServer()` in it. So do

[GitHub] wohali opened a new issue #552: [Jenkins] view monitor failure in couchdb_views_tests/couchdb_1283

2017-05-30 Thread git
wohali opened a new issue #552: [Jenkins] view monitor failure in couchdb_views_tests/couchdb_1283 URL: https://github.com/apache/couchdb/issues/552 ## Expected & Current Behaviour Normally, `couchdb_views_tests`'s `couchdb_1283` test passes. Today, it failed in Jenkins, master branch,

[GitHub] wohali commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
wohali commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-305017675 Try `-I/home/syncer/include/js`. This is an automated message from

[Jenkins] FAILURE: CouchDB » master #3

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

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-304991835 > HI @NoodleBB, Hi @wohali. > at present we don't support searching for include headers or shared libraries

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-305001190 > That line only applies if you specify `-c` or `--with-curl` to `configure`. Did you? Nope. Give me a second... ```

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-305001190 > That line only applies if you specify `-c` or `--with-curl` to `configure`. Did you? Nope. Give me a second... ```

[GitHub] nickva commented on issue #550: Export test_request:request/5 function

2017-05-30 Thread git
nickva commented on issue #550: Export test_request:request/5 function URL: https://github.com/apache/couchdb/pull/550#issuecomment-305004348 +1 This is an automated message from the Apache Git Service. To respond to the

[GitHub] iilyak closed pull request #550: Export test_request:request/5 function

2017-05-30 Thread git
iilyak closed pull request #550: Export test_request:request/5 function URL: https://github.com/apache/couchdb/pull/550 This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-305001190 > That line only applies if you specify `-c` or `--with-curl` to `configure`. Did you? Nope. Give me a second... ```

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-305001190 > That line only applies if you specify `-c` or `--with-curl` to `configure`. Did you? Nope. Give me a second... ```

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-305001190 > That line only applies if you specify `-c` or `--with-curl` to `configure`. Did you? Nope. Give me a second...

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-305001190 > That line only applies if you specify `-c` or `--with-curl` to `configure`. Did you? Nope. Give me a second... ```

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-305001190 > That line only applies if you specify `-c` or `--with-curl` to `configure`. Did you? Nope. Give me a second...

[GitHub] wohali commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
wohali commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-305000157 That line only applies if you specify `-c` or `--with-curl` to `configure`. Did you?

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-304999537 > If you just want it compiling for now, (...) Yes: now. I wanted to demonstrate my bosses and the IT-Department the

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-304999537 > If you just want it compiling for now, (...) Yes. Now. I want to demonstrate my bosses and the IT-Department the

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-304999537 > If you just want it compiling for now, hard-code the path to your home directory instead of using $HOME. Yes. Now. I want

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-304999537 > If you just want it compiling for now, hard-code the path to your home directory instead of using $HOME. Yes. Now. I want

[jira] [Closed] (COUCHDB-3352) JS: couchjs SIGSEGVs

2017-05-30 Thread Joan Touzet (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joan Touzet closed COUCHDB-3352. Resolution: Incomplete Moved to https://github.com/apache/couchdb/issues/551 > JS: couchjs

[GitHub] wohali opened a new issue #551: [Jenkins] couchjs segfaults

2017-05-30 Thread git
wohali opened a new issue #551: [Jenkins] couchjs segfaults URL: https://github.com/apache/couchdb/issues/551 ## Expected Behavior `couchjs` shouldn't segfault. ## Current Behavior Sometimes, in an automated run, it does. Here's an example: ```python

[GitHub] iilyak opened a new pull request #550: Export test_request:request/5 function

2017-05-30 Thread git
iilyak opened a new pull request #550: Export test_request:request/5 function URL: https://github.com/apache/couchdb/pull/550 ## Overview Currently it is impossible to pass authentication options to test_request:request. This commit exports request/5 which accept options

[GitHub] wohali commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
wohali commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-304997424 Yeah, that won't work, because there is no $ENVVAR expansion with that syntax inside of a `rebar.config` file. If you just

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

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

[GitHub] wohali closed issue #547: [Travis+Jenkins] startup fails, crash in mem3_shards:get_update_seq

2017-05-30 Thread git
wohali closed issue #547: [Travis+Jenkins] startup fails, crash in mem3_shards:get_update_seq URL: https://github.com/apache/couchdb/issues/547 This is an automated message from the Apache Git Service. To respond to the

[GitHub] wohali commented on issue #547: [Travis+Jenkins] startup fails, crash in mem3_shards:get_update_seq

2017-05-30 Thread git
wohali commented on issue #547: [Travis+Jenkins] startup fails, crash in mem3_shards:get_update_seq URL: https://github.com/apache/couchdb/issues/547#issuecomment-304996638 Fix from master cherry-picked: 9875e8b This is an

[Jenkins] FAILURE: CouchDB » master #2

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

[GitHub] wohali opened a new issue #549: [Jenkins] timeout triggered by all_dbs_active

2017-05-30 Thread git
wohali opened a new issue #549: [Jenkins] timeout triggered by all_dbs_active URL: https://github.com/apache/couchdb/issues/549 ## Current & Expected Behaviour During an eunit test (`couchdb_mrview_cors_tests`) a request is made to retrieve the output of a view. It should succeed.

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-304991835 > HI @NoodleBB, Hi @wohali. > at present we don't support searching for include headers or shared libraries anywhere

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-304991835 > HI @NoodleBB, Hi @wohali. > at present we don't support searching for include headers or shared libraries anywhere

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-304991835 > It is possible to update https://github.com/apache/couchdb/blob/master/src/couch/rebar.config.script to make this work (...)

[GitHub] NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
NoodleBB commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-304991835 > It is possible to update https://github.com/apache/couchdb/blob/master/src/couch/rebar.config.script to make this work (...)

[GitHub] wohali commented on issue #548: [Jenkins] 500 error on getting view output

2017-05-30 Thread git
wohali commented on issue #548: [Jenkins] 500 error on getting view output URL: https://github.com/apache/couchdb/issues/548#issuecomment-304988985 Seen again in the same automated run, Ubuntu 16.04, Erlang 18.3. Log excerpt here: https://paste.apache.org/8cF9

[GitHub] wohali opened a new issue #548: [Jenkins] 500 error on getting view output

2017-05-30 Thread git
wohali opened a new issue #548: [Jenkins] 500 error on getting view output URL: https://github.com/apache/couchdb/issues/548 ## Expected Behavior In `reduce_builtin.js` we call a view that has a built in reduce. It should return fine, and usually does. ## Current Behavior Once

[GitHub] wohali opened a new issue #547: [Travis] `dev/run` fails to startup cluster

2017-05-30 Thread git
wohali opened a new issue #547: [Travis] `dev/run` fails to startup cluster URL: https://github.com/apache/couchdb/issues/547 ## Expected Behavior When the build process hits `make javascript`, `dev/run` should succeed in starting up a 1-node instance. ## Current Behavior

[GitHub] davisp commented on issue #496: Couchdb 3287 pluggable storage engines

2017-05-30 Thread git
davisp commented on issue #496: Couchdb 3287 pluggable storage engines URL: https://github.com/apache/couchdb/pull/496#issuecomment-304971908 @tonysun83 @eiri I've fixed up the input validation for invalid engines and added a log statement for when the default engine isn't set to an

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

2017-05-30 Thread git
davisp commented on a change in pull request #496: Couchdb 3287 pluggable storage engines URL: https://github.com/apache/couchdb/pull/496#discussion_r119182966 ## File path: src/mem3/src/mem3_util.erl ## @@ -153,6 +153,10 @@ build_ordered_shards(DbName, DocProps) ->

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

2017-05-30 Thread git
nickva commented on a change in pull request #496: Couchdb 3287 pluggable storage engines URL: https://github.com/apache/couchdb/pull/496#discussion_r119181020 ## File path: src/mem3/src/mem3_util.erl ## @@ -153,6 +153,10 @@ build_ordered_shards(DbName, DocProps) ->

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

2017-05-30 Thread git
nickva commented on a change in pull request #496: Couchdb 3287 pluggable storage engines URL: https://github.com/apache/couchdb/pull/496#discussion_r119181020 ## File path: src/mem3/src/mem3_util.erl ## @@ -153,6 +153,10 @@ build_ordered_shards(DbName, DocProps) ->

[GitHub] wohali commented on issue #546: Support additional INCLUDE/LIB paths during compile

2017-05-30 Thread git
wohali commented on issue #546: Support additional INCLUDE/LIB paths during compile URL: https://github.com/apache/couchdb/issues/546#issuecomment-304967793 HI @NoodleBB, at present we don't support searching for include headers or shared libraries anywhere other than the system default.

[jira] [Commented] (COUCHDB-3417) Add logging pre and post compaction

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

[GitHub] NoodleBB opened a new issue #546: jsapi.h: No such file or directory / Set the lib and include path manually

2017-05-30 Thread git
NoodleBB opened a new issue #546: jsapi.h: No such file or directory / Set the lib and include path manually URL: https://github.com/apache/couchdb/issues/546 ## Problem Try to build CouchDB 2.0.0 from the source on CentOS 6.9 stopped with this problem: ``` Compiling

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

2017-05-30 Thread git
eiri commented on a change in pull request #496: Couchdb 3287 pluggable storage engines URL: https://github.com/apache/couchdb/pull/496#discussion_r118794778 ## File path: src/couch/src/couch_db.erl ## @@ -397,10 +376,7 @@ get_full_doc_info(Db, Id) -> Result.

[jira] [Commented] (COUCHDB-3417) Add logging pre and post compaction

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

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

2017-05-30 Thread git
davisp commented on a change in pull request #496: Couchdb 3287 pluggable storage engines URL: https://github.com/apache/couchdb/pull/496#discussion_r119145654 ## File path: src/couch/src/couch_db_updater.erl ## @@ -963,481 +677,37 @@ commit_data(Db, true) -> Db;

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

2017-05-30 Thread git
davisp commented on a change in pull request #496: Couchdb 3287 pluggable storage engines URL: https://github.com/apache/couchdb/pull/496#discussion_r119144570 ## File path: src/couch/src/couch_db.erl ## @@ -1138,8 +1068,8 @@ update_docs(Db, Docs0, Options,

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

2017-05-30 Thread git
davisp commented on a change in pull request #496: Couchdb 3287 pluggable storage engines URL: https://github.com/apache/couchdb/pull/496#discussion_r119144005 ## File path: src/couch/src/couch_db_engine.erl ## @@ -0,0 +1,877 @@ +% Licensed under the Apache License,

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

2017-05-30 Thread git
eiri commented on a change in pull request #496: Couchdb 3287 pluggable storage engines URL: https://github.com/apache/couchdb/pull/496#discussion_r119143576 ## File path: src/couch/src/couch_db_updater.erl ## @@ -963,481 +677,37 @@ commit_data(Db, true) -> Db;

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

2017-05-30 Thread git
davisp commented on a change in pull request #496: Couchdb 3287 pluggable storage engines URL: https://github.com/apache/couchdb/pull/496#discussion_r119141767 ## File path: src/couch/src/couch_db.erl ## @@ -1589,7 +1476,7 @@ open_doc_int(Db,