History log of /3.0.3-GA/ep-engine/src/ep_engine.h (Results 1 - 25 of 528)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v4.6.5, v4.6.3, v4.6.4, v4.6.2, v4.6.1, v4.6.0, v4.6.0-DP, v4.5.1, v4.1.2, v3.1.6, v4.5.0, v4.1.1, v3.1.5, v3.1.4, v3.1.3, v4.1.0, v3.1.2, v3.1.1, v4.0.0, v3.1.0, v3.0.2
# 16cc72d4 23-Sep-2014 Mike Wiederhold <mike@couchbase.com>

MB-11642: Change the priority based on the type of dcp connection

Change-Id: I1b9a6846879385308bee3920bfa182fc41e39b4f
Reviewed-on: http://review.couchbase.org/41758
Reviewed-by: Sun

MB-11642: Change the priority based on the type of dcp connection

Change-Id: I1b9a6846879385308bee3920bfa182fc41e39b4f
Reviewed-on: http://review.couchbase.org/41758
Reviewed-by: Sundararaman Sridharan <sundar@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...


Revision tags: v3.0.0
# 90defd6d 26-Aug-2014 Mike Wiederhold <mike@couchbase.com>

Rename all classes/variables with upr to dcp

Change-Id: Iaf644f5034fdb30a14c400ec55def22d8bb0ba87
Reviewed-on: http://review.couchbase.org/40942
Reviewed-by: Chiyoung Seo <chiyoung@c

Rename all classes/variables with upr to dcp

Change-Id: Iaf644f5034fdb30a14c400ec55def22d8bb0ba87
Reviewed-on: http://review.couchbase.org/40942
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Reviewed-by: Sundararaman Sridharan <sundar@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...


# 44fca079 20-Aug-2014 Mike Wiederhold <mike@couchbase.com>

MB-11970: Resident ratio should be 100% when no items are a bucket

Change-Id: I0ef18509fecec56df9c922c44c81ffd5e02eae47
Reviewed-on: http://review.couchbase.org/40756
Reviewed-by: Su

MB-11970: Resident ratio should be 100% when no items are a bucket

Change-Id: I0ef18509fecec56df9c922c44c81ffd5e02eae47
Reviewed-on: http://review.couchbase.org/40756
Reviewed-by: Sundararaman Sridharan <sundar@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...


# 6dbd231f 12-Aug-2014 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-11912 Monitor workload pattern for dynamic compaction scheduling.

This change allows us to monitor workload pattern (i.e.,
read_heavy, write_heavy, mixed) at runtime and use the monit

MB-11912 Monitor workload pattern for dynamic compaction scheduling.

This change allows us to monitor workload pattern (i.e.,
read_heavy, write_heavy, mixed) at runtime and use the monitored
workload pattern to adjust the number of concurrent compaction
tasks dynamically at runtime. If the workload pattern is read-heavy,
then only one compaction task is executed at a time.

Note that we plan to keep improving this area for better I/O
scheduling.

Change-Id: Ibbb27da0a7e9f3951571ad8068570ebbf9abb318
Reviewed-on: http://review.couchbase.org/40520
Reviewed-by: Sundararaman Sridharan <sundar@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# b49c193e 30-Jul-2014 D Liao <liaodw@gmail.com>

MB-11689 Added a stat ep_meta_data_disk

This gives approx disk space used to store item meta data by couchstore.

Change-Id: I7f1642279c9aca84b02c885fd621cfdf50c20e98
Reviewed-on

MB-11689 Added a stat ep_meta_data_disk

This gives approx disk space used to store item meta data by couchstore.

Change-Id: I7f1642279c9aca84b02c885fd621cfdf50c20e98
Reviewed-on: http://review.couchbase.org/40038
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 12b288d4 28-Jul-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-11821 rename upr to dcp in stats and logs

Change-Id: Ib2cf48190b2bf274f953b8da1b1cd1373de190c2
Reviewed-on: http://review.couchbase.org/39898
Reviewed-by: Michael Wiederhold <mike

MB-11821 rename upr to dcp in stats and logs

Change-Id: Ib2cf48190b2bf274f953b8da1b1cd1373de190c2
Reviewed-on: http://review.couchbase.org/39898
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...


# 671a7b5a 30-Jul-2014 abhinavdangeti <abhinav@couchbase.com>

MB-11582: Wake up the itemPagertask(if snoozing) upon tmpOOMs

Change-Id: I48de57e2c2cc0446228b8ac9463f35d8e02fa0de
Reviewed-on: http://review.couchbase.org/40037
Reviewed-by: Sundara

