History log of /3.0.3-GA/couchdb/src/couchdb/couch_view_mapreduce.erl (Results 1 - 9 of 9)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v4.6.0, v4.5.0
# ec6ac751 21-Aug-2013 Filipe David Borba Manana <fdmanana@gmail.com>

MB-8877 Fix builtin reduces for subset development views

The regression was introduced in the commit
912b8667560a275a652a2ff0d9d9264ed38e9328:

"MB-7978 Fixes to view tree with m

MB-8877 Fix builtin reduces for subset development views

The regression was introduced in the commit
912b8667560a275a652a2ff0d9d9264ed38e9328:

"MB-7978 Fixes to view tree with multiple reducers"

It only affects 2.1.0, 2.1.1 and 2.2.0 releases. The 3.0 (master branch)
is unaffected, because the same view engine is used for both development
and production views, unlike previous releases.

Change-Id: Id2161d98b015a4fb8a841ded38affad31e4a8c56
Reviewed-on: http://review.couchbase.org/28429
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...


Revision tags: 2.1.1r, 2.1.0r, 2.0.2r
# 94d2593a 28-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-7978 Remove list reversal

Missed in commit 912b8667560a275a652a2ff0d9d9264ed38e9328.
Just a mirror of couch_set_view_mapreduce.erl until
development views, single partition, use s

MB-7978 Remove list reversal

Missed in commit 912b8667560a275a652a2ff0d9d9264ed38e9328.
Just a mirror of couch_set_view_mapreduce.erl until
development views, single partition, use set views.

Change-Id: Ic657dde47c08f413efe291cf59674960fc5ade61
Reviewed-on: http://review.couchbase.org/25397
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...


# 912b8667 27-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-7978 Fixes to view tree with multiple reducers

A view tree with multiple reducers where not all of them
are native (_count, _sum, _stats) or custom (JavaScript)
was not working an

MB-7978 Fixes to view tree with multiple reducers

A view tree with multiple reducers where not all of them
are native (_count, _sum, _stats) or custom (JavaScript)
was not working anymore since the termless storage format,
and it became undetected for so long due to the fact that
old JavaScript testsuite (Futon) was removed (commit
304cbbd93400abfcb07ca70eecb4e1ccf3f3b485) and no equivalent
etap tests existed.

A view tree with multiple reducers only exists when 2 or
more views in the same design document have exactly the same
map function, on a byte by byte basis, and different reduce
functions (builtin or custom).

Change-Id: Id3218842da83e9e26339e6c59dd7c9b2e8d6a999
Reviewed-on: http://review.couchbase.org/25390
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...


Revision tags: 2.0.1-linux
# 356ef205 09-Feb-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-6895 Correct error processing for dev views

Change-Id: I51ad9fa63cc0b415cb992601c16c4b5c8f396c49
Reviewed-on: http://review.couchbase.org/24481
Reviewed-by: Filipe David Borba Man

MB-6895 Correct error processing for dev views

Change-Id: I51ad9fa63cc0b415cb992601c16c4b5c8f396c49
Reviewed-on: http://review.couchbase.org/24481
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...


# da000c22 07-Feb-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-6895 Fix badmatch on error

For old couchdb views, used for development subset, expect
error results to be inlined with non-error results.

Change-Id: I5cd33ee7caeeec4bd65b5484

MB-6895 Fix badmatch on error

For old couchdb views, used for development subset, expect
error results to be inlined with non-error results.

Change-Id: I5cd33ee7caeeec4bd65b548431788b2f3967fb35
Reviewed-on: http://review.couchbase.org/24474
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...


Revision tags: 2.0.0-couchbase
# b935f38e 25-Jun-2012 Chris Anderson <jchris@couchbase.com>

CBD-456 Separate document body and meta arguments to map function

Sends non-JSON values as byte arrays for the 'doc' argument.
Numbers and ascii text can be decoded trivially from this c

CBD-456 Separate document body and meta arguments to map function

Sends non-JSON values as byte arrays for the 'doc' argument.
Numbers and ascii text can be decoded trivially from this capability,
extending our support for legacy applications.

The document JSON format on the wire for bulk docs operations
now looks like this:

{
"json":{"user":"data","_anything":"goes"},
"meta":{"id":"mydocid"}
}

Or like this:

{
"base64":"bXliYXNlNjRiaW5hcnlkYXRh",
"meta":{"id":"mydocid"}
}

There can be additional data in the metadata object. Specification is on
the Jira ticket.

This change off support for _id lookups in include_docs queries, although
with server level include docs going away as well, this change should
be of little consequence. Include_docs is not removed as it is used
heavily by tests, in the future it will be renamed to x_include_docs
across both tests and query parser, in order to reflect the non-
supported nature.

Ticket with the specifications documentation:
http://www.couchbase.com/issues/browse/CBD-456

Admin UI and ns_server changes are in this change:
http://review.couchbase.org/#change,18028

Depends on this change in testrunner for view tests:
http://review.couchbase.org/#change,17768

Squashed in an old patch: http://review.couchbase.org/#change,18111

TODO: EP engine doesn't need to check for _fields when setting JSON
flag. This can be accomplished in a future patch.

Related issue (not addressed by this patch): views and _all_docs
output (as well as XDCR JSON format) needs to understand non-UTF8
keys: http://www.couchbase.com/issues/browse/CBD-453

Change-Id: I0fc2364b16251f74bb53c9e6a185046b0ae68791
Reviewed-on: http://review.couchbase.org/18992
Reviewed-by: Chris Anderson <jchris@couchbase.com>
Tested-by: Chris Anderson <jchris@couchbase.com>

show more ...


# db520cf1 19-Jul-2012 Filipe David Borba Manana <fdmanana@apache.org>

CBD-425 Improve dynamic error reporting for reduce functions

1) Log errors from builtin reduce/rereduce calls as well

2) Log reduce/rereduce errors from old couch views as well

CBD-425 Improve dynamic error reporting for reduce functions

1) Log errors from builtin reduce/rereduce calls as well

2) Log reduce/rereduce errors from old couch views as well

3) A bit less erlang term stringified errors in view merge errors
(more human readable)

Change-Id: Iee85ad8a3f8cbd9e398e177d3c6f7ce4795898f8
Reviewed-on: http://review.couchbase.org/18592
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...


# 213ca104 18-Jul-2012 Filipe David Borba Manana <fdmanana@apache.org>

MB-5930 Fix builtin _stats reduce

Code matches against atom ejson keys but ejson decode operations
always return binary ejson keys.

Change-Id: Ied114f073b035348d49942827a1e6e10f

MB-5930 Fix builtin _stats reduce

Code matches against atom ejson keys but ejson decode operations
always return binary ejson keys.

Change-Id: Ied114f073b035348d49942827a1e6e10fc3b5e03
Reviewed-on: http://review.couchbase.org/18440
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...


# eaa3f3be 20-Mar-2012 Filipe David Borba Manana <fdmanana@apache.org>

Use new MapReduce component everywhere

This removes the need for CouchJS, and therefore to link against
Spidermonkey, to use plain old couch views and for rereducing
values when doin

Use new MapReduce component everywhere

This removes the need for CouchJS, and therefore to link against
Spidermonkey, to use plain old couch views and for rereducing
values when doing view merging.

Change-Id: I9d1f4d749d490ac3fd33db4d74b9e5e69b6908c1
Reviewed-on: http://review.couchbase.org/14112
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...