History log of /5.5.2/couchdb/src/couchdb/ (Results 1 - 25 of 1794)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
ba0c3c1218-May-2018 Aman Achpal <aman.achpal@couchbase.com>

MB-27124 Log Query Volume

Log the volume of incoming queries at regular
intervals instead of every incoming query.

Log message when there are no queries:
[couchdb:info,2018-

MB-27124 Log Query Volume

Log the volume of incoming queries at regular
intervals instead of every incoming query.

Log message when there are no queries:
[couchdb:info,2018-05-23T10:25:26.439+05:30,couchdb_n_1@127.0.0.1:couch_query_logger<0.157.0>:couch_log:info:41]Query-Volume
---

Log message with queries:
[couchdb:info,2018-05-23T10:26:26.443+05:30,couchdb_n_0@127.0.0.1:couch_query_logger<0.157.0>:couch_log:info:41]Query-Volume
<ud>"/beer-sample/_design/beer/_view/brewery_beers"</ud> | internal.stale={ok: 0, update_after: 0, false: 0} | external.stale={ok: 0, update_after: 1, false: 1}
<ud>"/beer-sample/_design/beer/_view/by_location"</ud> | internal.stale={ok: 0, update_after: 0, false: 0} | external.stale={ok: 0, update_after: 1, false: 1}
---

Note: internal queries are scatter-gather queries
and external queries come from external clients

Change-Id: I8a0ee9af8d09d3c95dacd322d7d57d90a93ebb0d
Reviewed-on: http://review.couchbase.org/94420
Reviewed-by: Harsha H S
Tested-by: Harsha H S

show more ...

fc5a97ef14-Feb-2018 Artem Stemkovski <astemkov@gmail.com>

MB-23546 allow to jsonify document's meta without decoding the body

Change-Id: If53aa4d13fe73104297fb1e2410e1e3cb112dd03
Reviewed-on: http://review.couchbase.org/89462
Reviewed-by: H

MB-23546 allow to jsonify document's meta without decoding the body

Change-Id: If53aa4d13fe73104297fb1e2410e1e3cb112dd03
Reviewed-on: http://review.couchbase.org/89462
Reviewed-by: Harsha H S
Tested-by: Artem Stemkovski <artem@couchbase.com>

show more ...

ac2ea7f917-Jan-2018 harsha <harsha.hs.81@gmail.com>

MB-26674 Move log_data function into couch_util module

couch_log module is replaced by ale logger at run time by ns_server
and functions defined in couch_log are not accessible when ns_s

MB-26674 Move log_data function into couch_util module

couch_log module is replaced by ale logger at run time by ns_server
and functions defined in couch_log are not accessible when ns_server
manages the cluster. They are used only during couchdb unit tests.

Change-Id: Ie6ac6f7b7a3abf2f44316d696179e8a45a3eb516
Reviewed-on: http://review.couchbase.org/87953
Reviewed-by: Jeelan Basha Poola <jeelan.poola@couchbase.com>
Tested-by: Jeelan Basha Poola <jeelan.poola@couchbase.com>

show more ...

73648b9013-Jan-2018 harsha <harsha.hs.81@gmail.com>

MB-26674 Log redaction support in views.

This patch identifies user data and redacts customer user data
that are logged in the views under <ud> </ud> tags.

Change-Id: Ic61c92179

MB-26674 Log redaction support in views.

This patch identifies user data and redacts customer user data
that are logged in the views under <ud> </ud> tags.

Change-Id: Ic61c9217908c455ef4e4dce987a2295add9c5515
Reviewed-on: http://review.couchbase.org/87818
Reviewed-by: Aman Kishore Achpal <aman.achpal@couchbase.com>
Reviewed-by: Jeelan Basha Poola <jeelan.poola@couchbase.com>
Tested-by: Jeelan Basha Poola <jeelan.poola@couchbase.com>

show more ...

f7298f3214-Nov-2017 harsha <harsha.hs.81@gmail.com>

MB-26479 Add ipv6 protocol support in views

Change-Id: Ife18b0318d9505772d71dfeb7de71d8f6a1cb043
Reviewed-on: http://review.couchbase.org/86613
Reviewed-by: Aman Kishore Achpal <aman

MB-26479 Add ipv6 protocol support in views

Change-Id: Ife18b0318d9505772d71dfeb7de71d8f6a1cb043
Reviewed-on: http://review.couchbase.org/86613
Reviewed-by: Aman Kishore Achpal <aman.achpal@couchbase.com>
Reviewed-by: Jeelan Basha Poola <jeelan.poola@couchbase.com>
Tested-by: Jeelan Basha Poola <jeelan.poola@couchbase.com>

show more ...

f59f9fe106-Dec-2017 Aman Achpal <aman.achpal@couchbase.com>

MB-27113 Cleanup retired files

Add couch_app.erl back and fix the way runtest.py
finds source root to setup LD_LIBRARY_PATH

Change-Id: I04649f9a16fc3a46a85c9a063b51512391669762

MB-27113 Cleanup retired files

Add couch_app.erl back and fix the way runtest.py
finds source root to setup LD_LIBRARY_PATH

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

show more ...

8b994cdb08-Nov-2017 harsha <harsha.hs.81@gmail.com>

MB-100 Retire unused couchdb functionality

Change-Id: Icacf54e764d5cd30b1a25967ebbf45bc00b559b8
Reviewed-on: http://review.couchbase.org/85235
Reviewed-by: Aman Kishore Achpal <aman.

MB-100 Retire unused couchdb functionality

Change-Id: Icacf54e764d5cd30b1a25967ebbf45bc00b559b8
Reviewed-on: http://review.couchbase.org/85235
Reviewed-by: Aman Kishore Achpal <aman.achpal@couchbase.com>
Tested-by: Aman Kishore Achpal <aman.achpal@couchbase.com>

show more ...

a69a4ffe16-Nov-2017 Artem Stemkovski <astemkov@gmail.com>

remove unused authentication handlers and auth cache

Change-Id: I590e9ac9082945215b3613e823029eab0b2e9461
Reviewed-on: http://review.couchbase.org/85620
Tested-by: Artem Stemkovski <

remove unused authentication handlers and auth cache

Change-Id: I590e9ac9082945215b3613e823029eab0b2e9461
Reviewed-on: http://review.couchbase.org/85620
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Harsha H S
Reviewed-by: Artem Stemkovski <artem@couchbase.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 ...

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

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

Enable asserts in release builds

Change-Id: I70a6a4afb1eaada643e9a70d33b43d5912f81d6b
Reviewed-on: http://review.couchbase.org/64101
Reviewed-by: Abhishek Singh <abhishek@couchbase.c

Enable asserts in release builds

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

show more ...

Revision tags: v4.5.0
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 ...

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

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

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

Fix compiler warning about unitialised variable

Change-Id: If0a148be2ebb8efdee4bac1dfe29c8d9bd54f753
Reviewed-on: http://review.couchbase.org/58524
Reviewed-by: Trond Norbye <trond.n

Fix compiler warning about unitialised variable

Change-Id: If0a148be2ebb8efdee4bac1dfe29c8d9bd54f753
Reviewed-on: http://review.couchbase.org/58524
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>

show more ...

a0f0440313-Nov-2015 Volker Mische <vmx@couchbase.com>

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

* couchbase/sherlock:
MB-16435: OS X: Add correct rpath for NIFs

Change-Id: Id6accdf6b55c008426b475ee0e6e

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

* couchbase/sherlock:
MB-16435: OS X: Add correct rpath for NIFs

Change-Id: Id6accdf6b55c008426b475ee0e6e5458077f2711

show more ...


90c5f62e06-Nov-2015 Volker Mische <vmx@couchbase.com>

MB-16738: Create directory where files are move to for deletion

When a file is deleted, it's first moved into a temporary directory and
then deleted from there. The file can't be deleted

MB-16738: Create directory where files are move to for deletion

When a file is deleted, it's first moved into a temporary directory and
then deleted from there. The file can't be deleted if the temporary directory
doesn't exist. We now try to create that directory in case it doesn't exist
yet.

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

show more ...

9e9e563709-Jul-2015 Volker Mische <vmx@couchbase.com>

Fix warnings on Erlang 18.0

Change-Id: I29f8a6b275b2ca53d82e21b85799d308ef76bbfa
Reviewed-on: http://review.couchbase.org/56440
Tested-by: buildbot <build@couchbase.com>
Reviewed

Fix warnings on Erlang 18.0

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

show more ...

e575934e05-Oct-2015 Dave Rigby <daver@couchbase.com>

MB-16435: OS X: Add correct rpath for NIFs

Add explicit runtime linker search paths to couch_ejson_compare,
mapreduce and snappy NIFs, so they can locate their runtime library
depend

MB-16435: OS X: Add correct rpath for NIFs

Add explicit runtime linker search paths to couch_ejson_compare,
mapreduce and snappy NIFs, so they can locate their runtime library
dependancies without an external DYLD_LIBRARY_PATH being set (which is
no longer possible from OS X 10.11 "El Capitan" onwards).

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

show more ...

057f493b26-Sep-2015 Volker Mische <vmx@couchbase.com>

MB-16385: Lower memory usage when filtering dynamically

The view-engine supports filtering out certain partitions (aka vBuckets)
on query time. This feature is used during reblance to ke

MB-16385: Lower memory usage when filtering dynamically

The view-engine supports filtering out certain partitions (aka vBuckets)
on query time. This feature is used during reblance to keep the view results
stable while the underlying data is updated/cleaned up.

On large datasets it might happen that this dynamic filtering needs to touch
a lot of nodes. This leads to huge memory usage as all key-value pairs that
should be part of the final result will be kept in memory until the final
reduction happens.

The fix for this problem is to reduce the key-value pairs at an intermediate
step and only pass on the reduced value.

On my local machine the memory usage for a dataset with 10M items and filtering
out 13 out of 1024 partitions peaks at 5GB increase prior to this commit and
10MB after.

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

show more ...

b16c5b0103-Sep-2015 harsha <hhs.couchbase@gmail.com>

MB-16213 Allow map to emit seq number details

Sync gateway needs seq number details as stored in memcached to
synchronize their vector clocks, to be emitted from map document
Followi

MB-16213 Allow map to emit seq number details

Sync gateway needs seq number details as stored in memcached to
synchronize their vector clocks, to be emitted from map document
Following fields are added to meta data associated with document
seq : Current seq number of the document.
vb : vbucket number to which this document hash into.

It can be emitted using map function like
function (doc, meta) {
emit(meta.id, {"vb" : meta.vb,
"doc_seqno" : meta.seq});
}

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

show more ...

ff40f04426-Sep-2015 Volker Mische <vmx@couchbase.com>

MB-16385: Lower memory usage when filtering dynamically

The view-engine supports filtering out certain partitions (aka vBuckets)
on query time. This feature is used during reblance to ke

MB-16385: Lower memory usage when filtering dynamically

The view-engine supports filtering out certain partitions (aka vBuckets)
on query time. This feature is used during reblance to keep the view results
stable while the underlying data is updated/cleaned up.

On large datasets it might happen that this dynamic filtering needs to touch
a lot of nodes. This leads to huge memory usage as all key-value pairs that
should be part of the final result will be kept in memory until the final
reduction happens.

The fix for this problem is to reduce the key-value pairs at an intermediate
step and only pass on the reduced value.

On my local machine the memory usage for a dataset with 10M items and filtering
out 13 out of 1024 partitions peaks at 5GB increase prior to this commit and
10MB after.

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

show more ...

90aae63303-Sep-2015 harsha <hhs.couchbase@gmail.com>

MB-16213 Allow map to emit seq number details

Sync gateway needs seq number details as stored in memcached to
synchronize their vector clocks, to be emitted from map document
Followi

MB-16213 Allow map to emit seq number details

Sync gateway needs seq number details as stored in memcached to
synchronize their vector clocks, to be emitted from map document
Following fields are added to meta data associated with document
seq: Seq number of last modified document in this vbucket.
vb : vbucket number to which this document hash into.

It can be emitted using map function like
function (doc, meta) {
emit(meta.id, {"vb" : meta.vb,
"vb_seqno" : meta.seq});
}

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

show more ...

e146e53915-Jun-2015 Volker Mische <vmx@couchbase.com>

MB-15315: Re-introducing validation for spatial views

During the rewrite of the spatial views for Couchbase 3.x the validation
of the spatial views [1] got lost. This commits adds it bac

MB-15315: Re-introducing validation for spatial views

During the rewrite of the spatial views for Couchbase 3.x the validation
of the spatial views [1] got lost. This commits adds it back.

[1]: https://github.com/couchbase/geocouch/commit/f89b626c46c677bae42b0070bb59339aa6e20ce5

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

show more ...

12345678910>>...72