History log of /6.0.3/couchdb/ (Results 51 - 75 of 3947)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
aae1433b14-Nov-2017 Aman Achpal <aman.achpal@couchbase.com>

Setup LD_LIBRARY_PATH

Due to changes in build process while upgrading v8
The v8 libraries are now incorrectly initialized
with rpath set preventing mapreduce_nif from loading.
LD

Setup LD_LIBRARY_PATH

Due to changes in build process while upgrading v8
The v8 libraries are now incorrectly initialized
with rpath set preventing mapreduce_nif from loading.
LD_LIBRARY_PATH takes precedence over rpath and
setting it allows shared libraries to be loaded properly.

Change-Id: Ib9c638991a3e1dc963d469f1db022eff3a2e8c70
Reviewed-on: http://review.couchbase.org/85503
Reviewed-by: Harsha H S
Reviewed-by: Aman Kishore Achpal <aman.achpal@couchbase.com>
Tested-by: Aman Kishore Achpal <aman.achpal@couchbase.com>

show more ...

2e98082211-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/83251
Reviewed-by: Chris Hillery <cee

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

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

show more ...

3cf258de21-Jul-2017 Aman Achpal <aman.achpal@couchbase.com>

MB-25063 Print latest snapshot boundaries

Upon receiving a snapshot mutation, we immediately update
the Start-sequence number. However, end sequence number is
not updated, causing th

MB-25063 Print latest snapshot boundaries

Upon receiving a snapshot mutation, we immediately update
the Start-sequence number. However, end sequence number is
not updated, causing the "Obtaining mutations timed out"
message to print seemingly stale and misleading information.
This fix prints the latest snapshot boundaries that are
persisted when a snapshot marker is received, as well as
the Start-sequence number as reflected by the index header.

Change-Id: I03f6e0696c91746ba62fbc80c10fea26cedd36b9
Reviewed-on: http://review.couchbase.org/80698
Tested-by: Aman Kishore Achpal <aman.achpal@couchbase.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

dd64cc6a11-Jul-2017 harsha <hhs.couchbase@gmail.com>

MB-17025 Terminate updater if kv_engine is silent for 2*NOOP_INTERVAL

If KV_Engine fails to stream mutation or high sequence numbers for a
period of 2 * NOOP_INTERVAL (default is 4 min)

MB-17025 Terminate updater if kv_engine is silent for 2*NOOP_INTERVAL

If KV_Engine fails to stream mutation or high sequence numbers for a
period of 2 * NOOP_INTERVAL (default is 4 min) we terminate updater
process with timeout reason, instead of retrying perpetually.

Also correct the set_noop_interval value string to send in seconds
instead of miliseconds

Change-Id: I11b7ddee604e654f36b610c67268a09cbe3a266b
Reviewed-on: http://review.couchbase.org/80527
Reviewed-by: Aman Kishore Achpal <aman.achpal@couchbase.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Tested-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

d149230218-Jul-2017 Aman Achpal <aman.achpal@couchbase.com>

MB-21156 Log improvements to couchdb log

This fix makes enhancements to mitigate the loss of important
information due to rotation of the couchdb log. This includes
moving superfluou

MB-21156 Log improvements to couchdb log

This fix makes enhancements to mitigate the loss of important
information due to rotation of the couchdb log. This includes
moving superfluous, redundant and unhelpful information to the
debug level, as well as replacing expanded lists with their
condensed form. Additionally, this improves the logging of
POST query requests by logging the ddoc and view being queried.

Change-Id: I62fea718ad24251e72746d2e4b169afbf689a8e9
Reviewed-on: http://review.couchbase.org/80987
Tested-by: Harsha H S <hhs.couchbase@gmail.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

30ee623713-Jul-2017 Aman Achpal <aman.achpal@couchbase.com>

MB-25235 Enabling Noop for view-engine

As per MB-23649, KV Engine now enforces Noop for components
using v5 features. Since view-engine uses XAttrs, failing
to enable dead connection

MB-25235 Enabling Noop for view-engine

