[GitHub] dharders opened a new issue #957: Feature Request: Auto quote Query keys if quotes missing

2017-08-14 Thread git
dharders opened a new issue #957: Feature Request: Auto quote Query keys if 
quotes missing
URL: https://github.com/apache/couchdb-fauxton/issues/957
 
 
   
   When querying database documents through the Fauxton interface, `i.e. 
Clicking Options -> By Keys or Between Keys`, it should be possible to enter a 
string without having to surround it with quotes.
   
   I've lost count of how many times I have entered key values, returning 0 
results, even though the documents exist. I then have to go back and surround 
the values for the query to execute correctly. It's a jarring experience that 
could be easily solved by Fauxton doing a simple check for surrounding quotes 
and if not present add them.
   
   ## Expected Behavior
   
   
   Add surrounding quotes to Query Key strings if missing
   ## Current Behavior
   
   
   No results returned if quotes missing (which is technically correct, but not 
the best user experience)
   ## Possible Solution
   
   
   Simple string check for surrounding quotes and if not present add them on 
submit. Could also make an option to 'Auto quote' etc, which is off by default.
   
   ## Your Environment
   
   * Version used: 2.1.0
   * Browser Name and version: Chrome 59.0.3071.115  
   * Operating System and version (desktop or mobile):  Win10 x64 client, 
Debian (Jessie) x64 Server
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[Jenkins] SUCCESS: CouchDB ยป master #42

2017-08-14 Thread Apache Jenkins Server
Yay, we passed. https://builds.apache.org/job/CouchDB/job/master/42/

[GitHub] iilyak closed pull request #751: Add [couchdb, httpd_status_codes, 503] metric

2017-08-14 Thread git
iilyak closed pull request #751: Add [couchdb, httpd_status_codes, 503] metric
URL: https://github.com/apache/couchdb/pull/751
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] chewbranca commented on issue #751: Add [couchdb, httpd_status_codes, 503] metric

2017-08-14 Thread git
chewbranca commented on issue #751: Add [couchdb, httpd_status_codes, 503] 
metric
URL: https://github.com/apache/couchdb/pull/751#issuecomment-322327240
 
 
   +1
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] iilyak opened a new pull request #751: Add [couchdb, httpd_status_codes, 503] metric

2017-08-14 Thread git
iilyak opened a new pull request #751: Add [couchdb, httpd_status_codes, 503] 
metric
URL: https://github.com/apache/couchdb/pull/751
 
 
   ## Overview
   
   The 503 response was added recently. We need to update the 
`stats_description.cfg` to include this new return code in order to avoid 
`"unknown metric: [couchdb,httpd_status_codes,503]"` errors from 
[here](https://github.com/apache/couchdb/blob/master/src/chttpd/src/chttpd.erl#L1127).
   
   
   
   ## Checklist
   
   - [ ] Code is written and works correctly;
   - [ ] Changes are covered by tests;
   - [ ] Documentation reflects the changes;
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] linquize opened a new issue #955: ddocs.html HTTP 404

2017-08-14 Thread git
linquize opened a new issue #955: ddocs.html HTTP 404
URL: https://github.com/apache/couchdb-fauxton/issues/955
 
 
   Visit http://localhost:5984/_utils/docs/couchapp/ddocs.html returns HTTP 404
   
   ## Expected Behavior
   Show the page
   
   ## Current Behavior
   HTTP 404
   Not found.
   
   ## Steps to Reproduce (for bugs)
   1. Edit View
   2. Click the question mark
   
   ## Your Environment
   * Version used: CouchDB 2.1.0
   * Browser Name and version: Firefox 54
   * Operating System and version (desktop or mobile): Win 10 x64 version 1703
   * Link to your project: N/A
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] michellephung commented on issue #955: ddocs.html HTTP 404

2017-08-14 Thread git
michellephung commented on issue #955: ddocs.html HTTP 404
URL: https://github.com/apache/couchdb-fauxton/issues/955#issuecomment-322311743
 
 
   looks like the issue is here: 
https://github.com/apache/couchdb-fauxton/blob/b212dd5b5b8e9aa2f90f125d8c9d14263fa90b99/app/constants.js#L35
   
   and there are some others that will need to be changed as well
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] michellephung commented on issue #955: ddocs.html HTTP 404

2017-08-14 Thread git
michellephung commented on issue #955: ddocs.html HTTP 404
URL: https://github.com/apache/couchdb-fauxton/issues/955#issuecomment-322307861
 
 
   OHHH...i think i thought this was for the offline docs. Sorry! I can check 
tonight for the ddocs icon
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] wohali commented on issue #955: ddocs.html HTTP 404

2017-08-14 Thread git
wohali commented on issue #955: ddocs.html HTTP 404
URL: https://github.com/apache/couchdb-fauxton/issues/955#issuecomment-322293757
 
 
   @michellephung will that fix the link he found though? it's a different 
source, not the one you fixed.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] jvabob opened a new issue #750: couchup replicate issue

2017-08-14 Thread git
jvabob opened a new issue #750: couchup replicate issue
URL: https://github.com/apache/couchdb/issues/750
 
 
   Trying to use the replicate function to migrate my 686GB collection of 
databases...
   
   First 3-4 databases (about 5GB) work great... but now I get something like 
this when I try it
   first got it using the -a feature and now am trying individual db to see if 
