History log of /6.6.0/kv_engine/engines/ep/tests/mock/gmock_dcp_msg_producers.h (Results 1 - 10 of 10)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v7.0.2, v6.6.3, v7.0.1, v7.0.0, v6.6.2, v6.5.2, v6.6.1, v6.0.5, v6.6.0, v6.5.1, v6.0.4, v6.5.0
# cdfa195f 25-Nov-2019 Jim Walker <jim@couchbase.com>

MB-36948: Update dcp.h marker() to take maxVisibleSeqno

dcp.h has the API signature for transmitting a DCP snapshot, update this
to include the optional maxVisibleSeqno.

Change-

MB-36948: Update dcp.h marker() to take maxVisibleSeqno

dcp.h has the API signature for transmitting a DCP snapshot, update this
to include the optional maxVisibleSeqno.

Change-Id: I8ecfb324d4bad30354e715cf5d1673a109a2cc4a
Reviewed-on: http://review.couchbase.org/118459
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Paolo Cocchi <paolo.cocchi@couchbase.com>
Tested-by: Jim Walker <jim@couchbase.com>

show more ...


# 8e1a905c 25-Sep-2019 Trond Norbye <trond.norbye@gmail.com>

Remove meta section from DcpDeletion API

It is always being sent as { nullptr, 0 }.

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

Remove meta section from DcpDeletion API

It is always being sent as { nullptr, 0 }.

Change-Id: Idd267d531343334dc2778d8493b68a31a9c01108
Reviewed-on: http://review.couchbase.org/115327
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...


# cef15947 25-Sep-2019 Trond Norbye <trond.norbye@gmail.com>

Remove meta section from DcpMutation API

It is always being sent as { nullptr, 0 } so we don't
need it in the API

Change-Id: I1f5162cfb978aa2ced8dd4e11cfb5f0c0ccc03ec
Review

Remove meta section from DcpMutation API

It is always being sent as { nullptr, 0 } so we don't
need it in the API

Change-Id: I1f5162cfb978aa2ced8dd4e11cfb5f0c0ccc03ec
Reviewed-on: http://review.couchbase.org/115324
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>

show more ...


Revision tags: v6.0.3
# a6c7e7be 09-Aug-2019 Ben Huddleston <ben.huddleston@couchbase.com>

MB-34017: Add HCS to SnapshotMarker

To correct the replica on disk HCS we need to tell it what pass it
the HCS value from the active when we send a disk snapshot. Add a
HCS field to

MB-34017: Add HCS to SnapshotMarker

To correct the replica on disk HCS we need to tell it what pass it
the HCS value from the active when we send a disk snapshot. Add a
HCS field to SnapshotMarker. In this patch, we should never send the
SnapshotMarkerV2 or expect to receive it.

Change-Id: I9963e49301574ee9b5ae22b043932c09e6e0ab5b
Reviewed-on: http://review.couchbase.org/113134
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>

show more ...


# 8564ed04 10-Jul-2019 Trond Norbye <trond.norbye@gmail.com>

MB-34313: Remove timeout value for DCP PREPARE

The durability_timeout field in the DCP_PREPARE message is
unused - once a Prepare has been sent over DCP, the timeout
can no longer be

MB-34313: Remove timeout value for DCP PREPARE

The durability_timeout field in the DCP_PREPARE message is
unused - once a Prepare has been sent over DCP, the timeout
can no longer be applied if the replica was to be promoted,
as it may have already been committed by the old active.

Change-Id: I7f744c2fe9682b096ab58e25e34a55d1f8d32faa
Reviewed-on: http://review.couchbase.org/111998
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@couchbase.com>

show more ...


# bca95411 05-Jun-2019 Ben Huddleston <ben.huddleston@couchbase.com>

MB-34687: Add prepareSeqno to DCPCommit

We need the prepared seqno in the case where are replica receives two
commits in a row. In this case it may not have a prepare in the HashTable

MB-34687: Add prepareSeqno to DCPCommit

We need the prepared seqno in the case where are replica receives two
commits in a row. In this case it may not have a prepare in the HashTable
from which to get the prepareSeqno. If it does, the seqno will be wrong.