As per MB-23649, KV Engine now enforces Noop for components
using v5 features. Since view-engine uses XAttrs, failing
to enable dead connection detection causes "not supported"
errors. This fix addresses the issue by modifying the
view-engine DCP client/consumer to enable Noop.
Additionally, dummy implementation is added to
couch_dcp_fake_server to prevent failing tests.

Change-Id: Ie2917f34730363f8c1b408bf498eece5dd6da84f
Reviewed-on: http://review.couchbase.org/80637
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

7a9be05926-Jun-2017 harsha <hhs.couchbase@gmail.com>

MB-25028 Catch all exit reasons from spatial btree updater

Instead of catching result of the updater as exit reason,
this fix catches all possible exit reasons along with the
btree u

MB-25028 Catch all exit reasons from spatial btree updater

Instead of catching result of the updater as exit reason,
this fix catches all possible exit reasons along with the
btree updater result.

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

show more ...

9d07010120-Jan-2017 nimish <nimish@couchbase.com>

MB-22317 Stop the updater for spatial view

Stop the spatial updater after receiving the stop message

Change-Id: Id1d4baa379f9b4a8a12a6bd3654fbb07cf3a5f0e
Reviewed-on: http://rev

MB-22317 Stop the updater for spatial view

Stop the spatial updater after receiving the stop message

Change-Id: Id1d4baa379f9b4a8a12a6bd3654fbb07cf3a5f0e
Reviewed-on: http://review.couchbase.org/79802
Tested-by: Harsha H S <hhs.couchbase@gmail.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Reviewed-by: Aman Kishore Achpal <aman.achpal@couchbase.com>

show more ...

0f89f3c215-Jun-2017 Aman Achpal <aman.achpal@couchbase.com>

MB-21156 Shifting extra information to debug log level

cbcollect logs are limited to 200MB per component. The couchdb
component was logging a very high volume of information at the
i

MB-21156 Shifting extra information to debug log level

cbcollect logs are limited to 200MB per component. The couchdb
component was logging a very high volume of information at the
info log level resulting in wrapping of the logs due to which
important information needed for triaging was lost.
This fix moves a large amount of that infomration to debug level,
which can be enabled dynamically using the REST API when the
customer faces an issue.

The API call to be used is -
curl -X POST -u username:password
http://url:port/diag/eval
-d 'ale:set_loglevel(couchdb,debug).

An example that worked with ./cluster_run is -
curl -X POST -u Administrator:asdasd
http://127.0.0.1:8091/diag/eval
-d 'ale:set_loglevel(couchdb,debug).

Change-Id: Ic7b4af748ebc2a2a2e524c43659953f1d215b8b1
Reviewed-on: http://review.couchbase.org/79551
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

22a262eb14-Jun-2017 harsha <hhs.couchbase@gmail.com>

MB-23946 Implement handle_info for DOWN message for monitored process

couch_set_view_group monitors ns_server capi_set_view_manager process
to update the progress of partition update sta

MB-23946 Implement handle_info for DOWN message for monitored process

couch_set_view_group monitors ns_server capi_set_view_manager process
to update the progress of partition update state.
If capi_set_view_manager dies, we are not handling the DOWN message
in our group which is fixed in this patch.

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

show more ...

Revision tags: v4.6.0
a004585521-Oct-2016 harsha <hhs.couchbase@gmail.com>

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
rece

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 adding, listing and removing
streams from the parent updater process.

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

show more ...

5f5f70d811-Oct-2016 harsha <hhs.couchbase@gmail.com>

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: If54ef45ffd25fe1c

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: If54ef45ffd25fe1c9f4615a29bf8d615609dfc20
Reviewed-on: http://review.couchbase.org/76964
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Tested-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

773ad42f10-Oct-2016 harsha <hhs.couchbase@gmail.com>

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

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: Iaaa2c8b62be838ed6d03fbe56c5041b2a8445607
Reviewed-on: http://review.couchbase.org/76962
Tested-by: Harsha H S <hhs.couchbase@gmail.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>

show more ...

8463251518-Apr-2017 Sriram Melkote <siri@couchbase.com>