I can find a pattern
   
   /usr/local/couchdb/bin/couchup replicate -l USER -p PASSWORD -t 3600 -f eridu
   Starting replication for eridu...
   ```
   {"error":"not_found","reason":"Could not open source database 
http://127.0.0.1:5986/eridu/: 
{db_not_found,<<"http://127.0.0.1:5986/eridu/\;>>}"}
   ```
   
   In couchdb.stderr I see
   
   ```[notice] 2017-08-14T19:39:48.348070Z 
couchdb-...@couchdb-2-3.irbfocus-qa.aws.net <0.10702.7>  127.0.0.1 - - 
GET /eridu/_design/repl_filters 200
   [notice] 2017-08-14T19:39:48.354189Z 
couchdb-...@couchdb-2-3.irbfocus-qa.aws.net <0.10691.7> b3b8c7e8e0 
127.0.0.1:5984 127.0.0.1 tcuser POST /_replicate 404 ok 3
   [notice] 2017-08-14T19:39:49.353059Z 
couchdb-...@couchdb-2-3.irbfocus-qa.aws.net <0.10715.7>  127.0.0.1 - - 
GET /eridu 200
   [notice] 2017-08-14T19:39:49.355750Z 
couchdb-...@couchdb-2-3.irbfocus-qa.aws.net <0.10717.7> 1ce9ddd1df 
127.0.0.1:5984 127.0.0.1 undefined GET /eridu 404 ok 1
   [notice] 2017-08-14T19:39:50.359934Z 
couchdb-...@couchdb-2-3.irbfocus-qa.aws.net <0.10731.7> 53ab98918d 
127.0.0.1:5984 127.0.0.1 undefined GET /eridu 404 ok 1
   [notice] 2017-08-14T19:39:50.363785Z 
couchdb-...@couchdb-2-3.irbfocus-qa.aws.net <0.5320.2> 57e260d3dc 
couchdb-2-3.irbfocus-qa:6984 10.10.4.90 undefined GET /_active_tasks 200 ok 1
   [notice] 2017-08-14T19:39:51.364333Z 
couchdb-...@couchdb-2-3.irbfocus-qa.aws.net <0.10759.7> f0718ec5e4 
127.0.0.1:5984 127.0.0.1 undefined GET /eridu 404 ok 1
   ```
   if I curl http://127.0.0.1:5986/eridu/ ( and add the user and pass ) I get
   ```
   
{"db_name":"eridu","doc_count":7438871,"doc_del_count":511625,"update_seq":8168757,"purge_seq":0,"compact_running":false,"disk_size":81804304630,"other":{"data_size":109},"data_size":12273332816,"sizes":{"file":81804304630,"active":12273332816,"external":109},"instance_start_time":"1502734780758722","disk_format_version":6,"committed_update_seq":8168757,"compacted_seq":0,"uuid":"4a84be53b812cac9b71915eab09f3be9"}
   ```
   So the db sure seems to be there... I can go to 5986/_utils and see the 
db... can view data etc
   
   Any pointers?
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] wohali commented on issue #483: New couchup 1.x -> 2.x database migration tool

2017-08-14 Thread git
wohali commented on issue #483: New couchup 1.x -> 2.x database migration tool
URL: https://github.com/apache/couchdb/pull/483#issuecomment-322287485
 
 
   Please file this as a [new 
issue](https://github.com/apache/couchdb/issues/new) so we can properly follow 
this request, not as a comment on the pull request.
   
   Please be sure to paste the exact results of the output. If possible please 
wrap your paste in triple-backticks, like this:
   
   ```
   ```
   /usr/local/couchdb/bin/couchup replicate...
   ```
   ```
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] jvabob commented on issue #483: New couchup 1.x -> 2.x database migration tool

2017-08-14 Thread git
jvabob commented on issue #483: New couchup 1.x -> 2.x database migration tool
URL: https://github.com/apache/couchdb/pull/483#issuecomment-322267979
 
 
   Trying to use the replicate function to migrate my 686GB collection of 
databases...
   
   First 3-4 databases (about 5GB) work great... but now I get something like 
this when I try it
   first got it using the -a feature and now am trying individual db to see if 
I can find a pattern
   
   /usr/local/couchdb/bin/couchup replicate -l USER -p PASSWORD -t 3600 -f eridu
   Starting replication for eridu...
   {"error":"not_found","reason":"Could not open source database 
`http://127.0.0.1:5986/eridu/`: 
{db_not_found,<<\"http://127.0.0.1:5986/eridu/\;>>}"}
   
   if I curl http://127.0.0.1:5986/eridu/ ( and add the user and pass ) I get
   
   
{"db_name":"eridu","doc_count":7438871,"doc_del_count":511625,"update_seq":8168757,"purge_seq":0,"compact_running":false,"disk_size":81804304630,"other":{"data_size":109},"data_size":12273332816,"sizes":{"file":81804304630,"active":12273332816,"external":109},"instance_start_time":"1502734780758722","disk_format_version":6,"committed_update_seq":8168757,"compacted_seq":0,"uuid":"4a84be53b812cac9b71915eab09f3be9"}
   
   So the db sure seems to be there... I can go to 5986/_utils and see the 
db... can view data etc
   
   Any pointers?
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] rasdaniil commented on issue #749: 2.1.0 crashes if peruser = true

2017-08-14 Thread git
rasdaniil commented on issue #749: 2.1.0 crashes if peruser = true
URL: https://github.com/apache/couchdb/issues/749#issuecomment-322127718
 
 
   Unfortunately,  after repeating the steps on my local ubuntu machine 
(without docker), the problem persists
   If the auth db exists (_users or custom defined), couchdb then crashes on 
