History log of /5.5.2/couchdb/ (Results 101 - 125 of 3942)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
b451d75d21-Apr-2016 Volker Mische <volker.mische@gmail.com>

Merge remote-tracking branch 'remotes/couchbase/3.x' into sherlock

* remotes/origin/3.x:
MB-19245 Don't use fresh view group header

Change-Id: I09cf078ff5a4f3f18e6578ed24d1bc3

Merge remote-tracking branch 'remotes/couchbase/3.x' into sherlock

* remotes/origin/3.x:
MB-19245 Don't use fresh view group header

Change-Id: I09cf078ff5a4f3f18e6578ed24d1bc3588b36ae8

show more ...


6fc4a72118-Apr-2016 Volker Mische <vmx@couchbase.com>

MB-19245 Don't use fresh view group header

A fresh view group header was used instead of an updated one.

Change-Id: I25a44f05099b6d809617b9910724e625db46be61
Reviewed-on: http:/

MB-19245 Don't use fresh view group header

A fresh view group header was used instead of an updated one.

Change-Id: I25a44f05099b6d809617b9910724e625db46be61
Reviewed-on: http://review.couchbase.org/62950
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>

show more ...

e16902b223-Feb-2016 Abhishek Singh <abhishek@couchbase.com>

MB-18124: [Unit test] - Simulating index build post rollback

Unit test does initial index build post rollback to sequence
number 0 from mock dcp_server

Change-Id: I57302e0affd08

MB-18124: [Unit test] - Simulating index build post rollback

Unit test does initial index build post rollback to sequence
number 0 from mock dcp_server

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

show more ...

1c372c0409-Apr-2016 harsha <hhs.couchbase@gmail.com>

MB-8512 Unit test for optimizing document loads

Change-Id: I975e96a617e13dabe559a1b02354857bddeaf53e
Reviewed-on: http://review.couchbase.org/60921
Reviewed-by: Volker Mische <volker

MB-8512 Unit test for optimizing document loads

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

show more ...

49e10b8b09-Apr-2016 harsha <hhs.couchbase@gmail.com>

MB-8512 Do not load doc when document fields are not indexed

If document is not used by all the view functions defined in design doc, we
can optimize by not loading documents during inde

MB-8512 Do not load doc when document fields are not indexed

If document is not used by all the view functions defined in design doc, we
can optimize by not loading documents during indexing.
esprima and unused java script are used to detect if javascript map
function uses document in its function body. If none of the views
defined on design doc does not index document fields in their map function,
then we prevent loading of documents for that design document during
updater runs. This helps with sync gateway views.

Change-Id: Ic3d50185cb2a5d13b29a2e43290e51b663cebf8c
Reviewed-on: http://review.couchbase.org/54777
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

908b7edd09-Apr-2016 harsha <hhs.couchbase@gmail.com>

MB-8512 Add helper code and generate raw string header of js code

Helper java script code is added which returns if the document
(first parameter) of map function is used or not.
All

MB-8512 Add helper code and generate raw string header of js code

Helper java script code is added which returns if the document
(first parameter) of map function is used or not.
All the related JavaScript code is embedded as a raw string
which is included in relevant V8 code.

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

show more ...

bbe06df909-Apr-2016 harsha <hhs.couchbase@gmail.com>

MB-8512 Modify unused code to return AST along with unused variables

Change-Id: Ib6ed1c00bdbd6ed6ae03565aa369b9569f6ef435
Reviewed-on: http://review.couchbase.org/60707
Tested-by: bu

MB-8512 Modify unused code to return AST along with unused variables

Change-Id: Ib6ed1c00bdbd6ed6ae03565aa369b9569f6ef435
Reviewed-on: http://review.couchbase.org/60707
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...

0d52d0af09-Apr-2016 harsha <hhs.couchbase@gmail.com>

MB-8512 Latest stable vanilla code for esprima and unused

Esprima is tool to generate AST for ECMA Script a.k.a JavaScript
Source: https://raw.githubusercontent.com/jquery/esprima/2.7/es

MB-8512 Latest stable vanilla code for esprima and unused

Esprima is tool to generate AST for ECMA Script a.k.a JavaScript
Source: https://raw.githubusercontent.com/jquery/esprima/2.7/esprima.js
Git SHA: eb05a03b18b8433ab1ebeabea635a949219cd75e
License: BSD

Unused is a node module that uses esprima to detect unused variables
in the JavaScript code.
Source: https://raw.githubusercontent.com/Kami/node-unused/master/lib/context.js
https://raw.githubusercontent.com/Kami/node-unused/master/index.js
Git SHA: ff619df98dfb112ed2b69dad0ed94ab0227e6191
License: Apache

Change-Id: I8225162d9701386f38a73a099e5b4a7330b36804
Reviewed-on: http://review.couchbase.org/60706
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...

e3a9d2f507-Apr-2016 Abhishek Singh <abhishek@couchbase.com>

