|
[jira] Reopened: (COUCHDB-84) Reduce with group=true and count set to less : msg#00139db.couchdb.devel
[ https://issues.apache.org/jira/browse/COUCHDB-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Anderson reopened COUCHDB-84: ----------------------------------- The old fix continues to calculate the group reduce view long after the count has been reached. This new patch makes these queries MUCH faster, as well as fixing a potential invalid JSON response on very large data sets. > Reduce with group=true and count set to less than the # of returned rows, > fails to close the json array > ------------------------------------------------------------------------------------------------------- > > Key: COUCHDB-84 > URL: https://issues.apache.org/jira/browse/COUCHDB-84 > Project: CouchDB > Issue Type: Bug > Components: HTTP Interface > Affects Versions: 0.8 > Reporter: Chris Anderson > Assignee: Christopher Lenz > Fix For: 0.8.1 > > Attachments: missing_json_end.diff > > > Running a request with group=true and a count which limits the amount of rows > returned, results in invalid JSON (and a 500 error being logged by CouchDB). > The problems has been reproduced in a test case attached to this ticket. > The fix may be a little iffy (I changed some code that was probably like it > was for a reason...) so please review before applying the patch. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Bulk insert conflicts: 00139, Gilbert B Garza |
|---|---|
| Next by Date: | [jira] Updated: (COUCHDB-84) Reduce with group=true and count set to less than the # of returned rows, fails to close the json array: 00139, Chris Anderson (JIRA) |
| Previous by Thread: | [jira] Resolved: (COUCHDB-81) Design document not selectable from the top right select (on Opera 9.5)i: 00139, Christopher Lenz (JIRA) |
| Next by Thread: | [jira] Updated: (COUCHDB-84) Reduce with group=true and count set to less than the # of returned rows, fails to close the json array: 00139, Chris Anderson (JIRA) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |