History log of /5.5.2/couchstore/src/views/mapreduce/mapreduce.cc (Results 1 - 13 of 13)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v7.0.0, v6.6.1, v6.6.0, v6.5.0, v6.0.4, v5.5.6, v5.1.3, v5.5.3, v5.1.2
# 47a8f099 05-Oct-2017 Sriram Melkote <siri@couchbase.com>

MB-26279: Keep ArrayBuffer allocator around till isolate is done

Change-Id: I6e7f62bf8a70d41adf146ca882ed895e10fd96ea
Reviewed-on: http://review.couchbase.org/84068
Tested-by: Build

MB-26279: Keep ArrayBuffer allocator around till isolate is done

Change-Id: I6e7f62bf8a70d41adf146ca882ed895e10fd96ea
Reviewed-on: http://review.couchbase.org/84068
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Reviewed-by: Aman Kishore Achpal <aman.achpal@couchbase.com>

show more ...


# c8c076c7 05-Oct-2017 Sriram Melkote <siri@couchbase.com>

MB-26279: Do not leak ArrayBuffer allocator

And retrigger buildbot...

Change-Id: I0bf921263475fe7413f2f04cdeca8a918473687b
Reviewed-on: http://review.couchbase.org/84061
Rev

MB-26279: Do not leak ArrayBuffer allocator

And retrigger buildbot...

Change-Id: I0bf921263475fe7413f2f04cdeca8a918473687b
Reviewed-on: http://review.couchbase.org/84061
Reviewed-by: Sriram Melkote <siri@couchbase.com>
Tested-by: Sriram Melkote <siri@couchbase.com>

show more ...


# 251b633e 11-Sep-2017 Chris Hillery <ceej@couchbase.com>

CBD-2051: Update to V8 5.9 (required for eventing)

Change-Id: Ia6fa36f2ab9e3be32d569764851f8fdd5341ebb1
Reviewed-on: http://review.couchbase.org/83252
Reviewed-by: Chris Hillery <cee

CBD-2051: Update to V8 5.9 (required for eventing)

Change-Id: Ia6fa36f2ab9e3be32d569764851f8fdd5341ebb1
Reviewed-on: http://review.couchbase.org/83252
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Chris Hillery <ceej@couchbase.com>

show more ...


Revision tags: v5.1.0, v5.0.0, v4.6.0, v4.6.0-DP, v4.5.1-MP1
# 13d4a251 18-Aug-2016 Dave Rigby <daver@couchbase.com>

MB-20769: Convert to cb_malloc memory allocation API

Replace:

* malloc -> cb_malloc
* calloc -> cb_calloc
* realloc -> cb_realloc
* free -> cb_free
* strdup -> cb_st

MB-20769: Convert to cb_malloc memory allocation API

Replace:

* malloc -> cb_malloc
* calloc -> cb_calloc
* realloc -> cb_realloc
* free -> cb_free
* strdup -> cb_strdup

Change-Id: Ia9edb231ebad30655489bec1052e4d41eea33a32
Reviewed-on: http://review.couchbase.org/67306
Well-Formed: buildbot <build@couchbase.com>
Reviewed-by: Daniel Owen <owend@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>

show more ...


# 1f655e5e 26-Jul-2016 harsha <hhs.couchbase@gmail.com>

MB-20285 Revert startup snapshot blob which hampers performance

This reverts previous commits related to startup snashpt blob
creation of builtin JavaScript functions.
The allocation

MB-20285 Revert startup snapshot blob which hampers performance

This reverts previous commits related to startup snashpt blob
creation of builtin JavaScript functions.
The allocation and deallocation of startup blob during every
invocation of view binaries like index-builder, compactor
and index-cleanup, called by couchdb results in degradation
of performance.

Revert "MB-20084, MB-20085 Initialize V8 startup data blob if reducers defined."

This reverts commit 1c4edd04b2a43cf21e082fc71f99df46ca98be56.

Revert "MB-19899 Initialize V8 only if reduce is implemented"

This reverts commit 44d1df0c7f9e61bc116f0599c8bb354abe7148e7.

Revert "MB-17567 Add startup snapshot for builtin JavaScript functions"

This reverts commit a75e732c3222c66590ddcd94333ae356f8c12839.

Change-Id: I4961d1b48fd6e71aa0702be43c747e1115370828
Reviewed-on: http://review.couchbase.org/66198
Tested-by: buildbot <build@couchbase.com>
Tested-by: Pavel Paulau <pavel.paulau@gmail.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>

show more ...


# 1c4edd04 06-Jul-2016 harsha <hhs.couchbase@gmail.com>

MB-20084, MB-20085 Initialize V8 startup data blob if reducers defined.

Change-Id: I9a73a4346b8e6ab2dbc5c3d8794c320e5634e073
Reviewed-on: http://review.couchbase.org/65546
Reviewed-b

MB-20084, MB-20085 Initialize V8 startup data blob if reducers defined.

Change-Id: I9a73a4346b8e6ab2dbc5c3d8794c320e5634e073
Reviewed-on: http://review.couchbase.org/65546
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...