MB-18268 - Add newline at the end of query stats response

cbcollect_info query stats dump would be inconvenient to
parse using nutshell without newline.

Change-Id: I17ce6524d870

MB-18268 - Add newline at the end of query stats response

cbcollect_info query stats dump would be inconvenient to
parse using nutshell without newline.

Change-Id: I17ce6524d8706788fcf5b1647c93606668873fef
Reviewed-on: http://review.couchbase.org/62545
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

0484eeb206-Apr-2016 harsha <hhs.couchbase@gmail.com>

MB-19031 Handle race in updating terminator timeout

Change-Id: I8f819e9673bcff7e6fd0b3971a1f191dd43c38ba
Reviewed-on: http://review.couchbase.org/62489
Reviewed-by: Dave Rigby <daver

MB-19031 Handle race in updating terminator timeout

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

show more ...

7f8269b519-Mar-2016 harsha <hhs.couchbase@gmail.com>

Store mapreduce contexts in ets table

Store the map and reduce contexts in ets table with design doc
signature as key. This prevent unnecessary triggering of context
creation during

Store mapreduce contexts in ets table

Store the map and reduce contexts in ets table with design doc
signature as key. This prevent unnecessary triggering of context
creation during every udpater or query run.

Change-Id: I939e75c9689d41c806a34d77f93f69a3ab7a5ff5
Reviewed-on: http://review.couchbase.org/61748
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

fc2fa12707-Apr-2016 Abhishek Singh <abhishek@couchbase.com>

MB-18268 - Add newline at the end of query stats response

cbcollect_info query stats dump would be inconvenient to
parse using nutshell without newline.

Change-Id: Ief143f85d893

MB-18268 - Add newline at the end of query stats response

cbcollect_info query stats dump would be inconvenient to
parse using nutshell without newline.

Change-Id: Ief143f85d8931c8246ead9a070bb6880f858673d
Reviewed-on: http://review.couchbase.org/62534
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Tested-by: Abhishek Singh <abhishek@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

1569057428-Mar-2016 harsha <hhs.couchbase@gmail.com>

MB-17567 Add startup snapshot for builtin JavaScript functions

Change-Id: I83a75f8d91870d39bfee6a7baae53ba6266f4d17
Reviewed-on: http://review.couchbase.org/62052
Reviewed-by: Volker

MB-17567 Add startup snapshot for builtin JavaScript functions

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

show more ...

58b8edf925-Feb-2016 Abhishek <abhishek@couchbase.com>

MB-18268 - Adding timing stats for view queries

Exposing view query timing stats over _get_query_stats endpoint

Sample example:

curl http://10.142.200.101:9500/_set_view/de

MB-18268 - Adding timing stats for view queries

Exposing view query timing stats over _get_query_stats endpoint

Sample example:

curl http://10.142.200.101:9500/_set_view/default/_design/ddoc1/_get_query_stats -s | python -m json.tool
{
"query_timing_in_ms": {
"_design/ddoc1": {
"view1": {
"1": 0,
"10": 16,
"100": 0,
"1000": 0,
"10000": 0,
"100000": 0
},
"view2": {
"1": 0,
"10": 14,
"100": 0,
"1000": 0,
"10000": 0,
"100000": 0
}
}
}
}

Change-Id: I6d1260c9b4d7146f0365862a9be797001e9d7db0
Reviewed-on: http://review.couchbase.org/60499
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: Abhishek Singh <abhishek@couchbase.com>

show more ...

1fc9a81f09-Mar-2016 Volker Mische <vmx@couchbase.com>

CBD-1453: Rebuild when header files change

Whenever an Erlang header file changes, rebuild the corresponding
Erlang files. This isn't an automated process, but you need to pass
in th

CBD-1453: Rebuild when header files change

Whenever an Erlang header file changes, rebuild the corresponding
Erlang files. This isn't an automated process, but you need to pass
in the header files a project should depend on manually. For simplicity
sometimes more headers are use than strictly needed. We rather rebuild
more than having a broken incremental build.

Change-Id: Iae6d0a9043ed1b74f2c104d9b251f45715ac04fd
Reviewed-on: http://review.couchbase.org/61152
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>

show more ...

4bd0f4c503-Mar-2016 Volker Mische <vmx@couchbase.com>

MB-17420 Don't use GLOB to find source/test files

Instead of using globbing, it's better to name the files
explicitely. That way incremental builds work.

Change-Id: I1b47c61b0f5

MB-17420 Don't use GLOB to find source/test files

Instead of using globbing, it's better to name the files
explicitely. That way incremental builds work.

Change-Id: I1b47c61b0f524e5576d4111075516d923f039a6f
Reviewed-on: http://review.couchbase.org/60856
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

6f94d5aa17-Feb-2016 Volker Mische <vmx@couchbase.com>

MB-16618 Sort keys the expected way