There exists two issues currently where we still allow 0 prepareSeqnos
which causes the sending of a Mutation instead of a Commit. These are
due to disk backfill doing a CacheLookup and creating an Item from a
StoredValue (which does not have a prepareSeqno so defaults to 0) and
Ephemeral not setting the prepareSeqno on the OrderedStoredValue. These
will be fixed in the following commit as they would cause a unit test
failure that requires a fix that should be highlighted in a separe
commit for MB-34542.

Change-Id: Ifdcdb1b68d12270587267912e307693c43edd705
Reviewed-on: http://review.couchbase.org/111005
Tested-by: Ben Huddleston <ben.huddleston@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>

show more ...


# c69ac911 05-Jun-2019 Ben Huddleston <ben.huddleston@couchbase.com>

MB-34473: Add prepareSeqno to DCPAbort

We need the prepared seqno in the case where are replica receives two
aborts in a row. In this case it may not have a prepare in the HashTable

MB-34473: Add prepareSeqno to DCPAbort

We need the prepared seqno in the case where are replica receives two
aborts in a row. In this case it may not have a prepare in the HashTable
from which to get the prepareSeqno. We will use the prepareSeqno to
validate if the second DCPAbort can be safely ignored. This is only the
case when resuming a stream and the
highSeqno < prepareSeqno < streamStartSeqno. If the seqno does not fall
in these bounds, we want to throw an exception as the producer may have
done something wrong and we may be breaking durability constraints.

Change-Id: I40f27e7601baac00c06de9ad8176e796a5995636
Reviewed-on: http://review.couchbase.org/110249
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Jim Walker <jim@couchbase.com>
Reviewed-by: Richard de Mellow <richard.demellow@couchbase.com>

show more ...


# 8af9793f 10-May-2019 Dave Rigby <daver@couchbase.com>

MB-34121 [SR]: Remove unused DCP_ABORT.prepare_seqno

Changes in the DCP protocol encoding mean that we are now using the
key of a prepared SyncWrite to identify it when performing a

MB-34121 [SR]: Remove unused DCP_ABORT.prepare_seqno

Changes in the DCP protocol encoding mean that we are now using the
key of a prepared SyncWrite to identify it when performing a
DCP_ABORT.

As such, the prepared_seqno field in DCP_ABORT is redundant and not
required.

Change-Id: I7aa3dab917352a290e22c6f22093ef81891d6eb1
Reviewed-on: http://review.couchbase.org/108944
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Ben Huddleston <ben.huddleston@couchbase.com>

show more ...


# c35f9873 03-May-2019 Dave Rigby <daver@couchbase.com>

Reduce #includes of durability_spec.h

durability_spec.h is included by protocol_binary.h, which results in
444 targets (!) needing to be recompiled every time durability_spec.h
is ch

Reduce #includes of durability_spec.h

durability_spec.h is included by protocol_binary.h, which results in
444 targets (!) needing to be recompiled every time durability_spec.h
is changed.

Instead, forward-declare cb::durability::Requirements in
protocol_binary.h, and then add appropriate #includes of
durability_spec.h to just those targets which need it.

This reduces the number of targets which must be rebuilt after a
change in durability_spec.h to 285. This is still a large number but a
significant decrease.

Change-Id: I8164d74f8954c16ef96ae1794f69fdcee567c135
Reviewed-on: http://review.couchbase.org/108655
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@couchbase.com>

show more ...


# 581ce1e1 23-Apr-2019 Dave Rigby <daver@couchbase.com>

MB-32734 [SR]: Expand DCP SyncDelete tests

Expand the tests in the DcpStreamSyncReplTest suite to add a variant
for SyncDeletes.

To aid in checking the results of these tests, i

MB-32734 [SR]: Expand DCP SyncDelete tests

Expand the tests in the DcpStreamSyncReplTest suite to add a variant
for SyncDeletes.

To aid in checking the results of these tests, introduce a GoogleMock
implemention of dcp_message_producers. This allows more complex
expections to be checked compared to the existing "manual"
MockDcpMessageProducers mock implementation.

Change-Id: Id58ec76a3d051bd3a84b7e1a95e7d4ab6fa82184
Reviewed-on: http://review.couchbase.org/108157
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Paolo Cocchi <paolo.cocchi@couchbase.com>

show more ...