start
   Thanks for your time
   Dan
   
   ```
   danthedev@danthedevpc:~/Projects/github/couchdb/rel/couchdb$ bin/couchdb 
   [info] 2017-08-14T08:15:09.581860Z couchdb@localhost <0.9.0>  
Application couch_log started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.588925Z couchdb@localhost <0.9.0>  
Application folsom started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.653730Z couchdb@localhost <0.9.0>  
Application couch_stats started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.653848Z couchdb@localhost <0.9.0>  
Application khash started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.667989Z couchdb@localhost <0.9.0>  
Application couch_event started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.675875Z couchdb@localhost <0.9.0>  
Application ibrowse started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.696017Z couchdb@localhost <0.9.0>  
Application ioq started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.696075Z couchdb@localhost <0.9.0>  
Application mochiweb started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.710956Z couchdb@localhost <0.204.0>  
Apache CouchDB 2.1.0-f6156c3d1 is starting.
   
   [info] 2017-08-14T08:15:09.711073Z couchdb@localhost <0.205.0>  
Starting couch_sup
   [error] 2017-08-14T08:15:09.863924Z couchdb@localhost <0.217.0>  
CRASH REPORT Process  (<0.217.0>) with 0 neighbors exited with reason: bad 
argument in call to ets:member(mem3_openers, <<"users">>) at 
mem3_shards:maybe_spawn_shard_writer/3(line:486) <= 
mem3_shards:load_shards_from_db/2(line:389) <= 
mem3_shards:load_shards_from_disk/1(line:378) <= mem3_shards:for_db/2(line:59) 
<= mem3_shards:local/1(line:156) <= couch_peruser:init/0(line:58) <= 
couch_peruser:init/1(line:187); initial_call: 
{couch_peruser,init,['Argument__1']}, ancestors: 
[couch_secondary_services,couch_sup,<0.204.0>], messages: [], links: 
[<0.213.0>,<0.93.0>], dictionary: [], trap_exit: false, status: running, 
heap_size: 2586, stack_size: 27, reductions: 2273
   [error] 2017-08-14T08:15:09.865047Z couchdb@localhost <0.213.0>  
Supervisor couch_secondary_services had child couch_peruser started with 
couch_peruser:start_link() at undefined exit with reason bad argument in call 
to ets:member(mem3_openers, <<"users">>) at 
mem3_shards:maybe_spawn_shard_writer/3(line:486) <= 
mem3_shards:load_shards_from_db/2(line:389) <= 
mem3_shards:load_shards_from_disk/1(line:378) <= mem3_shards:for_db/2(line:59) 
<= mem3_shards:local/1(line:156) <= couch_peruser:init/0(line:58) <= 
couch_peruser:init/1(line:187) in context start_error
   [error] 2017-08-14T08:15:09.866105Z couchdb@localhost <0.205.0>  
Supervisor couch_sup had child couch_secondary_services started with 
couch_secondary_sup:start_link() at undefined exit with reason 
{shutdown,{failed_to_start_child,couch_peruser,{badarg,[{ets,member,[mem3_openers,<<"users">>],[]},{mem3_shards,maybe_spawn_shard_writer,3,[{file,"src/mem3_shards.erl"},{line,486}]},{mem3_shards,load_shards_from_db,2,[{file,"src/mem3_shards.erl"},{line,389}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,378}]},{mem3_shards,for_db,2,[{file,"src/mem3_shards.erl"},{line,59}]},{mem3_shards,local,1,[{file,"src/mem3_shards.erl"},{line,156}]},{couch_peruser,init,0,[{file,...},...]},...]}}}
 in context start_error
   [error] 2017-08-14T08:15:09.866652Z couchdb@localhost <0.204.0>  
Error starting Apache CouchDB:
   
   
{error,{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,couch_peruser,{badarg,[{ets,member,[mem3_openers,<<"users">>],[]},{mem3_shards,maybe_spawn_shard_writer,3,[{file,"src/mem3_shards.erl"},{line,486}]},{mem3_shards,load_shards_from_db,2,[{file,"src/mem3_shards.erl"},{line,389}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,378}]},{mem3_shards,for_db,2,[{file,"src/mem3_shards.erl"},{line,59}]},{mem3_shards,local,1,[{file,"src/mem3_shards.erl"},{line,156}]},{couch_peruser,init,0,[{file,"src/couch_peruser.erl"},{line,58}]},{couch_peruser,init,1,[{file,"src/couch_peruser.erl"},{line,187}]}]}}
   
   ```
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] rasdaniil commented on issue #749: 2.1.0 crashes if peruser = true

2017-08-14 Thread git
rasdaniil commented on issue #749: 2.1.0 crashes if peruser = true
URL: https://github.com/apache/couchdb/issues/749#issuecomment-322127718
 
 
   Unfortunately,  after repeating the steps on my local ubuntu machine (out of 
docker), the problem persists
   If the auth db exists (_users or custom defined), couchdb then crashes on 
