History log of /6.0.3/kv_engine/include/memcached/engine_error.h (Results 1 – 13 of 13)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v7.1.1, v7.0.4, v7.1.0, v6.6.5-MP1, v6.6.5, v6.6.4, v7.0.2, v7.0.1, v6.6.3, v7.0.0, v6.6.2, v6.5.2, v6.0.5, v6.6.1, v6.5.1-MP5, v6.6.0, v6.5.1-MP3, v6.5.1, v6.0.4, v6.5.0, v6.0.3, v5.5.6, v6.0.2, v5.5.5, v5.5.4, v6.0.1, v5.5.3, v5.1.3, v6.0.0, v5.5.2, v5.5.1, v5.1.2, v5.5.0, v5.1.1
# 7fb6fad2 10-May-2018 Dave Rigby <daver@couchbase.com>

MB-25822: Move tracing impl types to tracing_types.h

Move types which are only needed by the implementation of phosphor
tracing from tracing.h to tracing_types.h. This is only needed by
tracing.cc a

MB-25822: Move tracing impl types to tracing_types.h

Move types which are only needed by the implementation of phosphor
tracing from tracing.h to tracing_types.h. This is only needed by
tracing.cc and the unit tests; so clients which just need the
interface of tracing.h can reduce their transitive includes.

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

show more ...


Revision tags: v5.1.0, v5.0.1
# 9628a0d6 07-Dec-2017 Jim Walker <jim@couchbase.com>

MB-27122: [2/2] Do not initialise the current manifest

As described in the MB, it is risky to initialise the current manifest
to a 'default' state. It is safer to run without a manifest as we
really

MB-27122: [2/2] Do not initialise the current manifest

As described in the MB, it is risky to initialise the current manifest
to a 'default' state. It is safer to run without a manifest as we
really should only operate on what the cluster_manager tells us.

This leads to one situation in DcpOpen where we must fail the open
if the manifest hasn't yet been set, this situation is now flagged
by a new error code "no_collections_manifest" allowing what should
be a temporary failure (cluster manager should always push a manifest)
to be observed.

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

show more ...


Revision tags: v5.0.0
# c39d5104 03-Jul-2017 Dave Rigby <daver@couchbase.com>

Add cb::to_engine_errc(ENGINE_ERROR_CODE) function

Add a helper function to convert from the C-style ENGINE_ERROR_CODE to
C++ enum class engine_errc.

Change-Id: I91afcb0441a677e4dfe72a398b03e854afd

Add cb::to_engine_errc(ENGINE_ERROR_CODE) function

Add a helper function to convert from the C-style ENGINE_ERROR_CODE to
C++ enum class engine_errc.

Change-Id: I91afcb0441a677e4dfe72a398b03e854afdb8483
Reviewed-on: http://review.couchbase.org/80237
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: James Harrison <james.harrison@couchbase.com>

show more ...


# 8f9005d0 14-Jun-2017 Jim Walker <jim@couchbase.com>

MB-22163: Recover value-eviction performance loss with store_if

Introduce a new engine method called store_if, this method
is exactly like store but takes a predicate (std::function).

For set and r

MB-22163: Recover value-eviction performance loss with store_if

Introduce a new engine method called store_if, this method
is exactly like store but takes a predicate (std::function).

For set and replace, they will call the predicate on the existing
item (if any) and if the predicate returns true, the store will
continue.

Memcached is changed to make use of store_if so that it can avoid
a get for determining if an existing item has xattrs.

store_if is tried first and if it fails because the existing item
has xattrs, then the slower read/modify/write path is chosen.

This recovers approx 10% in op/s primarily because we reduce the
hash-table locking (your mileage may vary).

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

show more ...


# f581b888 02-Jun-2017 olivermd <oliver.downard@couchbase.com>

MB-24461: Use EngineErrorItemPair for get test api

In preparation for converting the 'get' interface to use an
EngineErrorItemPair, we need to change the engine tests for ep-engine to
use EngineErro

MB-24461: Use EngineErrorItemPair for get test api

In preparation for converting the 'get' interface to use an
EngineErrorItemPair, we need to change the engine tests for ep-engine to
use EngineErrorItemPair.

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

show more ...


# d4c15b06 02-Jun-2017 Dave Rigby <daver@couchbase.com>

Allow GTest to print engine_errc

Add a PrintTo function so GoogleTest can correctly print values of type cb::engine_errc