MB-11582: Wake up the itemPagertask(if snoozing) upon tmpOOMs

Change-Id: I48de57e2c2cc0446228b8ac9463f35d8e02fa0de
Reviewed-on: http://review.couchbase.org/40037
Reviewed-by: Sundararaman Sridharan <sundar@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: abhinav dangeti <abhinav@couchbase.com>

show more ...


# fc21d573 25-Jul-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

Add stats for measuring ExecutorPool scheduling delay & runtimes

Usage: cbstats ip:port -b <bucketname> scheduler

It returns the timing histograms of the scheduling overhead incurre

Add stats for measuring ExecutorPool scheduling delay & runtimes

Usage: cbstats ip:port -b <bucketname> scheduler

It returns the timing histograms of the scheduling overhead incurred by
all tasks in ep-engine. Scheduling overhead is computed as the difference
between the scheduled runtime of a task and the actual runtime.
This will give us definitive answers to how much delay is introduced by
the scheduling overhead of the global thread pool and how it affects
each task in ep-engine.

Usage: cbstats ip:port -b <bucketname> runtimes

It returns the timing histograms of various task runtimes measured from
the ExecutorPool.

Change-Id: Icb34d4a87c8659fb22b7d2c1ba6bef0836045c3e
Reviewed-on: http://review.couchbase.org/39705
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 0e2e2ab9 24-Jun-2014 Sriram Ganesan <sriram@couchbase.com>

MB-11362: Add dcp and dcpagg stats

Add dcp and dcp agg stats that effectively point to upr and upragg
stats respectively. upr and upragg will be deprecated once all the
clients of th

MB-11362: Add dcp and dcpagg stats

Add dcp and dcp agg stats that effectively point to upr and upragg
stats respectively. upr and upragg will be deprecated once all the
clients of those stats move to dcp

Change-Id: Id77301e62c23215ff97f6ee06eba82f5f64b4652
Reviewed-on: http://review.couchbase.org/38854
Reviewed-by: David Liao <david.liao@couchbase.com>
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Sriram Ganesan <sriram@couchbase.com>

show more ...


# 729d202d 19-May-2014 abhinavdangeti <abhinav@couchbase.com>

MB-11036: Handling race cond. in session_cas impl

- Description in design document
(link available on ticket)

Change-Id: Ib46717022fc33cf3a1fb324873adc89259f24dc3
Reviewed-o

MB-11036: Handling race cond. in session_cas impl

- Description in design document
(link available on ticket)

Change-Id: Ib46717022fc33cf3a1fb324873adc89259f24dc3
Reviewed-on: http://review.couchbase.org/37017
Reviewed-by: Sundararaman Sridharan <sundar@couchbase.com>
Tested-by: Sundararaman Sridharan <sundar@couchbase.com>

show more ...


# 619e0ff3 09-May-2014 abhinavdangeti <abhinav@couchbase.com>

MB-11036: Validation of the session cas

Validate the session_cas for all the following
ns_server requests:
- CMD_DEL_VBUCKET
- CMD_SET_VBUCKET
- CMD_SET_PARAM
- CMD_DEREG

MB-11036: Validation of the session cas

Validate the session_cas for all the following
ns_server requests:
- CMD_DEL_VBUCKET
- CMD_SET_VBUCKET
- CMD_SET_PARAM
- CMD_DEREGISTER_TAP_CLIENT
- CMD_CHANGE_VB_FILTER
- CMD_SET_CLUSTER_CONFIG
- CMD_COMPACT_DB

Change-Id: I6863566e60e2d1b442018315cc282878dc1b904b
Reviewed-on: http://review.couchbase.org/36736
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: abhinav dangeti <abhinav@couchbase.com>

show more ...


# 029716c5 06-May-2014 abhinavdangeti <abhinav@couchbase.com>

Check if datatype is supported for Meta commands

For the following commands:
- SET_WITH_META
- ADD_WITH_META
- SET_RET_META
- ADD_RET_META
We need to inspect the document

Check if datatype is supported for Meta commands

For the following commands:
- SET_WITH_META
- ADD_WITH_META
- SET_RET_META
- ADD_RET_META
We need to inspect the document for JSONness
only if datatype isn't supported for the connection.

Change-Id:I51331552b21d97243ec5a94549efb917b65e179e
Reviewed-on: http://review.couchbase.org/36738
Reviewed-by: abhinav dangeti <abhinav@couchbase.com>
Tested-by: abhinav dangeti <abhinav@couchbase.com>

show more ...


# c649b2d9 17-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

MB-10476: Use cb_assert instead of assert

