History log of /3.0.3-GA/ep-engine/ (Results 476 - 500 of 4208)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
954a31d901-Apr-2014 Mike Wiederhold <mike@couchbase.com>

Hold streamMutex whenever we are checking the itemsReady value

Change-Id: I609c6ad6803910979fc7f9aacc82a4e7640e411b
Reviewed-on: http://review.couchbase.org/35119
Reviewed-by: Chiyou

Hold streamMutex whenever we are checking the itemsReady value

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

show more ...

042873d501-Apr-2014 abhinavdangeti <abhinav@couchbase.com>

MB-10681: Enable generation of mutation logs

Change-Id: I2ef6ebdd401d6e648815ab09ad28329bf0c4f16f
Reviewed-on: http://review.couchbase.org/35117
Tested-by: abhinav dangeti <abhinav@c

MB-10681: Enable generation of mutation logs

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

show more ...

1309c5ad27-Mar-2014 Sriram Ganesan <sriram@couchbase.com>

MB-10521: dynamic_cast to static_cast conversion

Don't use dynamic_cast for classes extending the Stream class

Change-Id: I6f207fef7d7258c81c203543f5a8fd9310ec711e
Reviewed-on:

MB-10521: dynamic_cast to static_cast conversion

Don't use dynamic_cast for classes extending the Stream class

Change-Id: I6f207fef7d7258c81c203543f5a8fd9310ec711e
Reviewed-on: http://review.couchbase.org/35026
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Michael Wiederhold <mike@couchbase.com>

show more ...

28bf496927-Mar-2014 abhinavdangeti <abhinav@couchbase.com>

MB-10509: Fix test case test_failover_log_behavior

Change-Id: I6c291210cbd3f8bf5689e02f8ee0c11836372545
Reviewed-on: http://review.couchbase.org/35021
Reviewed-by: abhinav dangeti <a

MB-10509: Fix test case test_failover_log_behavior

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

show more ...

5e1d9fb427-Mar-2014 abhinavdangeti <abhinav@couchbase.com>

Extend test-datatype to test set_with_meta

Change-Id: I42efab4d11d5db97abda33f9ec106ee469604608
Reviewed-on: http://review.couchbase.org/35020
Reviewed-by: Michael Wiederhold <mike@c

Extend test-datatype to test set_with_meta

Change-Id: I42efab4d11d5db97abda33f9ec106ee469604608
Reviewed-on: http://review.couchbase.org/35020
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: abhinav dangeti <abhinav@couchbase.com>

show more ...

eff9dd0127-Mar-2014 abhinavdangeti <abhinav@couchbase.com>

MB-10509: Handling vbucket uuids

- JSON does not accomodate for 64 bit values,
a max of 53 bits.
- As in the failover table, the generated uuid
is 64 bits, and this is later conv

MB-10509: Handling vbucket uuids

- JSON does not accomodate for 64 bit values,
a max of 53 bits.
- As in the failover table, the generated uuid
is 64 bits, and this is later converted to JSON
before saving to couchstore, the last few bits
tend to get garbled.
- Bring the 64 bit value of the uuid down to
48 bits should address this issue.

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

show more ...

6f6f6e3227-Mar-2014 abhinavdangeti <abhinav@couchbase.com>

MB-10351: closeStream on Producer side

- closeStream to return ENGINE_ENOENT, if stream
already closed, or already marked as DEAD.

Change-Id: I03a38c3b4b502dcd68885e9f316bf7a8f3

MB-10351: closeStream on Producer side

- closeStream to return ENGINE_ENOENT, if stream
already closed, or already marked as DEAD.

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

show more ...

35eeccec26-Mar-2014 Mike Wiederhold <mike@couchbase.com>

MB-10644: Always try to notify an upr connection has items ready

In the current code we check to see if the ready queue is empty
before sending a notification. This can race with the act

MB-10644: Always try to notify an upr connection has items ready

In the current code we check to see if the ready queue is empty
before sending a notification. This can race with the actual
variable that we use to decide whether a notification needs to
be sent. Instead we should always call the notification code in
the UprConnMap because this code checks this variable and decides
whether or not to send a notification. This new check won't grab
any extra locks either.

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

show more ...

34757f8926-Mar-2014 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-10641 Open a new checkpoint on replica vbucket if required.

There is a case where a given replica is promoted to the new
master when it already receives CHECKPOINT_END message, but no