Change-Id: I76db5b848c6c3e1227084d00b5b67a11259c896d
Reviewed-on: http://rev

Allow GTest to print engine_errc

Add a PrintTo function so GoogleTest can correctly print values of type cb::engine_errc

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

show more ...


# 2fb14ccd 21-Apr-2017 Jim Walker <jim@couchbase.com>

MB-16181: DCP system event TX/RX

A new DCP message type (0x60) is used to transmit system
events in the DCP stream.

This new message contains

* seqno
* event type
* key (anything and set by the ev

MB-16181: DCP system event TX/RX

A new DCP message type (0x60) is used to transmit system
events in the DCP stream.

This new message contains

* seqno
* event type
* key (anything and set by the event)
* eventData (anything and set by the event)

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

show more ...


Revision tags: v4.6.2_ep, v4.6.2_mc
# 0e5690f4 09-Mar-2017 Dave Rigby <daver@couchbase.com>

engine_utilities: Add cb::to_string(engine_errc) to public API

Allows external users (e.g. ep-engine) to call it.

Change-Id: I69ac9670b04505a1646a7b0dcb37ccbc6b618c67
Reviewed-on: http://review.cou

engine_utilities: Add cb::to_string(engine_errc) to public API

Allows external users (e.g. ep-engine) to call it.

Change-Id: I69ac9670b04505a1646a7b0dcb37ccbc6b618c67
Reviewed-on: http://review.couchbase.org/74911
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Daniel Owen <owend@couchbase.com>

show more ...


Revision tags: v4.6.1_ep
# e9b529a1 17-Jan-2017 Jim Walker <jim@couchbase.com>

MB-16181: Add collection unknown errors

Update enums and affected switch statements and error map code.

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

MB-16181: Add collection unknown errors

Update enums and affected switch statements and error map code.

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

show more ...


# 46d5c978 23-Jan-2017 Trond Norbye <trond.norbye@gmail.com>

Fix C4275 for engine_error.h

MSVC emits a warning when we're trying to use STL as the
public interface of a DLL.

See https://goo.gl/6oZliM for more information.

Change-Id: Ie455a3c986189d1ce58b10d

Fix C4275 for engine_error.h

MSVC emits a warning when we're trying to use STL as the
public interface of a DLL.

See https://goo.gl/6oZliM for more information.

Change-Id: Ie455a3c986189d1ce58b10d4a37f48a9a6b730d6
Reviewed-on: http://review.couchbase.org/72348
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Daniel Owen <owend@couchbase.com>

show more ...


# 8fa52e42 05-Jan-2017 Trond Norbye <trond.norbye@gmail.com>

Refactor: use a switch statement over searching the map

The motivation for this is that given that this is an
enum class the compiler will warn us if we add new values
without adding a textual descr

Refactor: use a switch statement over searching the map

The motivation for this is that given that this is an
enum class the compiler will warn us if we add new values
without adding a textual description.

Change-Id: Ie136e51f9f09dcb099a5b2b6182f6d91d48e6398
Reviewed-on: http://review.couchbase.org/71596
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...


# 463b4257 04-Jan-2017 Trond Norbye <trond.norbye@gmail.com>

Allow for returning that an item is locked

This allows the core to separate between race conditions
for people updating the same object, or if the object is
locked.

There is also at least one custo

Allow for returning that an item is locked

This allows the core to separate between race conditions
for people updating the same object, or if the object is
locked.

There is also at least one customer who requested
the ability to see this difference on the client, and with
this change we may also notify the client.

Change-Id: I4fa95ed4bf91561f6c624eacd9ff1567ba8a79ed
Reviewed-on: http://review.couchbase.org/71541
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>

show more ...


# d61bd6e7 28-Dec-2016 Trond Norbye <trond.norbye@gmail.com>

Add engine_error exception and error_category

This allows us for using std::system_error-style exceptions
like:

throw cb::engine_error(cb::engine_errc::too_big, "more info");

and catch them so

Add engine_error exception and error_category

This allows us for using std::system_error-style exceptions
like:

throw cb::engine_error(cb::engine_errc::too_big, "more info");

and catch them somewhere else and look at the error code or
just dump the full info with what().

Engines who want to use the methods should link with
engine_utilities

Change-Id: I59a2fae2e9c344d49169c58787702fc4172d8090
Reviewed-on: http://review.couchbase.org/71333
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>

show more ...