History log of /3.0.3-GA/ep-engine/tests/module_tests/ (Results 1 - 25 of 67)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
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
a3f6175319-Feb-2015 Manu Dhundi <manu@couchbase.com>

MB-13479: Indicate rollback to DCP clients if purge_seqno > snap_start_seqno

The replica may not get all the items if there are purged items in the active
node. Hence this solution propo

MB-13479: Indicate rollback to DCP clients if purge_seqno > snap_start_seqno

The replica may not get all the items if there are purged items in the active
node. Hence this solution proposes to indicate a rollback to seqno 0 in case
the purge_seqno > snap_start_seqno.
Note: Since the occurrence of this scenario is pretty rare, rolling back to 0
may not be a bad thing.

Change-Id: I5c8403115110be136df5d4cb4e2704edc2a4c9e4
Reviewed-on: http://review.couchbase.org/47094
Tested-by: Manu Dhundi <manu@couchbase.com>
Reviewed-by: Michael Wiederhold <mike@couchbase.com>

show more ...

Revision tags: v3.0.2, v3.0.0
007528bb07-Aug-2014 Mike Wiederhold <mike@couchbase.com>

MB-11887: Properly send the snapshot start and end seqnos

Currently we always set the snapshot start and end seqno to be the
same as the start seqno. This is incorrect if we recently wer

MB-11887: Properly send the snapshot start and end seqnos

Currently we always set the snapshot start and end seqno to be the
same as the start seqno. This is incorrect if we recently were
disconnected and need to resume from a partial snapshot.

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

show more ...

7da82c0b04-Aug-2014 abhinavdangeti <abhinav@couchbase.com>

_unlink as opposed to unlink for windows

Change-Id: I40a74c0942594cf48dfbbd3406dc935a4dbfbd35
Reviewed-on: http://review.couchbase.org/40280
Reviewed-by: Michael Wiederhold <mike@cou

_unlink as opposed to unlink for windows

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

show more ...

420a088e16-Jun-2014 Mike Wiederhold <mike@couchbase.com>

MB-11376: Don't rollback if snap_start == start == upper

We shouldn't tell a client to rollback to the same seqno that it
request.

Change-Id: If6c9bd438e2a70f637ff8bcb28bc46258d

MB-11376: Don't rollback if snap_start == start == upper

We shouldn't tell a client to rollback to the same seqno that it
request.

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

show more ...

68c617d004-Jun-2014 Venu Uppalapati <venumahesh@gmail.com>

MB-11051: Add module tests for failover table

Change-Id: I21e9dc006ff0156b2c92c309ac61d0a7f3035f6b
Reviewed-on: http://review.couchbase.org/37873
Reviewed-by: Michael Wiederhold <mik

MB-11051: Add module tests for failover table

Change-Id: I21e9dc006ff0156b2c92c309ac61d0a7f3035f6b
Reviewed-on: http://review.couchbase.org/37873
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@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 ...

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

Add a module test for the failover table

This change intends to introduce a place for module testing the
failover log. It is not intended to be a complete set of tests.

Change-I

Add a module test for the failover table

This change intends to introduce a place for module testing the
failover log. It is not intended to be a complete set of tests.

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

show more ...

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

MB-10640 Improve UPR rollback during failover.

Stream request now has snap_start_seqno and snap_end_seqno.
(high_seqno is removed) which can be used to deal with
partial snapshot. fa

MB-10640 Improve UPR rollback during failover.

Stream request now has snap_start_seqno and snap_end_seqno.
(high_seqno is removed) which can be used to deal with
partial snapshot. failover check is based on start_seqno,
snap_start_seqno and snap_end_seqno.

Snapshot Marker now has start_seqno, end_seqno and flag.
start_seqno/end_seqno indicates sequence number ranges
of the stream.

The flag indicates if a stream is from disk or memory.
The current value are:
0: memory
1: disk

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

show more ...

296cee9e10-Apr-2014 Trond Norbye <trond.norbye@gmail.com>

MB-10817: Don't bundle a copy of JSON_checker

Change-Id: I68db4fdd8dd604ee99ba119e0304ed1c824f0613
Reviewed-on: http://review.couchbase.org/35545
Reviewed-by: Trond Norbye <trond.nor

MB-10817: Don't bundle a copy of JSON_checker

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

show more ...

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

Revision tags: v2.5.1
83794b7626-Jan-2014 Mike Wiederhold <mike@couchbase.com>

Make sure upr mutation/deletion messages by_seqno's increase

Change-Id: I6837d68fdfc798c5e4203080f271c62137acaaf4
Reviewed-on: http://review.couchbase.org/32897
Reviewed-by: Chiyoung