If compiled with -DNDEBUG assert is an empty macro

Change-Id: I266ddf8a8fe3f1a388a9d8ce3d21f28614c35315
Reviewed-on: http://review.couc

MB-10476: Use cb_assert instead of assert

If compiled with -DNDEBUG assert is an empty macro

Change-Id: I266ddf8a8fe3f1a388a9d8ce3d21f28614c35315
Reviewed-on: http://review.couchbase.org/34579
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 15aed944 11-Mar-2014 Mike Wiederhold <mike@couchbase.com>

Reduce the amount of headers that are imported in .h files

This change removes imports of certain header files from all
other header files and into .cc files. The problem with
import

Reduce the amount of headers that are imported in .h files

This change removes imports of certain header files from all
other header files and into .cc files. The problem with
importing a header in another header file is that any change
causes all headers used in that header file to be recompiled.
In some cases changing one header file causes us to have to
recompile everyhting. This change moves some of these headers
to only .cc files and should reduce compile time.

File no longer imported from other headers:

conflict_resolution.h
failover-table.h
flusher.h
mutation_log.h
tap-throttle.h
upr-consumer.h
upr-consumer.h

Change-Id: Idd44bcaac874e294c1085da46760badf37a1ea05
Reviewed-on: http://review.couchbase.org/34395
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 46201d31 01-Mar-2014 abhinavdangeti <abhinav@couchbase.com>

MB-10117: Implementation of CMD_GET_KEYS api

Request:
- opcode: CMD_GET_KEYS: 0xb8
- extlen: 4B
- ext: | COUNT(4B) |

*if extlen = 0, then count defaults on 1000

MB-10117: Implementation of CMD_GET_KEYS api

Request:
- opcode: CMD_GET_KEYS: 0xb8
- extlen: 4B
- ext: | COUNT(4B) |

*if extlen = 0, then count defaults on 1000

Response
- Body: |key1len(2B) |key1 |key2len(2B) |key2 |....
- Bodylen: Total length of the buffer, sent in the body

Change-Id: I885f93e90114b62f63fa43822caac56cce15ac2a
Reviewed-on: http://review.couchbase.org/33417
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


Revision tags: v2.5.1
# 1689cc92 09-Jan-2014 Mike Wiederhold <mike@couchbase.com>

Remove ConnHandlerDelete/Mutate and use the ConnHandler API's

This change moves the tap mutation and deletion API's to the
TapConsumer class. It also removes code that was used for 1.x

Remove ConnHandlerDelete/Mutate and use the ConnHandler API's

This change moves the tap mutation and deletion API's to the
TapConsumer class. It also removes code that was used for 1.x
compatibility. This means that we now expect that all tap
messages contain a meta data section.

Change-Id: Ic693b9038c5fb94c87f7451c878a0a3c2e63f48c
Reviewed-on: http://review.couchbase.org/31796
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 5f4fefc5 04-Feb-2014 Mike Wiederhold <mike@couchbase.com>

Add a stat to allow upr takeover estimates

Change-Id: I3de6c22c1b399daa69f22c0db626580a21f08810
Reviewed-on: http://review.couchbase.org/33166
Reviewed-by: Chiyoung Seo <chiyoung@cou

Add a stat to allow upr takeover estimates

Change-Id: I3de6c22c1b399daa69f22c0db626580a21f08810
Reviewed-on: http://review.couchbase.org/33166
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...


# ea99c351 30-Jan-2014 Mike Wiederhold <mike@couchbase.com>

Add a stats call to just get disk stats

This was requested by the ns_server team in order to reduce the
amount of stats they would have to get sicne before they were
just using 'stat

Add a stats call to just get disk stats

This was requested by the ns_server team in order to reduce the
amount of stats they would have to get sicne before they were
just using 'stats all'. This commit also adds the ability to get
detailed disk stats which shows file sizes per bucket.

Change-Id: I8dd7097a865a7e0142f6d262b85236ba676702cd
Reviewed-on: http://review.couchbase.org/33056
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
Tested-by: Artem Stemkovski <artem@couchbase.com>

show more ...


# 8d9f830a 30-Jan-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

CBD-485: Make CMD_COMPACT_DB call synchronous

NS-Server needs the CMD_COMPACT_DB command to block in ep-engine
until the compaction actually completes.
So this change blocks the conn

CBD-485: Make CMD_COMPACT_DB call synchronous