When a mapreduce query is using the `keys` parameter, you would expect
the result sorted the same way as the supplied keys. This wasn't the
case,

MB-16618 Sort keys the expected way

When a mapreduce query is using the `keys` parameter, you would expect
the result sorted the same way as the supplied keys. This wasn't the
case, but it is now.

Change-Id: I75cab77a44eb4cdc26a98118c6abca5a1635bd62
Reviewed-on: http://review.couchbase.org/60121
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

4c94bcfe03-Mar-2016 harsha <hhs.couchbase@gmail.com>

MB-13022 CBQE-3350 Test ArrayBuffer support in V8 4.8

Usage of Unit8Array in map function is included in map tests.

Change-Id: I451d6849597b2e0c2031985670d92a6ccf67815a
Reviewed

MB-13022 CBQE-3350 Test ArrayBuffer support in V8 4.8

Usage of Unit8Array in map function is included in map tests.

Change-Id: I451d6849597b2e0c2031985670d92a6ccf67815a
Reviewed-on: http://review.couchbase.org/60847
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Tested-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

c75857af01-Jan-2016 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/58183
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>

show more ...

2bed703216-Feb-2016 Volker Mische <vmx@couchbase.com>

MB-17420 Skip one test on Windows

Skip one test on Windows due to too long names. Once we upgrade to
Erlang >= 17.0 the test will be run again.

Change-Id: I809b02d3d3a997d4a963e

MB-17420 Skip one test on Windows

Skip one test on Windows due to too long names. Once we upgrade to
Erlang >= 17.0 the test will be run again.

Change-Id: I809b02d3d3a997d4a963ee0c754996ec9163bc53
Reviewed-on: http://review.couchbase.org/60034
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>

show more ...

bf387bcd15-Feb-2016 Volker Mische <vmx@couchbase.com>

MB-17044 Test for write guard issue

There could be a dangling file in the couch_file_write_guard if there
is a crash during the initialisation of a view group. This test reproduces
t

MB-17044 Test for write guard issue

There could be a dangling file in the couch_file_write_guard if there
is a crash during the initialisation of a view group. This test reproduces
the issue with forcing a crash when the header is read.

Change-Id: Ifc7d1009c3913f907d7670f83b63d2b80b1422ec
Reviewed-on: http://review.couchbase.org/59962
Tested-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

884cf29c16-Feb-2016 Volker Mische <vmx@couchbase.com>

Merge remote-tracking branch 'remotes/couchbase/sherlock' into master

* remotes/couchbase/sherlock:
MB-18125 Don't reverse the ordering of partition ids

Change-Id: If1dca9e83a

Merge remote-tracking branch 'remotes/couchbase/sherlock' into master

* remotes/couchbase/sherlock:
MB-18125 Don't reverse the ordering of partition ids

Change-Id: If1dca9e83a70733eb91068c6f0caea4d3afd856c

show more ...


d5111e5915-Feb-2016 Volker Mische <vmx@couchbase.com>

MB-18125 Don't reverse the ordering of partition ids

The partition ids must always be sorted ascending. Previously
`list:foldl/3` was used to filter out certain partition ids.
Hence

MB-18125 Don't reverse the ordering of partition ids

The partition ids must always be sorted ascending. Previously
`list:foldl/3` was used to filter out certain partition ids.
Hence the result reversed, which lead to errors like:
`Cleanup list is not an ordset`.

Instead use lists:filter/2, which preserves the ordering.

Change-Id: Iada18de69ce0a200c716b008667ba367a974e044
Reviewed-on: http://review.couchbase.org/60040
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>

show more ...

29c7ee6801-Feb-2016 Abhishek Singh <abhishek@couchbase.com>

MB-17044: Clear dead PID from couch_file_write_guard

couch_file_write_guard is responsible for serializing access to
writers on a given mapreduce index file on disk.

This fix is

MB-17044: Clear dead PID from couch_file_write_guard

couch_file_write_guard is responsible for serializing access to
writers on a given mapreduce index file on disk.

This fix is supposed to clean up dead pid holding up write access to
mapreduce index files.

Change-Id: I754bde746b19fa82bd448b960f8ba5fe091dab5f
Reviewed-on: http://review.couchbase.org/59326
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: Abhishek Singh <abhishek@couchbase.com>

show more ...

e824e5ae25-Jan-2016 Volker Mische <vmx@couchbase.com>

MB-17420: Deletion and recreation of file failed on Windows

The deletion an immediate recreation of a file causes problems on
Windows. Instead just rename the file to the destination, wi

MB-17420: Deletion and recreation of file failed on Windows

The deletion an immediate recreation of a file causes problems on
Windows. Instead just rename the file to the destination, without
prior deletion.

Change-Id: I942aacc4681ae5d163559b7cf764ce1649dd5829
Reviewed-on: http://review.couchbase.org/59013
Tested-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>

show more ...

12345678910>>...158