start
   Thanks for your time
   Dan
   
   ```
   danthedev@danthedevpc:~/Projects/github/couchdb/rel/couchdb$ bin/couchdb 
   [info] 2017-08-14T08:15:09.581860Z couchdb@localhost <0.9.0>  
Application couch_log started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.588925Z couchdb@localhost <0.9.0>  
Application folsom started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.653730Z couchdb@localhost <0.9.0>  
Application couch_stats started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.653848Z couchdb@localhost <0.9.0>  
Application khash started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.667989Z couchdb@localhost <0.9.0>  
Application couch_event started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.675875Z couchdb@localhost <0.9.0>  
Application ibrowse started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.696017Z couchdb@localhost <0.9.0>  
Application ioq started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.696075Z couchdb@localhost <0.9.0>  
Application mochiweb started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.710956Z couchdb@localhost <0.204.0>  
Apache CouchDB 2.1.0-f6156c3d1 is starting.
   
   [info] 2017-08-14T08:15:09.711073Z couchdb@localhost <0.205.0>  
Starting couch_sup
   [error] 2017-08-14T08:15:09.863924Z couchdb@localhost <0.217.0>  
CRASH REPORT Process  (<0.217.0>) with 0 neighbors exited with reason: bad 
argument in call to ets:member(mem3_openers, <<"users">>) at 
mem3_shards:maybe_spawn_shard_writer/3(line:486) <= 
mem3_shards:load_shards_from_db/2(line:389) <= 
mem3_shards:load_shards_from_disk/1(line:378) <= mem3_shards:for_db/2(line:59) 
<= mem3_shards:local/1(line:156) <= couch_peruser:init/0(line:58) <= 
couch_peruser:init/1(line:187); initial_call: 
{couch_peruser,init,['Argument__1']}, ancestors: 
[couch_secondary_services,couch_sup,<0.204.0>], messages: [], links: 
[<0.213.0>,<0.93.0>], dictionary: [], trap_exit: false, status: running, 
heap_size: 2586, stack_size: 27, reductions: 2273
   [error] 2017-08-14T08:15:09.865047Z couchdb@localhost <0.213.0>  
Supervisor couch_secondary_services had child couch_peruser started with 
couch_peruser:start_link() at undefined exit with reason bad argument in call 
to ets:member(mem3_openers, <<"users">>) at 
mem3_shards:maybe_spawn_shard_writer/3(line:486) <= 
mem3_shards:load_shards_from_db/2(line:389) <= 
mem3_shards:load_shards_from_disk/1(line:378) <= mem3_shards:for_db/2(line:59) 
<= mem3_shards:local/1(line:156) <= couch_peruser:init/0(line:58) <= 
couch_peruser:init/1(line:187) in context start_error
   [error] 2017-08-14T08:15:09.866105Z couchdb@localhost <0.205.0>  
Supervisor couch_sup had child couch_secondary_services started with 
couch_secondary_sup:start_link() at undefined exit with reason 
{shutdown,{failed_to_start_child,couch_peruser,{badarg,[{ets,member,[mem3_openers,<<"users">>],[]},{mem3_shards,maybe_spawn_shard_writer,3,[{file,"src/mem3_shards.erl"},{line,486}]},{mem3_shards,load_shards_from_db,2,[{file,"src/mem3_shards.erl"},{line,389}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,378}]},{mem3_shards,for_db,2,[{file,"src/mem3_shards.erl"},{line,59}]},{mem3_shards,local,1,[{file,"src/mem3_shards.erl"},{line,156}]},{couch_peruser,init,0,[{file,...},...]},...]}}}
 in context start_error
   [error] 2017-08-14T08:15:09.866652Z couchdb@localhost <0.204.0>  
Error starting Apache CouchDB:
   
   
{error,{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,couch_peruser,{badarg,[{ets,member,[mem3_openers,<<"users">>],[]},{mem3_shards,maybe_spawn_shard_writer,3,[{file,"src/mem3_shards.erl"},{line,486}]},{mem3_shards,load_shards_from_db,2,[{file,"src/mem3_shards.erl"},{line,389}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,378}]},{mem3_shards,for_db,2,[{file,"src/mem3_shards.erl"},{line,59}]},{mem3_shards,local,1,[{file,"src/mem3_shards.erl"},{line,156}]},{couch_peruser,init,0,[{file,"src/couch_peruser.erl"},{line,58}]},{couch_peruser,init,1,[{file,"src/couch_peruser.erl"},{line,187}]}]}}
   
   ```
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] garrensmith closed pull request #956: re-instate result label color

2017-08-14 Thread git
garrensmith closed pull request #956: re-instate result label color
URL: https://github.com/apache/couchdb-fauxton/pull/956
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] garrensmith closed pull request #950: Simplify Mango/Query panel layout

2017-08-14 Thread git
garrensmith closed pull request #950: Simplify Mango/Query panel layout
URL: https://github.com/apache/couchdb-fauxton/pull/950
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] willholley opened a new pull request #956: re-instate result label color

2017-08-14 Thread git
willholley opened a new pull request #956: re-instate result label color
URL: https://github.com/apache/couchdb-fauxton/pull/956
 
 
   
   
   ## Overview
   
   Re-instates the `header-keylabel` CSS rule for text color, accidentally 
removed in 9d7d64eb.
   
   ## Testing recommendations
   
   
   
   View "All Documents" in JSON layout and make sure you can see the id label 
for each result.
   
   ## GitHub issue number
   
   
   
   ## Related Pull Requests
   
   
   
   ## Checklist
   
   - [ ] Code is written and works correctly;
   - [ ] Changes are covered by tests;
   - [ ] Documentation reflects the changes;
   - [ ] Update 
[rebar.config.script](https://github.com/apache/couchdb/blob/master/rebar.config.script)
 with the correct tag once a new Fauxton release is made
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] willholley commented on issue #950: Simplify Mango/Query panel layout

2017-08-14 Thread git
willholley commented on issue #950: Simplify Mango/Query panel layout
URL: https://github.com/apache/couchdb-fauxton/pull/950#issuecomment-322165880
 
 
   thanks @garrensmith - updated with your suggestions and fixed the header bug.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] garrensmith commented on issue #740: Add Bookmark support for mango json queries