MB-10641 Open a new checkpoint on replica vbucket if required.

There is a case where a given replica is promoted to the new
master when it already receives CHECKPOINT_END message, but not
CHECKPOINT_START message yet from the old master that was just
crashed. In this case, we should open a new checkpoint in the
new master.

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

show more ...

84ebe8a426-Mar-2014 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-10641 Starts from the first item on a collapsed checkpoint

If a given TAP replication cursor was sitting on an old closed
checkpoint and moved over to the collapsed checkpoint, then

MB-10641 Starts from the first item on a collapsed checkpoint

If a given TAP replication cursor was sitting on an old closed
checkpoint and moved over to the collapsed checkpoint, then
the cursor should start from the first item on the collapsed
checkpoint, so that CHECKPOINT_START message with a new
checkpoint id should be sent to the destination node.

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

show more ...

9903aa9126-Mar-2014 abhinavdangeti <abhinav@couchbase.com>

Improve logging with warmup's parallelization

Change-Id: Ia450f2d9f134560968cb0e624a35b33376939c81
Reviewed-on: http://review.couchbase.org/34950
Reviewed-by: Sundararaman Sridharan

Improve logging with warmup's parallelization

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

show more ...

65f39f1520-Mar-2014 Mike Wiederhold <mike@couchbase.com>

MB-10514: Send stream end immediately if start/end seqno's are the same

Change-Id: Icd098f536586a7153de0722d854283892e42c038
Reviewed-on: http://review.couchbase.org/34912
Reviewed-b

MB-10514: Send stream end immediately if start/end seqno's are the same

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

show more ...

fed4946226-Mar-2014 Mike Wiederhold <mike@couchbase.com>

Revert "MB-10471: The chk low seqno should be set to the chk start item"

This reverts commit 488d87a925c86c283b07eacf38c95f4b071ef72b.

Change-Id: I320d0ddc3e259a9f5f3feec721152c0bdb

Revert "MB-10471: The chk low seqno should be set to the chk start item"

This reverts commit 488d87a925c86c283b07eacf38c95f4b071ef72b.

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

show more ...

488d87a925-Mar-2014 Mike Wiederhold <mike@couchbase.com>

MB-10471: The chk low seqno should be set to the chk start item

We use the sequence number of the last item in the previous
checkpoint as the sequence number of the checkpoint start

MB-10471: The chk low seqno should be set to the chk start item

We use the sequence number of the last item in the previous
checkpoint as the sequence number of the checkpoint start
item. As a result we should consider this number as the low
sequence number for the checkpoint we are in. This fixes errors
caused by returning -1 (the max seqno) as the sequence number
when the checkpoint didn't contain any items.

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

show more ...

4993d02120-Mar-2014 Mike Wiederhold <mike@couchbase.com>

Add upr log header in all upr stream log messages

Change-Id: Icfec95e9e449b4ccb84563373aea04e3d139a528
Reviewed-on: http://review.couchbase.org/34911
Reviewed-by: Chiyoung Seo <chiyo

Add upr log header in all upr stream log messages

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

show more ...

f77ff0cc25-Mar-2014 Mike Wiederhold <mike@couchbase.com>

Add extra upr stats for last seqno sent and items ready

This change adds two stats that displays the last sequence number
sent as well as whether a stream has items ready to be sent.

Add extra upr stats for last seqno sent and items ready

This change adds two stats that displays the last sequence number
sent as well as whether a stream has items ready to be sent.

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

show more ...

f62649c725-Mar-2014 abhinav dangeti <abhinav@couchbase.com>

Revert "MB-10164: Set numShards based on disk type"

This reverts commit ba2c74f3bfab0fabb951639cf5df8263129db16d.

Change-Id: I2a09bca778d853b74f37f1e488dbf1cc14d68531
Reviewed-o

Revert "MB-10164: Set numShards based on disk type"

This reverts commit ba2c74f3bfab0fabb951639cf5df8263129db16d.

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

show more ...

5179f3aa25-Mar-2014 abhinav dangeti <abhinav@couchbase.com>

Revert "MB-10164: log reasons for the shard count choice"

This reverts commit 1028c55fddec0c354e47f45972453cc23ddf1696.

Change-Id: Ieac87e3dd3035f9a2b14ec4084742901359ca9e5
Revi

