History log of /3.0.3-GA/ep-engine/ (Results 351 - 375 of 4208)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a9167e2622-May-2014 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-11104 Synchronize reading the last seq num of each vbucket.

Reading the last seq num of each vbucket should be guarded
through a lock.

Change-Id: I63cf73b831a9479da39b27a0c03

MB-11104 Synchronize reading the last seq num of each vbucket.

Reading the last seq num of each vbucket should be guarded
through a lock.

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

show more ...

10862e4e22-May-2014 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-11104 Don't return -1 as high seq num for the empty checkpoint

Change-Id: If6abc17a42e0403b90cfb6774c87f7bc37ecc9f5
Reviewed-on: http://review.couchbase.org/37463
Reviewed-by: Mic

MB-11104 Don't return -1 as high seq num for the empty checkpoint

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

show more ...

4664d27419-May-2014 Mike Wiederhold <mike@couchbase.com>

MB-10941: When backfill is neccessary always do a full backfill

When sending backfill we need to send the entire thing as a single
snapshot in order to avoid potentially missing de-dupli

MB-10941: When backfill is neccessary always do a full backfill

When sending backfill we need to send the entire thing as a single
snapshot in order to avoid potentially missing de-duplicated items
when then checkpoint ends.

Change-Id: If898be3414bb51b4248dad03176255e5934ac6a2
Reviewed-on: http://review.couchbase.org/37295
Tested-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...

a511163423-May-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-11194 correct order of serializing checks in taskqueue

If the tryNewTask check was done first and the checkOutShard() check
done later, then a accounting mismatch happens in the numbe

MB-11194 correct order of serializing checks in taskqueue

If the tryNewTask check was done first and the checkOutShard() check
done later, then a accounting mismatch happens in the number of
curWorkers for a particular taskType since the tryNewTask has incremented
the number of curWorkers already. Writer tasks are affected by this and
this resulted in unnecessarily blocking flusher tasks causing slow disk
persistence.

Reverse the order of checks to correct the situation above.

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

show more ...

7722b54b23-May-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-11190: Prevent deletion of valid vb file on warmup

Due to parallel warmup we have threads updating dbFileRevMap simultaneously
Take a snapshot before updating to prevent race where a

MB-11190: Prevent deletion of valid vb file on warmup

Due to parallel warmup we have threads updating dbFileRevMap simultaneously
Take a snapshot before updating to prevent race where a valid file gets deleted

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

show more ...

392ba27e22-May-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-8721 reduce log level on underflow error to INFO

reduce the underflow log level to INFO level if this happens only
during soft shutdown and bucket deletion

Change-Id: If5006f

MB-8721 reduce log level on underflow error to INFO

reduce the underflow log level to INFO level if this happens only
during soft shutdown and bucket deletion

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

show more ...

1172eb5d21-May-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-10383 AuxIO, NonIO taskQ serialization must not affect CPU

If a thread cannot pick up an AuxIO task or a NonIO task, then stash
it away in a pendingQueue to avoid busy looping and hig

MB-10383 AuxIO, NonIO taskQ serialization must not affect CPU

If a thread cannot pick up an AuxIO task or a NonIO task, then stash
it away in a pendingQueue to avoid busy looping and high cpu usage,
performance problems.
added stats for the new pendingQueue
Change-Id: I00c40bab8bd8d4dd8e691d3e532aa1c427066f6a
Reviewed-on: http://review.couchbase.org/37367
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Reviewed-by: abhinav dangeti <abhinav@couchbase.com>
Tested-by: Sundararaman Sridharan <sundar@couchbase.com>

show more ...

86b88cd622-May-2014 Trond Norbye <trond.norbye@gmail.com>

Get allocation size should be const

Change-Id: I84d30b52584325acdc2d2ffd671f51a0f3c2b0fe
Reviewed-on: http://review.couchbase.org/37429
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.

Get allocation size should be const