CBD-1983: Remove DCP flow control changes from master

This reverts commit e4767cfeae434e2e63480e7bc6b50395f0738a5d.

Remove the experimenal flow control changes from master. These

CBD-1983: Remove DCP flow control changes from master

This reverts commit e4767cfeae434e2e63480e7bc6b50395f0738a5d.

Remove the experimenal flow control changes from master. These
were reverted on watson as they introduced more problems, while
the root cause of the regression was a bug in ep-engine, and hence
were not strictly necessary.

Change-Id: I5da23439012d5e5097841477305fbb9ee4c383f9
Reviewed-on: http://review.couchbase.org/76951
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

584de8c001-Jun-2017 harsha <hhs.couchbase@gmail.com>

MB-24616 Control indexing of system _xattrs on document deletion

Indexing xattributes on document deletion has a potential problem,
that the index structure can grow out of proportions,

MB-24616 Control indexing of system _xattrs on document deletion

Indexing xattributes on document deletion has a potential problem,
that the index structure can grow out of proportions, if care is
not taken to delete them from the index structure.

Views depend on the dcp mutations to insert or delete a document
into the index structure. Dcp set triggers value insertion whereas
dcp deletion triggers value deletion from view index structure.

Since, we index xattrs on document deletion, there is no way to
delete this value from index structure, unless same document is
created and deleted without setting xattrs. In order to avoid
unscrupulous use of indexing xattrs, a new design doc level
attribute is added to enable indexing of xattrs on document deletion.
This attribute can be set using RESTful API on CAPI REST port,
and is not exposed in UI.

For example on development server where CAPI REST port is 9500,
design doc named ddoc which can index xattrs on document deletion
and smaple view called view1 is created using
curl -X PUT -H 'Content-Type: application/json'
http://Administrator:asdasd@localhost:9500/default/_design/ddoc -d
@views_def.json
where contents of views_def.json is
{
"views" : {
"view1": {
"map" : "function(doc, meta){emit(meta.id,
meta.xattrs);}"
}
},
"index_xattr_on_deleted_docs" : true
}

Change-Id: I3d977812409d6bba205431e7bc408aab4864b4e2
Reviewed-on: http://review.couchbase.org/78907
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>
Tested-by: Harsha H S <hhs.couchbase@gmail.com>
Reviewed-by: Aman Kishore Achpal <aman.achpal@couchbase.com>

show more ...

045f5a6425-May-2017 harsha <hhs.couchbase@gmail.com>

MB-23888 Unit test to stream xattrs during soft deletion of document

As part of mobile convergence plan, system xattributes are streamed
during document soft deletion.
This unit test

MB-23888 Unit test to stream xattrs during soft deletion of document

As part of mobile convergence plan, system xattributes are streamed
during document soft deletion.
This unit test simulates this feature by having a deleted attribute
in the document which is parsed, and delete mutation is generated,
along with streaming of xattribute body

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

show more ...

de563bee23-May-2017 harsha <hhs.couchbase@gmail.com>

MB-23888 Fix spec for couch_dcp_consumer:parse_snapshot_deletion/2

Snapshot deletion now returns system xattributes set on the document.
Correcting the spec for this function to overcome

MB-23888 Fix spec for couch_dcp_consumer:parse_snapshot_deletion/2

Snapshot deletion now returns system xattributes set on the document.
Correcting the spec for this function to overcome dialyzer failures.

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

show more ...

87059c4a03-May-2017 harsha <hhs.couchbase@gmail.com>

MB-23946 Revert "MB-22317 Stop the updater for spatial view"

This reverts commit 70262640dfe82b3707861dc5187aff072228b4b8,
as this caused rebalance failures in longevity tests.

MB-23946 Revert "MB-22317 Stop the updater for spatial view"

This reverts commit 70262640dfe82b3707861dc5187aff072228b4b8,
as this caused rebalance failures in longevity tests.

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

show more ...

123f480311-May-2017 harsha <hhs.couchbase@gmail.com>

MB-23888 Treat deleted documents with system _xattrs as set operation