2017-08-14 Thread git
garrensmith commented on issue #740: Add Bookmark support for mango json queries
URL: https://github.com/apache/couchdb/pull/740#issuecomment-322154988
 
 
   @tonysun83 thanks for the review. I've make some fixes based on your feedback
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] garrensmith commented on a change in pull request #740: Add Bookmark support for mango json queries

2017-08-14 Thread git
garrensmith commented on a change in pull request #740: Add Bookmark support 
for mango json queries
URL: https://github.com/apache/couchdb/pull/740#discussion_r132906553
 
 

 ##
 File path: src/mango/src/mango_json_bookmark.erl
 ##
 @@ -0,0 +1,68 @@
+% Licensed under the Apache License, Version 2.0 (the "License"); you may not
+% use this file except in compliance with the License. You may obtain a copy of
+% the License at
+%
+%   http://www.apache.org/licenses/LICENSE-2.0
+%
+% Unless required by applicable law or agreed to in writing, software
+% distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+% WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+% License for the specific language governing permissions and limitations under
+% the License.
+
+
+-module(mango_json_bookmark).
+
+-export([
+update_args/2,
+create/1
+]).
+
+
+-include_lib("couch_mrview/include/couch_mrview.hrl").
+-include("mango_cursor.hrl").
+-include("mango.hrl").
+
+update_args(EncodedBookmark, Args) ->
+Bookmark = unpack(EncodedBookmark),
+update_args2(Bookmark, Args).
+
+
+update_args2(Bookmark, #mrargs{skip = Skip} = Args) when is_list(Bookmark) ->
+case lists:keymember(startkey, 1, Bookmark) andalso 
lists:keymember(startkey_docid, 1, Bookmark) of
+true -> 
+{startkey, Startkey} = lists:keyfind(startkey, 1, Bookmark),
+{startkey_docid, StartkeyDocId} = lists:keyfind(startkey_docid, 1, 
Bookmark),
+Args2 = Args#mrargs{
+start_key = Startkey,
+start_key_docid = StartkeyDocId,
+skip = 1 + Skip
+},
+Args2;
+false ->
+Args
+end;
+update_args2(_Bookmark, Args) ->
+Args.
+
+
+create(#cursor{bookmark_docid = BookmarkDocId, bookmark_key = BookmarkKey}) 
when BookmarkKey =/= undefined ->
+QueryArgs = [
+{startkey_docid, BookmarkDocId},
+{startkey, BookmarkKey}
+],
+Bin = term_to_binary(QueryArgs, [compressed, {minor_version,1}]),
+couch_util:encodeBase64Url(Bin);
+create(#cursor{bookmark = Bookmark}) ->
+Bookmark.
+
+
+unpack(nil) ->
+nil;
+unpack(Packed) ->
+try
+binary_to_term(couch_util:decodeBase64Url(Packed))
+catch _:_ ->
+?MANGO_ERROR({invalid_bookmark, Packed})
+end.
+   
 
 Review comment:
   I don't quite follow? Do you want me to remove that new line or add another?
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] garrensmith closed pull request #953: Reduce the whitespace around index results

2017-08-14 Thread git
garrensmith closed pull request #953: Reduce the whitespace around index results
URL: https://github.com/apache/couchdb-fauxton/pull/953
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] garrensmith closed pull request #952: Show a warning in Fauxton when no Mango index is available

2017-08-14 Thread git
garrensmith closed pull request #952: Show a warning in Fauxton when no Mango 
index is available
URL: https://github.com/apache/couchdb-fauxton/pull/952
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] garrensmith commented on a change in pull request #950: Simplify Mango/Query panel layout

2017-08-14 Thread git
garrensmith commented on a change in pull request #950: Simplify Mango/Query 
panel layout
URL: https://github.com/apache/couchdb-fauxton/pull/950#discussion_r132897937
 
 

 ##
 File path: app/addons/documents/mango/mango.components.js
 ##
 @@ -268,16 +250,39 @@ var MangoIndexEditorController = React.createClass({
   return;
 }
 
-Actions.saveQuery({
+Actions.saveIndex({
   database: this.state.database,
   queryCode: this.getMangoEditor().getEditorValue()
 });
   }
 });
 
+class ExplainPage extends Component {
+  componentDidMount () {
+prettyPrint();
+  };
+
+  componentDidUpdate () {
+prettyPrint();
+  };
+
+  render () {
+return (
+  
+{JSON.stringify(this.props.explainPlan, 
null, ' ')}
+  
+);
+  };
+}
+
+ExplainPage.propTypes = {
+  explainPlan: React.PropTypes.object.isRequired
+};
+
 var Views = {
   MangoIndexEditorController: MangoIndexEditorController,
-  MangoQueryEditorController: MangoQueryEditorController
+  MangoQueryEditorController: MangoQueryEditorController,
 
 Review comment:
   You can just do 
   
   ```
   export default {
   MangoIndexEditorController,
   MangoQueryEditorController,
   ExplainPage
   }
   ```
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] garrensmith commented on a change in pull request #950: Simplify Mango/Query panel layout

2017-08-14 Thread git
garrensmith commented on a change in pull request #950: Simplify Mango/Query 
panel layout
URL: https://github.com/apache/couchdb-fauxton/pull/950#discussion_r132897593
 
 

 ##
 File path: app/addons/documents/mango/mango.actions.js
 ##
 @@ -91,33 +72,31 @@ export default {
   });
   },
 