# 652b9a67 07-Jun-2016 harsha <hhs.couchbase@gmail.com>

MB-19783 Use barrier to prevent exit of long running task

There is a potential race in which terminator thread decides to
terminate map reduce context and gets switched out of context.

MB-19783 Use barrier to prevent exit of long running task

There is a potential race in which terminator thread decides to
terminate map reduce context and gets switched out of context.
In the meantime map reduce task is finished normally and the same
context is reused to perform map reduce for subsequent mutations.
Now terminator thread will potentially terminate this new task,
when it is scheduled back to run.
This is avoided by using mutex in which either terminator thread,
if successful will terminate long running map reduce task or the
task is terminated normally.

Change-Id: I86baa697da17aa0e87dd8fae82452231aaa22f20
Reviewed-on: http://review.couchbase.org/64790
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...


Revision tags: v4.5.0
# a75e732c 28-Mar-2016 harsha <hhs.couchbase@gmail.com>

MB-17567 Add startup snapshot for builtin JavaScript functions

Change-Id: I250172a9414bc75e818bc852c87032c93f602dc0
Reviewed-on: http://review.couchbase.org/62053
Reviewed-by: Dave R

MB-17567 Add startup snapshot for builtin JavaScript functions

Change-Id: I250172a9414bc75e818bc852c87032c93f602dc0
Reviewed-on: http://review.couchbase.org/62053
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...


Revision tags: v4.5.1
# 128e895c 14-Dec-2015 harsha <hhs.couchbase@gmail.com>

MB-17043 Upgrade V8 to version 4.8

V8 APIs have changed from earlier version of 3.23 to current
version of 4.8, current stable v8 version used in Chrome.
Corresponding API changes ar

MB-17043 Upgrade V8 to version 4.8

V8 APIs have changed from earlier version of 3.23 to current
version of 4.8, current stable v8 version used in Chrome.
Corresponding API changes are incorporated in this fix.

Change-Id: I9942225d70d8d5b8dac1bde2429d995b8a4d7dc2
Reviewed-on: http://review.couchbase.org/57777
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>

show more ...


# d5981bd6 02-Nov-2015 harsha <hhs.couchbase@gmail.com>

Get rid of V8 version macros

Since v8 library file as part of cbdeps, no need to maintatin
v8 code base for different versions.

Change-Id: Ifa0a179d2cd7f52ff9589bd286554a2078ff5

Get rid of V8 version macros

Since v8 library file as part of cbdeps, no need to maintatin
v8 code base for different versions.

Change-Id: Ifa0a179d2cd7f52ff9589bd286554a2078ff5b00
Reviewed-on: http://review.couchbase.org/56596
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...


Revision tags: v4.1.0
# f00c64d3 15-Jun-2015 Volker Mische <vmx@couchbase.com>

MB-15267: Add line numbers to JavaScript errors

When there's an error in a view, it's hard to determine where exactly
it happened. The logging of the errors is improved to contain the li

MB-15267: Add line numbers to JavaScript errors

When there's an error in a view, it's hard to determine where exactly
it happened. The logging of the errors is improved to contain the line
and column number:

[mapreduce_errors:error,2015-06-11T17:23:47.302+02:00,couchdb_n_0@127.0.0.1:<0.461.0>:couch_set_view_updater:-do_maps/3-fun-0-:783]Bucket `beer-sample`, main group `_design/dev_beer`, error mapping document `copper_kettle_brewery` for view `brewery_beers`: TypeError: Cannot read property 'bar' of undefined (line 4:21)

Change-Id: Ife11faecd97082ac2e658a2a2d9ef59e5d513da6
Reviewed-on: http://review.couchbase.org/52061
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...


Revision tags: v3.1.2, v3.0.3, v3.0.2, v3.0.1, v3.0.0
# 8854c6de 02-Nov-2013 Sarath Lakshman <sarathlakshman@slynux.com>

MB-9482 Add support for V8 versions post 3.19

Some of the v8 APIs have changed and newer versions does not support
copyable persistence objects. This commit conditionally uses older API

MB-9482 Add support for V8 versions post 3.19

Some of the v8 APIs have changed and newer versions does not support
copyable persistence objects. This commit conditionally uses older API
or newer API based on a macro definition `V8_POST_3_19_API`.

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

show more ...


Revision tags: 2.1.1r, 2.1.0r, 2.0.2r, 2.0.1-macosx
# e534452a 20-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-7629, MB-7656 Add mapreduce library

To be used by the view compactor, view builder and view updater.
This is a C++ library, that links against the V8 JavaScript engine,
but it exp

MB-7629, MB-7656 Add mapreduce library

To be used by the view compactor, view builder and view updater.
This is a C++ library, that links against the V8 JavaScript engine,
but it exposes a pure C API to the outside.

Change-Id: I4f80f7d490e31dd3b43e50007a6c23133baaa7b5
Reviewed-on: http://review.couchbase.org/25257
Tested-by: Fulu Li <fulu@couchbase.com>
Reviewed-by: Fulu Li <fulu@couchbase.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...