Change-Id: I84d30b52584325acdc2d2ffd671f51a0f3c2b0fe
Reviewed-on: http://review.couchbase.org/37429
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

054f278022-May-2014 Mike Wiederhold <mike@couchbase.com>

Revert "Use spinlocks instead of conn mutex to guard UPR notifications"

This reverts commit 0d2696445ac6f584081938628f4bd936fe96a4d3.

Change-Id: I747d8dd59e9d1c365692961e8c9b1198149

Revert "Use spinlocks instead of conn mutex to guard UPR notifications"

This reverts commit 0d2696445ac6f584081938628f4bd936fe96a4d3.

Change-Id: I747d8dd59e9d1c365692961e8c9b1198149490d9
Reviewed-on: http://review.couchbase.org/37425
Reviewed-by: David Liao <david.liao@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...

a8baa3d221-May-2014 Trond Norbye <trond.norbye@gmail.com>

Fix calculation of ep_io_write_bytes

Previously it contained the full length of the "blob" which
would contain the flexible metadata part. This commit "corrects"
the calculation by s

Fix calculation of ep_io_write_bytes

Previously it contained the full length of the "blob" which
would contain the flexible metadata part. This commit "corrects"
the calculation by setting it to the number of bytes in the
document plus the number of bytes in the metadata section
stored for the document.

Change-Id: I9ccc92009723fe243a87cd6ec07f24129fdfdff6
Reviewed-on: http://review.couchbase.org/37400
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Reviewed-by: abhinav dangeti <abhinav@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

4f0e04bc22-May-2014 Chiyoung Seo <chiyoung.seo@gmail.com>

Avoid repetitive directory scan during warmup.

We should avoid repetitive directory scan for each vbucket
during warmup. Instead, we can simply remove stale vbucket
database files by

Avoid repetitive directory scan during warmup.

We should avoid repetitive directory scan for each vbucket
during warmup. Instead, we can simply remove stale vbucket
database files by scanning a directory only once.

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

show more ...

0facc1cd22-May-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-11177: do not call removeOldFilesByVBid in getMulti

other minor fixes including passing strings by reference

Change-Id: I11b64df13a39f840a7ace05bde562f37c668d795
Reviewed-on:

MB-11177: do not call removeOldFilesByVBid in getMulti

other minor fixes including passing strings by reference

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

show more ...

820c2f9021-May-2014 Mike Wiederhold <mike@couchbase.com>

MB-11172: Check vbucket existence before deregistering a cursor

Change-Id: Ifab4705bc1cfe83417e4702dc9bac18ce45de5a4
Reviewed-on: http://review.couchbase.org/37392
Reviewed-by: Chiyo

MB-11172: Check vbucket existence before deregistering a cursor

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

show more ...

0607a48320-May-2014 Mike Wiederhold <mike@couchbase.com>

Properly check the perisistence seqno

If we are in the backfill phase then we need to make sure that we
get the persistence seqno based on where we left off in the backfill
queue. If

Properly check the perisistence seqno

If we are in the backfill phase then we need to make sure that we
get the persistence seqno based on where we left off in the backfill
queue. If it is grabbed from the checkpoint queues then it will be
incorrect.

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

show more ...

4897279220-May-2014 Mike Wiederhold <mike@couchbase.com>

Fix build breakage due to missing function definition

Change-Id: If0448fd7a60bec99e591b7de85173f2a641540cf
Reviewed-on: http://review.couchbase.org/37359
Reviewed-by: abhinav dangeti

Fix build breakage due to missing function definition

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

show more ...

f0dc934820-May-2014 Mike Wiederhold <mike@couchbase.com>

Set the current byseqno in the checkpoint manager for backfilled items

If we don't do this then it can cause a sequence number to be re-used
once new items arrive after a backfill.

Set the current byseqno in the checkpoint manager for backfilled items

If we don't do this then it can cause a sequence number to be re-used
once new items arrive after a backfill.