-  mangoResetIndexList: function (options) {
-FauxtonAPI.dispatch({
-  type: ActionTypes.MANGO_RESET,
-  options: options
-});
-  },
-
-  getIndexList: function (options) {
-FauxtonAPI.dispatch({
-  type: ActionTypes.MANGO_NEW_AVAILABLE_INDEXES,
-  options: options
-});
-
-return options.indexList.fetch({reset: true}).then(() => {
-  this.mangoResetIndexList({isLoading: false});
-}, (xhr) => {
-  let errorMsg = 'Bad request!';
-  if (xhr.responseJSON && xhr.responseJSON.error === 'not_found') {
-const databaseName = options.indexList.database.safeID();
-errorMsg = `The ${databaseName} database does not exist.`;
-FauxtonAPI.navigate('/', {trigger: true});
+  runExplainQuery: function ({database, queryCode}) {
+const url = FauxtonAPI.urls('mango', 'explain-server', database.safeID()),
+query = JSON.parse(queryCode);
+
+$.ajax({
+  type: 'POST',
+  url: url,
+  contentType: 'application/json; charset=utf-8',
+  dataType: 'json',
+  data: JSON.stringify(query),
+  success: function (explainPlan) {
 
 Review comment:
   Instead of using `success` callbacks. Could you rather use `.then()` promise.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] garrensmith commented on a change in pull request #950: Simplify Mango/Query panel layout

2017-08-14 Thread git
garrensmith commented on a change in pull request #950: Simplify Mango/Query 
panel layout
URL: https://github.com/apache/couchdb-fauxton/pull/950#discussion_r132898354
 
 

 ##
 File path: app/addons/documents/mango/mango.stores.js
 ##
 @@ -131,21 +92,17 @@ Stores.MangoStore = FauxtonAPI.Store.extend({
 this.setQueryIndexCode(action.options);
   break;
 
-  case ActionTypes.MANGO_NEW_QUERY_FIND_CODE_FROM_FIELDS:
-this.newQueryFindCodeFromFields(action.options);
-  break;
-
   case ActionTypes.MANGO_NEW_QUERY_FIND_CODE:
 this.setQueryFindCode(action.options);
   break;
 
-  case ActionTypes.MANGO_NEW_AVAILABLE_INDEXES:
-this.setAvailableIndexes(action.options);
-  break;
+  case ActionTypes.MANGO_EXPLAIN_RESULTS:
+this.setExplainPlan(action.options);
 
 Review comment:
   If you do that, then the `setExplainPlan` becomes:
   
   ```
   setExplainPlan (explainPlan) {
   this._explainPlan;
   }
   
   ```
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] garrensmith commented on a change in pull request #950: Simplify Mango/Query panel layout

2017-08-14 Thread git
garrensmith commented on a change in pull request #950: Simplify Mango/Query 
panel layout
URL: https://github.com/apache/couchdb-fauxton/pull/950#discussion_r132898197
 
 

 ##
 File path: app/addons/documents/mango/mango.stores.js
 ##
 @@ -131,21 +92,17 @@ Stores.MangoStore = FauxtonAPI.Store.extend({
 this.setQueryIndexCode(action.options);
   break;
 
-  case ActionTypes.MANGO_NEW_QUERY_FIND_CODE_FROM_FIELDS:
-this.newQueryFindCodeFromFields(action.options);
-  break;
-
   case ActionTypes.MANGO_NEW_QUERY_FIND_CODE:
 this.setQueryFindCode(action.options);
   break;
 
-  case ActionTypes.MANGO_NEW_AVAILABLE_INDEXES:
-this.setAvailableIndexes(action.options);
-  break;
+  case ActionTypes.MANGO_EXPLAIN_RESULTS:
+this.setExplainPlan(action.options);
 
 Review comment:
   Instead of passing the options object throught. Just pass the `explainPan`. 
Then you don't have to check that the options.explainPlan exists in the 
`setExplainPlan` function.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] rasdaniil commented on issue #749: 2.1.0 crashes if peruser = true

2017-08-14 Thread git
rasdaniil commented on issue #749: 2.1.0 crashes if peruser = true
URL: https://github.com/apache/couchdb/issues/749#issuecomment-322127718
 
 
   Unfortunately,  after repeating the steps on my local ubuntu machine, the 
problem persists
   If the auth db exists (_users or custom defined), couchdb then crashes on 
start
   Thanks for your time
   Dan
   
   ```
   danthedev@danthedevpc:~/Projects/github/couchdb/rel/couchdb$ bin/couchdb 
   [info] 2017-08-14T08:15:09.581860Z couchdb@localhost <0.9.0>  
Application couch_log started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.588925Z couchdb@localhost <0.9.0>  
Application folsom started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.653730Z couchdb@localhost <0.9.0>  
Application couch_stats started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.653848Z couchdb@localhost <0.9.0>  
Application khash started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.667989Z couchdb@localhost <0.9.0>  
Application couch_event started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.675875Z couchdb@localhost <0.9.0>  
Application ibrowse started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.696017Z couchdb@localhost <0.9.0>  
Application ioq started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.696075Z couchdb@localhost <0.9.0>  
Application mochiweb started on node couchdb@localhost
   [info] 2017-08-14T08:15:09.710956Z couchdb@localhost <0.204.0>  
Apache CouchDB 2.1.0-f6156c3d1 is starting.
   
   [info] 2017-08-14T08:15:09.711073Z couchdb@localhost <0.205.0>  
Starting couch_sup
   [error] 2017-08-14T08:15:09.863924Z couchdb@localhost <0.217.0>  
CRASH REPORT Process  (<0.217.0>) with 0 neighbors exited with reason: bad 
argument in call to ets:member(mem3_openers, <<"users">>) at 
mem3_shards:maybe_spawn_shard_writer/3(line:486) <= 
mem3_shards:load_shards_from_db/2(line:389) <= 
mem3_shards:load_shards_from_disk/1(line:378) <= mem3_shards:for_db/2(line:59) 
<= mem3_shards:local/1(line:156) <= couch_peruser:init/0(line:58) <= 
couch_peruser:init/1(line:187); initial_call: 
{couch_peruser,init,['Argument__1']}, ancestors: 
[couch_secondary_services,couch_sup,<0.204.0>], messages: [], links: 
[<0.213.0>,<0.93.0>], dictionary: [], trap_exit: false, status: running, 
heap_size: 2586, stack_size: 27, reductions: 2273
   [error] 2017-08-14T08:15:09.865047Z couchdb@localhost <0.213.0>  
Supervisor couch_secondary_services had child couch_peruser started with 
couch_peruser:start_link() at undefined exit with reason bad argument in call 
to ets:member(mem3_openers, <<"users">>) at 
mem3_shards:maybe_spawn_shard_writer/3(line:486) <= 
mem3_shards:load_shards_from_db/2(line:389) <= 
mem3_shards:load_shards_from_disk/1(line:378) <= mem3_shards:for_db/2(line:59) 
<= mem3_shards:local/1(line:156) <= couch_peruser:init/0(line:58) <= 
couch_peruser:init/1(line:187) in context start_error
   [error] 2017-08-14T08:15:09.866105Z couchdb@localhost <0.205.0>  
Supervisor couch_sup had child couch_secondary_services started with 
couch_secondary_sup:start_link() at undefined exit with reason 
{shutdown,{failed_to_start_child,couch_peruser,{badarg,[{ets,member,[mem3_openers,<<"users">>],[]},{mem3_shards,maybe_spawn_shard_writer,3,[{file,"src/mem3_shards.erl"},{line,486}]},{mem3_shards,load_shards_from_db,2,[{file,"src/mem3_shards.erl"},{line,389}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,378}]},{mem3_shards,for_db,2,[{file,"src/mem3_shards.erl"},{line,59}]},{mem3_shards,local,1,[{file,"src/mem3_shards.erl"},{line,156}]},{couch_peruser,init,0,[{file,...},...]},...]}}}
 in context start_error
   [error] 2017-08-14T08:15:09.866652Z couchdb@localhost <0.204.0>  
Error starting Apache CouchDB:
   
   
{error,{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,couch_peruser,{badarg,[{ets,member,[mem3_openers,<<"users">>],[]},{mem3_shards,maybe_spawn_shard_writer,3,[{file,"src/mem3_shards.erl"},{line,486}]},{mem3_shards,load_shards_from_db,2,[{file,"src/mem3_shards.erl"},{line,389}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,378}]},{mem3_shards,for_db,2,[{file,"src/mem3_shards.erl"},{line,59}]},{mem3_shards,local,1,[{file,"src/mem3_shards.erl"},{line,156}]},{couch_peruser,init,0,[{file,"src/couch_peruser.erl"},{line,58}]},{couch_peruser,init,1,[{file,"src/couch_peruser.erl"},{line,187}]}]}}
   
   ```
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] rasdaniil commented on issue #749: 2.1.0 crashes if peruser = true

2017-08-14 Thread git
rasdaniil commented on issue #749: 2.1.0 crashes if peruser = true
URL: https://github.com/apache/couchdb/issues/749#issuecomment-322121445
 
 
   Yes alright, I'll give it a try
   
   On 14 August 2017 at 10:42, garren smith  wrote:
   
   > Can you recreate this issue outside of docker? If you cannot it is a
   > docker issue.
   >
   > On 14 Aug 2017, 9:31 AM +0200, Dan Goody ,
   > wrote:
   > > You see, I checked sources, if the auth db does not exist, it should
   > show error:
   > > couch_peruser can't proceed as underlying database (name) is missing,
   > disables itself.
   > > Now if I change the auth db to a db which really doesn't exist like
   > > [couch_httpd_auth]
   > > authentication_db = i_dont_exist
   > > then I can see a proper error
   > > [warning] 2017-08-14T07:27:10.966328Z nonode@nohost <0.231.0> 
   > couch_peruser can't proceed as underlying database (i_dont_exist) is
   > missing, disables itself.
   > > Now if I either create the i_dont_exist db or switch auth db back to
   > _users (which of course exists before settings peruser to true), in this
   > case couch db doesn't show a proper error like above but crashes with the
   > error in the first message
   > > So it's unfair to close the issue
   > > ?
   > > You are receiving this because you are subscribed to this thread.
   >
   > > Reply to this email directly, view it on GitHub, or mute the thread.
   >
   > ?
   > You are receiving this because you authored the thread.
   > Reply to this email directly, view it on GitHub
   > , or 
mute
   > the thread
   > 

   > .
   >
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] garrensmith closed pull request #948: Fix sidebar expand/collapse when design doc name has special chars

2017-08-14 Thread git
garrensmith closed pull request #948: Fix sidebar expand/collapse when design 
doc name has special chars
URL: https://github.com/apache/couchdb-fauxton/pull/948
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] rasdaniil commented on issue #749: 2.1.0 crashes if peruser = true

2017-08-14 Thread git
rasdaniil commented on issue #749: 2.1.0 crashes if peruser = true
URL: https://github.com/apache/couchdb/issues/749#issuecomment-322121445
 
 
   Yes alright, I'll give it a try
   
   ? ?,
   ?? ???.
   
   
   
   
   On 14 August 2017 at 10:42, garren smith  wrote:
   
   > Can you recreate this issue outside of docker? If you cannot it is a
   > docker issue.
   >
   > On 14 Aug 2017, 9:31 AM +0200, Dan Goody ,
   > wrote:
   > > You see, I checked sources, if the auth db does not exist, it should
   > show error:
   > > couch_peruser can't proceed as underlying database (name) is missing,
   > disables itself.
   > > Now if I change the auth db to a db which really doesn't exist like
   > > [couch_httpd_auth]
   > > authentication_db = i_dont_exist
   > > then I can see a proper error
   > > [warning] 2017-08-14T07:27:10.966328Z nonode@nohost <0.231.0> 
   > couch_peruser can't proceed as underlying database (i_dont_exist) is
   > missing, disables itself.
   > > Now if I either create the i_dont_exist db or switch auth db back to
   > _users (which of course exists before settings peruser to true), in this
   > case couch db doesn't show a proper error like above but crashes with the
   > error in the first message
   > > So it's unfair to close the issue
   > > ?
   > > You are receiving this because you are subscribed to this thread.
   >
   > > Reply to this email directly, view it on GitHub, or mute the thread.
   >
   > ?
   > You are receiving this because you authored the thread.
   > Reply to this email directly, view it on GitHub
   > , or 
mute
   > the thread
   > 

   > .
   >
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] garrensmith commented on issue #749: 2.1.0 crashes if peruser = true

2017-08-14 Thread git
garrensmith commented on issue #749: 2.1.0 crashes if peruser = true
URL: https://github.com/apache/couchdb/issues/749#issuecomment-322121068
 
 
   Can you recreate this issue outside of docker? If you cannot it is a docker 
issue.
   
   On 14 Aug 2017, 9:31 AM +0200, Dan Goody , wrote:
   > You see, I checked sources, if the auth db does not exist, it should show 
error:
   > couch_peruser can't proceed as underlying database (name) is missing, 
disables itself.
   > Now if I change the auth db to a db which really doesn't exist like
   > [couch_httpd_auth]
   > authentication_db = i_dont_exist
   > then I can see a proper error
   > [warning] 2017-08-14T07:27:10.966328Z nonode@nohost <0.231.0>  
couch_peruser can't proceed as underlying database (i_dont_exist) is missing, 
disables itself.
   > Now if I either create the i_dont_exist db or switch auth db back to 
_users (which of course exists before settings peruser to true), in this case 
couch db doesn't show a proper error like above but crashes with the error in 
the first message
   > So it's unfair to close the issue
   > ?
   > You are receiving this because you are subscribed to this thread.
   > Reply to this email directly, view it on GitHub, or mute the thread.
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] rasdaniil commented on issue #749: 2.1.0 crashes if peruser = true

2017-08-14 Thread git
rasdaniil commented on issue #749: 2.1.0 crashes if peruser = true
URL: https://github.com/apache/couchdb/issues/749#issuecomment-322118714
 
 
   You see, I checked sources, if the auth db does not exist, it should show 
error:
   `couch_peruser can't proceed as underlying database (name) is missing, 
disables itself.
   `
   
   Now if I change the auth db to a db which really doesn't exist like
   ```
   [couch_httpd_auth]
   authentication_db = i_dont_exist
   ```
   
   then I can see a proper error
   `[warning] 2017-08-14T07:27:10.966328Z nonode@nohost <0.231.0>  
couch_peruser can't proceed as underlying database (i_dont_exist) is missing, 
disables itself.`
   
   Now if I either create the i_dont_exist db or switch auth db back to _users 
(which of course exists before settings peruser to true), in this case couch db 
doesn't show a proper error like above but _crashes_ with the error in the 
first message
   
   So it's unfair to close the issue 
   
   
   
   
   
   
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] rasdaniil commented on issue #749: 2.1.0 crashes if peruser = true

2017-08-14 Thread git
rasdaniil commented on issue #749: 2.1.0 crashes if peruser = true
URL: https://github.com/apache/couchdb/issues/749#issuecomment-322118714
 
 
   You see, I checked sources, if the auth db does not exist, it should show 
error:
   `couch_peruser can't proceed as underlying database (name) is missing, 
disables itself.
   `
   Now if I change the auth db to a db which really doesn't exist like
   ```
   [couch_httpd_auth]
   authentication_db = i_dont_exist
   ```
   
   then I can see a proper error
   `[warning] 2017-08-14T07:27:10.966328Z nonode@nohost <0.231.0>  
couch_peruser can't proceed as underlying database (i_dont_exist) is missing, 
disables itself.`
   
   Now if I either create the i_dont_exist db or switch auth db back to _users 
(which of course exists before settings peruser to true), in this case couch db 
doesn't show a proper error like above but _crashes_ with the error in the 
first message
   
   So it's unfair to close the issue 
   
   
   
   
   
   
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] sureshsargar commented on issue #737: CouchDB 2.0 version indexing getting timeout for records more than 100k records

2017-08-14 Thread git
sureshsargar commented on issue #737: CouchDB 2.0 version indexing getting 
timeout for records more than 100k records
URL: https://github.com/apache/couchdb/issues/737#issuecomment-322117202
 
 
   @rnewson  we tried with fabric parameter,but no success. problem is when 
there is more than 100k records of similar type and if i want to create a view 
and access the same obvious indexing get triggered and it will almost make 
couchDB unresponsive.  i have to restart couchDB and then it will resume 
indexing from that point. restarting CouchDB is not feasible solution with 
above scenario.
   
   Can i get more document information about Fabric parameter which you 
suggested?
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services