Make sure upr mutation/deletion messages by_seqno's increase

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

show more ...

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

6fd031e317-Jan-2014 Mike Wiederhold <mike@couchbase.com>

Fix failing checkpoint test

The reason for this issue is that in the new checkpointing code we
don't give the checkpoint start and end messages sequence numbers.
As a result when we

Fix failing checkpoint test

The reason for this issue is that in the new checkpointing code we
don't give the checkpoint start and end messages sequence numbers.
As a result when we merge checkpoints together if a cursor is
pointing to a checkpoint start or end message we will think the
sequence number is 0 and assign the cursor to the beginning of the
checkpoint queues. This fix makes so that the checkpoint end
message has the same number as the last item +1 in the checkpoint
and also so that the checkpoint start message has the same number as
the last item in the previous checkpoint. The only time a conflict
will occur is when we merge two checkpoints together, but in this
case these items are removed so this is ok.

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

show more ...

dbc2e2f815-Jan-2014 Mike Wiederhold <mike@couchbase.com>

MB-9921: Convert StoredValue to queued_item when queueing for replication

Change-Id: Ibaf9f07e1e4585736a615215090fba69fdb70085
Reviewed-on: http://review.couchbase.org/32496
Reviewed

MB-9921: Convert StoredValue to queued_item when queueing for replication

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

show more ...

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

745ab6d008-Jan-2014 Chiyoung Seo <chiyoung.seo@gmail.com>

Fix the unit test failure on atomic

Change-Id: I24fbce094903eb17ec50280c0118cfcbe5abb878
Reviewed-on: http://review.couchbase.org/31712
Reviewed-by: Trond Norbye <trond.norbye@gmail.

Fix the unit test failure on atomic

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

show more ...

4b56c57b07-Jan-2014 Trond Norbye <trond.norbye@gmail.com>

Test atomic.compare_exchange_strong

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

Test atomic.compare_exchange_strong

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

show more ...

2a477b7f06-Jan-2014 Trond Norbye <trond.norbye@gmail.com>

Reduce the number of sets for checkpoint test

The test takes like 22 minutes to run on windows with the
default number of inserts. By reducing the number to 10k
it takes 42secs. This

Reduce the number of sets for checkpoint test

The test takes like 22 minutes to run on windows with the
default number of inserts. By reducing the number to 10k
it takes 42secs. This patch reduce the number to 10k,
but we should back out this patch once we've figured out
why it runs so much slower on windows

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

show more ...

d0d91da703-Jan-2014 Trond Norbye <trond.norbye@gmail.com>

Fix compilation on WIN32

Change-Id: I3e320969e882530c7a9aa42b5ba7287f75cbc622
Reviewed-on: http://review.couchbase.org/31571
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Te

Fix compilation on WIN32

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

show more ...

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

4c5302de28-Dec-2013 Trond Norbye <trond.norbye@gmail.com>

Use platform lib for threads in testsuite

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

Use platform lib for threads in testsuite

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

show more ...

a00c1a7523-Dec-2013 David Liao <liaodw@gmail.com>

MB-9741 Replace usage of QueuedItem with Item class.

This is the first phase of reducing memory used by keys/metadata of items.
This checkin now replace QueuedItem with Item used by Chec

MB-9741 Replace usage of QueuedItem with Item class.

This is the first phase of reducing memory used by keys/metadata of items.
This checkin now replace QueuedItem with Item used by Checkpoing Manager
and prepares for using Item class in StoredValue. QueuedItem is removed
from the code base.

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

show more ...

8d75268f28-Dec-2013 Trond Norbye <trond.norbye@gmail.com>

Use our own thread wrapper for tests

Change-Id: Id32ebcaa3ae2967cbc4c8fbdcb6ccff641ff2353
Reviewed-on: http://review.couchbase.org/31411
Reviewed-by: Michael Wiederhold <mike@couchba

Use our own thread wrapper for tests

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

show more ...

26b46b1023-Dec-2013 Trond Norbye <trond.norbye@gmail.com>

Removed unused functionality in RCPtr

Change-Id: I262f6e4ffeabb968c989dead51d7db9319167898
Reviewed-on: http://review.couchbase.org/31336
Reviewed-by: Trond Norbye <trond.norbye@gmai

Removed unused functionality in RCPtr

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

show more ...

7da0f19428-Dec-2013 Trond Norbye <trond.norbye@gmail.com>

MSVC don't support alarm()

It is just used as a safety net anyway

Change-Id: Ic2861abefe4363a25bdb75a35c826343922df2ba
Reviewed-on: http://review.couchbase.org/31412
Reviewe

MSVC don't support alarm()

It is just used as a safety net anyway

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

show more ...

123