Change-Id: I2bdcde7bf64c4280ea1457e7ab2c6572d07132c0
Reviewed-on: http://review.couchbase.org/37350
Reviewed-by: Sriram Ganesan <sriram@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Reviewed-by: abhinav dangeti <abhinav@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...

24641af720-May-2014 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-11104 Byseq num of checkpoint_end shouldn't be > current_val

The byseq num of checkpoint_end item shouldn't be greater than
the current value. Otherwise, the cursor sitting on checkpo

MB-11104 Byseq num of checkpoint_end shouldn't be > current_val

The byseq num of checkpoint_end item shouldn't be greater than
the current value. Otherwise, the cursor sitting on checkpoint_end
item in an old checkpoint might miss the first regular item in a
collapsed checkpoint. I confirmed that this won't cause any
issues in registering the cursors based on their seq numbers.

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

show more ...

0b6af8e320-May-2014 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-11104 Skip the rest of items if all cursors are repositioned

Change-Id: I6a53fb4524a1448c22c8c461e4d640155b8fc3dc
Reviewed-on: http://review.couchbase.org/37357
Reviewed-by: Micha

MB-11104 Skip the rest of items if all cursors are repositioned

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

show more ...

e229c8fd20-May-2014 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-11104 Set the open checkpoint id before merging checkpoints.

When we merge checkpoints in a replica vbucket, we should call
setOpenCheckpointId() first before merging checkpoints. Oth

MB-11104 Set the open checkpoint id before merging checkpoints.

When we merge checkpoints in a replica vbucket, we should call
setOpenCheckpointId() first before merging checkpoints. Otherwise,
the byseq num of a checkpoint_start item in a collapsed checkpoint
won't be set correctly.

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

show more ...

7f17f43b20-May-2014 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-11104 Skip a checkpoint merge operation based on cursor position

We need to check if there are any cursors in the last closed
checkpoint, which haven't yet visited any regular items b

MB-11104 Skip a checkpoint merge operation based on cursor position

We need to check if there are any cursors in the last closed
checkpoint, which haven't yet visited any regular items belonging
to the last closed checkpoint. If so, then we should skip
collapsing checkpoints until those cursors move to the first
regular item. Otherwise, those cursors will visit old items from
collapsed checkpoints again.

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

show more ...

2fe1325020-May-2014 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-11104 Don't allow checkpoint merge operation on active vbucket

The checkpoint merge operation on active vbucket might miss
snapshot_marker messages because we merge checkpoints by bys

MB-11104 Don't allow checkpoint merge operation on active vbucket

The checkpoint merge operation on active vbucket might miss
snapshot_marker messages because we merge checkpoints by byseq
values.

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

show more ...

f835f02220-May-2014 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-11104 Set a byseq num correctly in merging checkpoints.

When checkpoints are merged, the byseq values for checkpoint
meta items should be updated in addition to updating the index.

MB-11104 Set a byseq num correctly in merging checkpoints.

When checkpoints are merged, the byseq values for checkpoint
meta items should be updated in addition to updating the index.

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

show more ...

5174ad2419-May-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-10736 stats for pendingQueues of shards

+ ep_workload:shard#_locked : true if shard is locked
+ ep_workload:shard#_pendingTasks : number of blocked shard tasks

Change-Id: Iba

MB-10736 stats for pendingQueues of shards

+ ep_workload:shard#_locked : true if shard is locked
+ ep_workload:shard#_pendingTasks : number of blocked shard tasks

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

show more ...

0d26964419-May-2014 David Liao <liaodw@gmail.com>

Use spinlocks instead of conn mutex to guard UPR notifications

Similar to the way TAP does. This will decrease lock contention
since conn mutex is no longer needed here.
We now need

Use spinlocks instead of conn mutex to guard UPR notifications

Similar to the way TAP does. This will decrease lock contention
since conn mutex is no longer needed here.
We now need to manipulate vbconns structure for UPR too:
add and remove connection for a stream based on vbid.

Also Refactored ConnMap/TapConnMap/UprConnMap as needed.

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

show more ...

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

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