History log of /6.0.3/kv_engine/engines/ep/src/collections/vbucket_manifest_entry.h (Results 1 - 7 of 7)
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, v6.0.3, v5.5.4, v5.5.5, v5.5.6, v6.0.1, v5.5.3, v6.0.0, v5.1.3, v5.5.2, v5.5.1, v5.1.2, v5.1.1, v5.0.1, v5.1.0, v5.0.0
# be1b54aa 06-Sep-2017 Jim Walker <jim@couchbase.com>

MB-25342: Refactor VB::Manifest::completeDelete

Move the completeDeletion logic into ManifestEntry and
clean up the exception logic so we have more consistent
exceptions.

Ch

MB-25342: Refactor VB::Manifest::completeDelete

Move the completeDeletion logic into ManifestEntry and
clean up the exception logic so we have more consistent
exceptions.

Change-Id: I74f32aeecd5f6eeb9bb6fb46acbb10a0e9d4c5a9
Reviewed-on: http://review.couchbase.org/83228
Reviewed-by: Daniel Owen <owend@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...


# 9160b844 04-Aug-2017 Jim Walker <jim@couchbase.com>

MB-25342: Introduce Collection::uid to the VB::Manifest

Many functions on VB::Manifest required the caller to specify the name
and a uint32_t as separate parameters when trying to identi

MB-25342: Introduce Collection::uid to the VB::Manifest

Many functions on VB::Manifest required the caller to specify the name
and a uint32_t as separate parameters when trying to identify a
collection. This is now cleaned up so that a new class is used when
identifying a specific 'generation' of a collection.

As part of this new class we are removing the use of 'revision' and
replacing it with 'uid', however we use the Manifest::revision as
the uid and later changes will change the Manifest format so that each
collection is assigned a uid.

As part of the clean-up of revision usage this commit fixes some short
comings in the VB::Manifest management where a delete of a collection
was updating it's revision, forcing later callers of completeDeletion
to use the newer revision, instead of referring to the collection by
the correct name:rev from when it was created.

This commit additionally cleans up the separator changed path which
was needlessly passing the revision through the various code paths and
even over DCP. There is no need it was set and never read.

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

show more ...


# ef22f9b0 25-May-2017 Dave Rigby <daver@couchbase.com>

Move ep-engine to engines/ep


Revision tags: v4.6.2_ep, v4.6.2_mc, v4.6.1_ep
# 10dad95b 01-Mar-2017 Jim Walker <jim@couchbase.com>

MB-16181: Enable separator modifications

Up until now the separator was fixed as the default value of "::".
This commit allows incoming manifests to change the separator if
allowed,

MB-16181: Enable separator modifications

Up until now the separator was fixed as the default value of "::".
This commit allows incoming manifests to change the separator if
allowed, as follows:

1. No open collections exist.
2. Only the default collection exists.

A separator can be changed by two manifest "types" (when the above
rules are met)

1. A manifest that has a new "separator" field
2. A manifest that has a new "separator" field and a new "collection"

In the first case a new/dedicated SystemEvent is required that ensures
a serialised copy of the manifest is flushed.

In the second case the CreateCollection event will also flush the
new separator.

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

show more ...


# d87fd7e6 25-Jan-2017 Jim Walker <jim@couchbase.com>

MB-16181: Update completeDeletion to push system events

Update the completeDeletion function and the JSON generation so
that we can support the cases of completely deleting a collection

MB-16181: Update completeDeletion to push system events

Update the completeDeletion function and the JSON generation so
that we can support the cases of completely deleting a collection
or just updating a "isDeleting" collection.

Deleting a collection creates an event in the data-stream that
will trigger the flusher to write the manifest (subsequent integration
will update the flusher).

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

show more ...


# 96803ff8 24-Jan-2017 Jim Walker <jim@couchbase.com>

MB-16181: Create and BeginDelete collection against a VB.

Update the VB::Manifest to now drive an event through a
VBucket.

The VBucket can then generate a JSON manifest from the

MB-16181: Create and BeginDelete collection against a VB.

Update the VB::Manifest to now drive an event through a
VBucket.

The VBucket can then generate a JSON manifest from the
system-event item. This is achieved by serialising a
VB::Manifest into the system-event value so that at
flushing time the correct JSON represntation can be
produced.

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

show more ...


# 3a9c4c4e 12-Jan-2017 Jim Walker <jim@couchbase.com>

MB-16181: Add Collections::VB::ManifestEntry

A class that stores a single collection for a VBucket.

We store

- the name
- the seqno it was added
- the seqno it was

MB-16181: Add Collections::VB::ManifestEntry

A class that stores a single collection for a VBucket.

We store

- the name
- the seqno it was added
- the seqno it was deleted
- the Collections::Manifest revision which added it

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

show more ...