History log of /4.6.0/couchdb/ (Results 1 - 25 of 3844)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: v4.6.0
7b950cfa28-Nov-2016 harsha <harsha@couchbase.com>

MB-22063[BP MB-21594] Remove old partition versions during rebalance

When a new vbucket is moved into a node during rebalance, for
which there is no sequence number information, we add 0

MB-22063[BP MB-21594] Remove old partition versions during rebalance

When a new vbucket is moved into a node during rebalance, for
which there is no sequence number information, we add 0 as the
start sequence number and {0, 0} as the failover log for that
partition version.
There are cases, where older failover log is still lingering in
the partition version table and this fix clears that information.

Also this results in duplicate partition as ordsets treats
{PartId, [{0,0}]} and {PartId, [{UUID1, Seq1}, {UUID2, Seq2}]}
as two different keys.

Change-Id: Idf1e669a377c365f5f1fecc57f2daabba9edec8d
Reviewed-on: http://review.couchbase.org/71175
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Well-Formed: buildbot <build@couchbase.com>

show more ...

0a823e0601-Nov-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Merge remote-tracking branch 'couchbase/sherlock' into watson

* couchbase/sherlock:
Revert dcp client changes.
MB-21509 Always ack whatever is in the queue when removing it.

Merge remote-tracking branch 'couchbase/sherlock' into watson

* couchbase/sherlock:
Revert dcp client changes.
MB-21509 Always ack whatever is in the queue when removing it.
MB-21509 Crash if close_stream returns unexpected error.
MB-21509 [Backport] MB-21303 Handle race between stream addition and updater exit
MB-21509 [Backport] MB-21303 Address leak in stream_info queue
MB-21509 [Backport] MB-21303 Handle ack from dcp producer for control_request correctly

Change-Id: I24489dc1db1cde37d8e7b08811236b9a3f10298b

show more ...


7c4e378f01-Nov-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

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

* couchbase/3.x:
Revert dcp client changes.
MB-21509 Always ack whatever is in the queue when removing it.
MB-215

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

* couchbase/3.x:
Revert dcp client changes.
MB-21509 Always ack whatever is in the queue when removing it.
MB-21509 Crash if close_stream returns unexpected error.
MB-21509 [Backport] MB-21303 Handle race between stream addition and updater exit
MB-21509 [Backport] MB-21303 Address leak in stream_info queue
MB-21509 [Backport] MB-21303 Handle ack from dcp producer for control_request correctly

Change-Id: I415d41675cb9ce463c18ade3ebf7d1a2d8cc54a6

show more ...


1946e3ea01-Nov-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Revert dcp client changes.

Because it still has bugs, just of a different kind. So reverting it
back to a pristine state. Will fix on master.

This reverts the following commits:

Revert dcp client changes.

Because it still has bugs, just of a different kind. So reverting it
back to a pristine state. Will fix on master.

This reverts the following commits:

37036aa9c0027bcbb810880a8d545500e5cad209
57c534b4f0272e5f61ffe4c205acb3264972e6e4
63c71f0b3290bd63ec0c8f76381b9dc44048b1f1
7990968eafc44452135d720d17335e1cb6008faa
6b43ef1a0baa907631fcd4ab384d8dc70ab4aa91

Change-Id: I608e8bc0fce7f5de4e0d3bd433dd09ed2baf7b9e
Reviewed-on: http://review.couchbase.org/69377
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

show more ...

37036aa931-Oct-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

MB-21509 Always ack whatever is in the queue when removing it.

The problem with the original patch was that when the client got DOWN
message from a process, it would just delete the queu

MB-21509 Always ack whatever is in the queue when removing it.

The problem with the original patch was that when the client got DOWN
message from a process, it would just delete the queue without
acknowledging anything.

Now I just call check_and_send_buffer_ack from inside
remove_request_queue. Incidentally, this means that it gets called
even after the client just receives stream_end. And this means, that
even if ep-engine continues sending mutations after stream_end, we'll
still acknowledge them.

Change-Id: I18f55f54deff30c0a914803869c3fe62d64f99f7
Reviewed-on: http://review.couchbase.org/69349
Well-Formed: buildbot <build@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

show more ...

57c534b431-Oct-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

MB-21509 Crash if close_stream returns unexpected error.

It's much better than leaving the client in an undefined state.

Change-Id: I76afddcb33ae7db25609b88517c64d6e1f2099f1
Rev