Revert "MB-10164: log reasons for the shard count choice"

This reverts commit 1028c55fddec0c354e47f45972453cc23ddf1696.

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

show more ...

b770547a25-Mar-2014 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-10406 Unlock a locked item on replica vbucket for replication

GetAndLock causes the replication or rebalance operation to fail
in the following scenario:

1) Rebalance starts

MB-10406 Unlock a locked item on replica vbucket for replication

GetAndLock causes the replication or rebalance operation to fail
in the following scenario:

1) Rebalance starts and is in progress
2) Active vbucket 0 is moving from Node 1 to Node 2
3) Item A on active vbucket 0 on Node 1 is locked through
getLocked() API while vbucket 0 is still being transferring.
4) Active vbucket 0 is transferred to Node 2. Node 1 changes
vbucket 0 state to replica.
5) Item A on active vbucket 0 on Node 2 is updated through
Set() API.
6) Node 2 tries to replicate the updated Item A to the node 1,
but receives an error code (ENGINE_KEY_EEXISTS) from Node 1
because Item A is still locked due to the step 3).
7) Node 2 closes the TAP connection to Node 1 because of the
above error code, which is a bug in the engine side.

To resolve the above issue, we should unlock a locked item on
replica vbucket.

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

show more ...

c7b522fe17-Mar-2014 Mike Wiederhold <mike@couchbase.com>

MB-10488: Add a notifier upr connection type

The upr notifier connection is used to get updates through an upr
stream about when new items are available to stream.

Change-Id: I8

MB-10488: Add a notifier upr connection type

The upr notifier connection is used to get updates through an upr
stream about when new items are available to stream.

Change-Id: I8f568f7696b09f64703b9bab50a9c5420c9d0c80
Reviewed-on: http://review.couchbase.org/34868
Reviewed-by: David Liao <david.liao@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

6fe33cdc25-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Fix build break with C++11

The std::atomics in C++11 don't have a copy constructor so
you need an explicit copy constructor

Change-Id: I833058285c72e4071efa32ddaf12a8f54f7e964f

Fix build break with C++11

The std::atomics in C++11 don't have a copy constructor so
you need an explicit copy constructor

Change-Id: I833058285c72e4071efa32ddaf12a8f54f7e964f
Reviewed-on: http://review.couchbase.org/34876
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

1028c55f25-Mar-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-10164: log reasons for the shard count choice

Change-Id: Iea57eea88167e1f00949a35051d632c09ec8db5e
Reviewed-on: http://review.couchbase.org/34869
Reviewed-by: Chiyoung Seo <chiyou

MB-10164: log reasons for the shard count choice

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

show more ...

c6e393e325-Mar-2014 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-10489 Don't use std::map::insert() in updating the cursor pos

Using std::map::insert() to update the cursor position will fail
if the cursor alreay exists in the checkpoint manager. I

MB-10489 Don't use std::map::insert() in updating the cursor pos

Using std::map::insert() to update the cursor position will fail
if the cursor alreay exists in the checkpoint manager. Instead,
we should overwrite it with the new cursor object. This is a
regression from the changes that we made in the master branch.

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

show more ...

a8f2d74824-Mar-2014 Mike Wiederhold <mike@couchbase.com>

Use array delete for ids in CouchKVStore saveDocs function

Change-Id: Id5caf22db29e334ff15d05260a95cbf1008aeef7
Reviewed-on: http://review.couchbase.org/34865
Reviewed-by: David Liao

Use array delete for ids in CouchKVStore saveDocs function

Change-Id: Id5caf22db29e334ff15d05260a95cbf1008aeef7
Reviewed-on: http://review.couchbase.org/34865
Reviewed-by: David Liao <david.liao@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...

ba2c74f324-Mar-2014 abhinavdangeti <abhinav@couchbase.com>

MB-10164: Set numShards based on disk type

In configuration.json, numShards is initialized to zero.
If this value is greater than zero, this will be used
as numShards, otherwise usin

MB-10164: Set numShards based on disk type

In configuration.json, numShards is initialized to zero.
If this value is greater than zero, this will be used
as numShards, otherwise using sigar we determine the
disk access, based on which numShards gets set to either
4 or 2. If sigar also fails, set numShards to 4 by
default.

SSDs: numShards=4, HDDs: numShards=2

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

show more ...

1...<<11121314151617181920>>...169