[GitHub] couchdb-couch issue #185: 3061 adaptive header search

2016-07-15 Thread jaydoane
Github user jaydoane commented on the issue: https://github.com/apache/couchdb-couch/pull/185 I've been testing with this repl command: ```erlang _time_find_header = fun(File, Algorithm) when is_list(File) -> FileSize = filelib:file_size(File), {ok, Fd} = file:op

[jira] [Commented] (COUCHDB-3061) Decrease search time for deeply buried headers

2016-07-15 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15380335#comment-15380335 ] ASF GitHub Bot commented on COUCHDB-3061: - GitHub user jaydoane opened a pull re

[GitHub] couchdb-couch pull request #185: 3061 adaptive header search

2016-07-15 Thread jaydoane
GitHub user jaydoane opened a pull request: https://github.com/apache/couchdb-couch/pull/185 3061 adaptive header search The current find_header algorithm performs one file read per block, which can be inefficient when the most recent header is buried deeply in a large file.

[jira] [Commented] (COUCHDB-3040) Support CouchDB 2.0 release on Windows

2016-07-15 Thread Joan Touzet (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15380268#comment-15380268 ] Joan Touzet commented on COUCHDB-3040: -- As of the latest commit to the couchdb repo

[GitHub] couchdb-fauxton issue #669: [WIP] Replication page update

2016-07-15 Thread justin-mcdavid-ibm
Github user justin-mcdavid-ibm commented on the issue: https://github.com/apache/couchdb-fauxton/pull/669 Hey Ben, I'm testing this, and it's awesome. Great work on this. It's a big improvement. There are a couple of things I'm seeing that we probably should tweak.

[GitHub] couchdb-couch-mrview issue #50: Fix sorted=false feature

2016-07-15 Thread nickva
Github user nickva commented on the issue: https://github.com/apache/couchdb-couch-mrview/pull/50 Unscientific benchmark: created a view with 500K rows run on default `./dev/run` cluster. After everything was cached, was getting 10 seconds for sorted, and 2 for unsorted. All valid JSO

[jira] [Closed] (COUCHDB-3060) sorted=false is broken

2016-07-15 Thread Robert Newson (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson closed COUCHDB-3060. -- > sorted=false is broken > -- > > Key: COUCHDB-3060 >

[jira] [Commented] (COUCHDB-3060) sorted=false is broken

2016-07-15 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15379811#comment-15379811 ] ASF subversion and git services commented on COUCHDB-3060: -- Com

[jira] [Resolved] (COUCHDB-3060) sorted=false is broken

2016-07-15 Thread Robert Newson (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson resolved COUCHDB-3060. Resolution: Fixed Fix Version/s: 2.0.0 > sorted=false is broken > -

[jira] [Commented] (COUCHDB-3060) sorted=false is broken

2016-07-15 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15379810#comment-15379810 ] ASF GitHub Bot commented on COUCHDB-3060: - Github user asfgit closed the pull re

[GitHub] couchdb-couch-mrview pull request #50: Fix sorted=false feature

2016-07-15 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/couchdb-couch-mrview/pull/50 --- 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, or if the fe

[jira] [Commented] (COUCHDB-3060) sorted=false is broken

2016-07-15 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15379809#comment-15379809 ] ASF subversion and git services commented on COUCHDB-3060: -- Com

[GitHub] couchdb-couch-mrview issue #50: Fix sorted=false feature

2016-07-15 Thread nickva
Github user nickva commented on the issue: https://github.com/apache/couchdb-couch-mrview/pull/50 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if

[jira] [Commented] (COUCHDB-3059) #db.local_tree can be undefined

2016-07-15 Thread Paul Joseph Davis (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15379692#comment-15379692 ] Paul Joseph Davis commented on COUCHDB-3059: [~iilyak] When you say "we" do

[jira] [Created] (COUCHDB-3061) Decrease search time for deeply buried headers

2016-07-15 Thread Jay Doane (JIRA)
Jay Doane created COUCHDB-3061: -- Summary: Decrease search time for deeply buried headers Key: COUCHDB-3061 URL: https://issues.apache.org/jira/browse/COUCHDB-3061 Project: CouchDB Issue Type: Im

[GitHub] couchdb-couch-mrview pull request #50: Fix sorted=false feature

2016-07-15 Thread kxepal
Github user kxepal commented on a diff in the pull request: https://github.com/apache/couchdb-couch-mrview/pull/50#discussion_r7182 --- Diff: include/couch_mrview.hrl --- @@ -98,7 +98,8 @@ should_close = false, buffer = [], bufsize = 0, -thresh

[GitHub] couchdb-couch-mrview issue #50: Fix sorted=false feature

2016-07-15 Thread nickva
Github user nickva commented on the issue: https://github.com/apache/couchdb-couch-mrview/pull/50 It seems to produce mangled json: ``` $ http 'http://adm:pass@localhost:15984/d/_design/d1/_view/v1?sorted=false' {"rows":[ {"id":"22","key":"22","value":"v"},

[GitHub] couchdb-couch-mrview issue #50: Fix sorted=false feature

2016-07-15 Thread rnewson
Github user rnewson commented on the issue: https://github.com/apache/couchdb-couch-mrview/pull/50 ooh how did you get that? grr. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] couchdb-couch-mrview pull request #50: Fix sorted=false feature

2016-07-15 Thread rnewson
Github user rnewson commented on a diff in the pull request: https://github.com/apache/couchdb-couch-mrview/pull/50#discussion_r70998242 --- Diff: include/couch_mrview.hrl --- @@ -98,7 +98,8 @@ should_close = false, buffer = [], bufsize = 0, -thres

[GitHub] couchdb-couch-mrview pull request #50: Fix sorted=false feature

2016-07-15 Thread kxepal
Github user kxepal commented on a diff in the pull request: https://github.com/apache/couchdb-couch-mrview/pull/50#discussion_r70955906 --- Diff: include/couch_mrview.hrl --- @@ -98,7 +98,8 @@ should_close = false, buffer = [], bufsize = 0, -thresh

[jira] [Commented] (COUCHDB-3060) sorted=false is broken

2016-07-15 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15379229#comment-15379229 ] ASF GitHub Bot commented on COUCHDB-3060: - GitHub user rnewson opened a pull req

[GitHub] couchdb-couch-mrview pull request #50: Fix sorted=false feature

2016-07-15 Thread rnewson
GitHub user rnewson opened a pull request: https://github.com/apache/couchdb-couch-mrview/pull/50 Fix sorted=false feature 1. Enable the sorted=false parameter to map views 2. Enhance view_cb to tolerate rows before meta 3. Enhance view_cb to only send meta if no row has been

[jira] [Created] (COUCHDB-3060) sorted=false is broken

2016-07-15 Thread Robert Newson (JIRA)
Robert Newson created COUCHDB-3060: -- Summary: sorted=false is broken Key: COUCHDB-3060 URL: https://issues.apache.org/jira/browse/COUCHDB-3060 Project: CouchDB Issue Type: Bug Re