As part of mobile convergence, any document with system xattributes,
upon deletion streams those system xattributes

MB-23888 Treat deleted documents with system _xattrs as set operation

As part of mobile convergence, any document with system xattributes,
upon deletion streams those system xattributes over DCP.
Views will treat these document as soft deletion and index them, by
treating them as KV set operation. Views will treat the documents
without any system xattributes as hard deletion and remove them
from index structure.

Change-Id: I4ca6ac5e12509a36fc6354d189daa39f51ff0426
Reviewed-on: http://review.couchbase.org/78004
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

8da028d828-Apr-2017 harsha <hhs.couchbase@gmail.com>

MB-21350 Ignore system xattrs on snapshot deletion

Until we support indexing of system xattrs on snapshot deletion, we
are ignoring them.

Change-Id: I943a8acf67d442dba4de52f92d1

MB-21350 Ignore system xattrs on snapshot deletion

Until we support indexing of system xattrs on snapshot deletion, we
are ignoring them.

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

show more ...

3db6751517-Feb-2017 harsha <hhs.couchbase@gmail.com>

MB-21350 Expose Extended attributes a.k.a XATTR to views

Extended Attributes that are streamed by KV are now included
in the metadata information of the document and are accessible
b

MB-21350 Expose Extended attributes a.k.a XATTR to views

Extended Attributes that are streamed by KV are now included
in the metadata information of the document and are accessible
by views as `meta.xattrs` property

Sample metadata of document with xattrs now looks like
{
"id": "xattr_demo_doc",
"rev": "4-14a501b8539400000000000002000000",
"seq": "4",
"vb": "321",
"expiration": 0,
"flags": 33554432,
"type": "json",
"xattrs": {
"doc": {
"readcount": [
10,
11
],
"author": "Jack"
},
"_sync": {
"channels": [
"UK",
"USA",
"EU"
]
}
}
}

whereas sample metadata of document not having xattrs looks like
{
"id": "pymc0",
"rev": "1-14a501f28e5b00000000000000000000",
"seq": "1",
"vb": "449",
"expiration": 0,
"flags": 0,
"type": "json",
"xattrs": {}
}

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

show more ...

d1b6a79308-Feb-2017 nimish <nimish@couchbase.com>

MB-22588 Fix the error in spawning spatial updater

Change-Id: I946f68b7e8425e92984d111556651c1b7886a3c4
Reviewed-on: http://review.couchbase.org/73322
Reviewed-by: Harsha H S <hhs.co

MB-22588 Fix the error in spawning spatial updater

Change-Id: I946f68b7e8425e92984d111556651c1b7886a3c4
Reviewed-on: http://review.couchbase.org/73322
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

d759605531-Jan-2017 harsha <hhs.couchbase@gmail.com>

MB-22525 DCP_OPEN_NO_VALUE is made global per connection flag

For views that do not use document fields, only metadata was
streamed from dcp. Earlier this was done by setting NO_VALUE

MB-22525 DCP_OPEN_NO_VALUE is made global per connection flag

For views that do not use document fields, only metadata was
streamed from dcp. Earlier this was done by setting NO_VALUE
flag for every open stream request.
Now this flag is a global flag which is set while opening a
new DCP connection, as there was no use-case for selectively
streaming metadata from specific subset of vbuckets.

Change-Id: Ibb50e70aa2817d9c8a29876adf178b5b1afacce6
Reviewed-on: http://review.couchbase.org/72946
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

7026264020-Jan-2017 nimish <nimish@couchbase.com>

MB-22317 Stop the updater for spatial view

Stop the spatial updater after receiving the stop message

Change-Id: Idbc4a0b14eff39b9738e237c512706837c8cbb37
Reviewed-on: http://rev

MB-22317 Stop the updater for spatial view

Stop the spatial updater after receiving the stop message

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

show more ...

25a7c2e028-Nov-2016 harsha <harsha@couchbase.com>

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
s

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/70389
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Abhishek Singh <abhishek@couchbase.com>

show more ...

12345678910>>...158