NS-Server needs the CMD_COMPACT_DB command to block in ep-engine
until the compaction actually completes.
So this change blocks the connection in EWOULDBLOCK state and
the connection, on compaction completion, gets notified to return SUCCESS
This is in anticipation of the removal of the MCCouch notification
Change-Id: I462d4a591bf1480ac2733468ec0981ed3a4c81a7
Reviewed-on: http://review.couchbase.org/33008
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 6e05f402 23-Jan-2014 Mike Wiederhold <mike@couchbase.com>

Refactor the failover log

This change should make things simpler and also adds some
documentation to the failover log header file.

Change-Id: I0b69465f56efb604f97cccf36922173024

Refactor the failover log

This change should make things simpler and also adds some
documentation to the failover log header file.

Change-Id: I0b69465f56efb604f97cccf3692217302420d380
Reviewed-on: http://review.couchbase.org/32822
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...


# 1ba4011d 18-Jan-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-9919: Provide DB data size and file size stats

This change provides DB data size and file size per vbucket
and their aggregated values through stats call.
stats "vbucket-details v

MB-9919: Provide DB data size and file size stats

This change provides DB data size and file size per vbucket
and their aggregated values through stats call.
stats "vbucket-details vbucket_id" returns the list of a given
vbucket's stats including its DB data size and file size.
For example, "vbucket-details 0" includes the following stats
for vbucket 0:
1) vb_0:db_data_size --> DB data size for vbucket 0
2) vb_0:db_file_size --> DB file size for vbucket 0

On the other hand, stats "all" includes the aggregated DB data
size and file size:
1) ep_db_data_size --> DB data size aggreaged across
all vbuckets.
2) ep_db_file_size --> DB file size aggregated across
all vbuckets.

A test case is added to ensure the value ticks up correctly.

Change-Id: Id8ae17ae7726f9a003a3245defc2ccf4ee89b77c
Reviewed-on: http://review.couchbase.org/32533
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# ca67f157 14-Jan-2014 abhinavdangeti <abhinav@couchbase.com>

MB-8552: Support for datatype field

- As part of extended flexible metadata
- Requires: http://review.couchbase.org/#/c/30974/

In memory::
_________________________________

MB-8552: Support for datatype field

- As part of extended flexible metadata
- Requires: http://review.couchbase.org/#/c/30974/

In memory::
__________________________________________________
| key | MetaData (cas,exp,flags) | VALUE BLOB |
|_____|_____________________________|______________|

VALUE BLOB:
__________________________________________________
| FLEX_META_CODE (1B) | DATATYPE (1B) | VALUE BLOB |
|_____________________|_______________|____________|

FLEX_META_CODE = 0x01, indicating one field in the extended
metadata section

In couchstore::

METADATA BUFFER:
_______________________________________________________________________
| cas (8B) | exp (4B) | flags (4B) | FLEX_META_CODE (1B) | datatype(1B) |
|__________|__________|____________|_____________________|______________|

Change-Id: Ifb3bc59892130f2fddf02f2188773ba3a67f2ce1
Reviewed-on: http://review.couchbase.org/31046
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...


# 6c5e6c00 07-Jan-2014 Mike Wiederhold <mike@couchbase.com>

Move upr api's in upr source/header files

Change-Id: Ifd5ed8f8763db6b5e55d66516b59cd7fe1b660cd
Reviewed-on: http://review.couchbase.org/31653
Reviewed-by: Michael Wiederhold <mike@co

Move upr api's in upr source/header files

Change-Id: Ifd5ed8f8763db6b5e55d66516b59cd7fe1b660cd
Reviewed-on: http://review.couchbase.org/31653
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...


# 1ee28091 01-Jan-2014 Trond Norbye <trond.norbye@gmail.com>

Refactor: Remove include of tapconnmap.h from ep_engine.h

This is the only client using the AtomicQueue implementation
reducing the visibility of all of the symbols.

Change-Id:

Refactor: Remove include of tapconnmap.h from ep_engine.h

This is the only client using the AtomicQueue implementation
reducing the visibility of all of the symbols.

Change-Id: Ia2eafc6a47640c704570f33fe6ca4f30252e0b9a
Reviewed-on: http://review.couchbase.org/31527
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 9d8a9725 23-Dec-2013 Trond Norbye <trond.norbye@gmail.com>

Move towards using C++11 atomics

Start by renamimg all use of Atomics that doesn't "break" by
switching to std::atomic to AtomicValue (when the transition
is done we'll rename everyt

Move towards using C++11 atomics

Start by renamimg all use of Atomics that doesn't "break" by
switching to std::atomic to AtomicValue (when the transition
is done we'll rename everything back).

Change-Id: I3f694856dab498c565806c9ac1ee5baf3bc07b17
Reviewed-on: http://review.couchbase.org/31333
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


12345678910>>...22