MB-21509 Crash if close_stream returns unexpected error.

It's much better than leaving the client in an undefined state.

Change-Id: I76afddcb33ae7db25609b88517c64d6e1f2099f1
Reviewed-on: http://review.couchbase.org/69348
Well-Formed: buildbot <build@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

show more ...

63c71f0b23-Oct-2016 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

MB-21509 [Backport] MB-21303 Handle race between stream addition and updater exit

DocLoader sub-process adds dcp stream for a vbucket.
Streams are added into active streams list after a

MB-21509 [Backport] MB-21303 Handle race between stream addition and updater exit

DocLoader sub-process adds dcp stream for a vbucket.
Streams are added into active streams list after a response is
received from dcp producer. If updater exits before the stream
is added into active list, there is no way of closing this stream
until updater is stopped in subsequent iteration, which could
potentially result in not acknowledgeing any stream events for
this vbucket.

This patch avoids race by monitoring the DocLoader process and
removes the streams whenevr the process terminates or the stream
is explicitly closed.

Change-Id: Ib36bb8d6fe0d07c220b16c231e2762d4dfeb33d9
Reviewed-on: http://review.couchbase.org/68808
Tested-by: Harsha H S <hhs.couchbase@gmail.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Reviewed-on: http://review.couchbase.org/69315
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Tested-by: Sarath Lakshman <sarath@couchbase.com>

show more ...

7990968e11-Oct-2016 harsha <hhs.couchbase@gmail.com>

MB-21509 [Backport] MB-21303 Address leak in stream_info queue

In the error condition of add_stream, stream_info
queue entry was not flushed out which resulted in leak.

Change-I

MB-21509 [Backport] MB-21303 Address leak in stream_info queue

In the error condition of add_stream, stream_info
queue entry was not flushed out which resulted in leak.

Change-Id: Id9358cc17a1b3ead45252bc61f18bf41e8d374ce
Reviewed-on: http://review.couchbase.org/68565
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Reviewed-on: http://review.couchbase.org/69314
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Tested-by: Sarath Lakshman <sarath@couchbase.com>

show more ...

6b43ef1a10-Oct-2016 harsha <hhs.couchbase@gmail.com>

MB-21509 [Backport] MB-21303 Handle ack from dcp producer for control_request correctly

control_request for flow control buffer size is added into the
pending request dictionary with nil

MB-21509 [Backport] MB-21303 Handle ack from dcp producer for control_request correctly

control_request for flow control buffer size is added into the
pending request dictionary with nil as SendTo parameter as
gen_server need not reply when it gets response from producer.
This was not handled correctly when stream_response is handled
in the client which is fixed in this patch.

Change-Id: Ib382ddc9db3dc5da65d7a550d9b9ffa6ee375399
Reviewed-on: http://review.couchbase.org/68525
Reviewed-by: Dave Rigby <daver@couchbase.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Tested-by: Abhishek Singh <abhishek@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-on: http://review.couchbase.org/69313
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Tested-by: Sarath Lakshman <sarath@couchbase.com>

show more ...

Revision tags: v4.5.0
7ad0cfa622-Apr-2016 harsha <hhs.couchbase@gmail.com>

MB-18985 Use platform APIs for thread creation and synchronization

Platform APIs are compatible with NIF APIs for thread creation
and synchronization. So mapreduce NIF uses platform APIs

MB-18985 Use platform APIs for thread creation and synchronization

Platform APIs are compatible with NIF APIs for thread creation
and synchronization. So mapreduce NIF uses platform APIs instead
of C++11 primitivies to be compatible with NIF APIs.

On Windows, mixing C++11 primitives with NIF APIs resulted in improper
shutdown of erl.exe application in the unit tests which resulted in
error popups at the exit of every unit test run.

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

show more ...

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

Increase DCP connection timeout for unit tests

The build slaves can be slow, hence set the DCP connection timeout
high enough to prevent sporadic failures.

Change-Id: I611da5679

Increase DCP connection timeout for unit tests

The build slaves can be slow, hence set the DCP connection timeout
high enough to prevent sporadic failures.

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

show more ...

99df925721-Apr-2016 Volker Mische <volker.mische@gmail.com>

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

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

Change-Id: Ibd01aeb820fe2e9e64f53bd

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

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

Change-Id: Ibd01aeb820fe2e9e64f53bd3b5b506f71ea79dc5

show more ...


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 ...

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 ...

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 ...

12345678910>>...154