History log of /6.0.3/kv_engine/engines/ewouldblock_engine/ewouldblock_engine.cc (Results 1 - 25 of 108)
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
# 7245345d 24-Apr-2018 Tim Bradgate <tim.bradgate@couchbase.com>

MB-29377: Improve spdlog usage within kv_engine

[1]: Add isInitialized method to cb::logger and use this in
auditd.cc instead of cb::logger::get
[2]: Replace all usages of cb::l

MB-29377: Improve spdlog usage within kv_engine

[1]: Add isInitialized method to cb::logger and use this in
auditd.cc instead of cb::logger::get
[2]: Replace all usages of cb::logger::get in daemon with
the LOG_* macros
[3]: Add default log level to the logger config object and
use this to set the log level during initialization

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

show more ...


# 1ed4a1e8 16-Apr-2018 Sriram Ganesan <sriram@couchbase.com>

MB-29258: Add an engine API to get maximum item size

Add an engine API to get the maximum size of an item supported
by the underlying engine. Use the engine API to get the
maximum do

MB-29258: Add an engine API to get maximum item size

Add an engine API to get the maximum size of an item supported
by the underlying engine. Use the engine API to get the
maximum document size supported for that specific engine and
use it to compare with the decompressed document size

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

show more ...


# d92cc586 27-Mar-2018 Sriram Ganesan <sriram@couchbase.com>

MB-28777: Provide a min_compression_ratio configuration parameter

If there isn't much difference between sizes of compressed and
uncompressed data, then decompressing the data every time

MB-28777: Provide a min_compression_ratio configuration parameter

If there isn't much difference between sizes of compressed and
uncompressed data, then decompressing the data every time for
a client would outweigh the cost of storing the data as
compressed as there is no perceivable benefit in space savings

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

show more ...


# 85ea0554 05-Apr-2018 Trond Norbye <trond.norbye@gmail.com>

MB-28733: Drop stale cookies instead of notifying them

Change-Id: I1267c500ff0724d51e7888d8379ed928200d6974
Reviewed-on: http://review.couchbase.org/92176
Tested-by: Build Bot <build

MB-28733: Drop stale cookies instead of notifying them

Change-Id: I1267c500ff0724d51e7888d8379ed928200d6974
Reviewed-on: http://review.couchbase.org/92176
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Tim Bradgate <tim.bradgate@couchbase.com>

show more ...


# 386f37fc 20-Mar-2018 Trond Norbye <trond.norbye@gmail.com>

EWB engine should not send DCP data before Stream Req

The old implementation in ewb engine started to stream items
as part of DCP open, which is not according to the DCP protocol
spe

EWB engine should not send DCP data before Stream Req

The old implementation in ewb engine started to stream items
as part of DCP open, which is not according to the DCP protocol
spec. It should not send any mutations until it receives a stream
request.

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

show more ...


# fa526109 06-Mar-2018 Tim Bradgate <tim.bradgate@couchbase.com>

MB-27661 [10/n]: Fix MSVC warnings - C4267

This patch addresses the following generated warnings:

C4267 - var : conversion from 'size_t' to 'type', possible loss of data

MB-27661 [10/n]: Fix MSVC warnings - C4267

This patch addresses the following generated warnings:

C4267 - var : conversion from 'size_t' to 'type', possible loss of data
The compiler detected a conversion from size_t to a smaller type.

Since there are a lot of these warnings, use multiple commits to sort
them out to make reviewing easier.

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

show more ...


# 2e70791e 21-Feb-2018 Tim Bradgate <tim.bradgate@couchbase.com>

MB-27661 [4/n]: Fix MSVC warnings - C4018, C4146

This patch addresses the following generated warnings:

C4018 - signed/unsigned mismatch
C4146 - unary minus operator applied to

MB-27661 [4/n]: Fix MSVC warnings - C4018, C4146

This patch addresses the following generated warnings:

C4018 - signed/unsigned mismatch
C4146 - unary minus operator applied to unsigned type,
result still unsigned

It also introduces a new constant, LOCKED_CAS which represents
the value given for the CAS of an item which is under lock.

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

show more ...


# 6f86aa1e 22-Feb-2018 Tim Bradgate <tim.bradgate@couchbase.com>

MB-27275: [1/2] Add an engine API function to set an item's datatype

Change-Id: If151525bdb7f002ceb60c7daa456318237c9c268
Reviewed-on: http://review.couchbase.org/89900
Reviewed-by:

MB-27275: [1/2] Add an engine API function to set an item's datatype

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

show more ...


# 43afbf69 22-Jan-2018 Jim Walker <jim@couchbase.com>

MB-27457: [4/n] Stub out dcp delete_v2 consumer callback

Update the engine interface so that memcached is given a v2 function
to call to handle the new dcp delete format.

Change

MB-27457: [4/n] Stub out dcp delete_v2 consumer callback

Update the engine interface so that memcached is given a v2 function
to call to handle the new dcp delete format.

Change-Id: Ied778851843a44375941fd485547a5f221d3bbd1
Reviewed-on: http://review.couchbase.org/88300
Reviewed-by: Tim Bradgate <tim.bradgate@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>

show more ...


# 4dd9b0f4 07-Feb-2018 Trond Norbye <trond.norbye@gmail.com>

Use logger directly in the core

Changed the LOG_ macros used in the core and call
them directly instead of going through the old
logger interface using the printf-style of formatting

Use logger directly in the core

Changed the LOG_ macros used in the core and call
them directly instead of going through the old
logger interface using the printf-style of formatting

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

show more ...


# 82ac78ad 29-Jan-2018 Trond Norbye <trond.norbye@gmail.com>

Remove engine feature information

The feature information was never used and is currently
generating warnings from gcc 7. Given that we don't use
it we should nuke it.

Chang

Remove engine feature information

The feature information was never used and is currently
generating warnings from gcc 7. Given that we don't use
it we should nuke it.

Change-Id: Ica99af5e9dda549b090b0a4033b0f577e08a5438
Reviewed-on: http://review.couchbase.org/88494
Reviewed-by: Tim Bradgate <tim.bradgate@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...


# 35cb14e6 22-Jan-2018 Sriram Ganesan <sriram@couchbase.com>

MB-27543: [Restore] Decompress the value before storing in 'off' mode

This reverts commit abff81203272095e247926346c5c720b1210385e.
Restoring the commit as it wasn't the root cause of th

MB-27543: [Restore] Decompress the value before storing in 'off' mode

This reverts commit abff81203272095e247926346c5c720b1210385e.
Restoring the commit as it wasn't the root cause of the post commit
failures.

Change-Id: I7f8ad00cc4ddc2760140bcece8168caaef0e86b0
Reviewed-on: http://review.couchbase.org/88193
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sriram Ganesan <sriram@couchbase.com>

show more ...


# abff8120 22-Jan-2018 Sriram Ganesan <sriram@couchbase.com>

Revert "MB-27543: Decompress the value before storing in 'off' mode"

This reverts commit 268ecbd4b8715333475c833e12efee16a6d0e759. Commit
has resulted in post commit failures. Hence, rev

Revert "MB-27543: Decompress the value before storing in 'off' mode"

This reverts commit 268ecbd4b8715333475c833e12efee16a6d0e759. Commit
has resulted in post commit failures. Hence, reverting.

Change-Id: Ib5355170dd5e0e5aec0a39943f837bb0d90a09ea
Reviewed-on: http://review.couchbase.org/88185
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Jim Walker <jim@couchbase.com>

show more ...


# 268ecbd4 16-Jan-2018 Sriram Ganesan <sriram@couchbase.com>

MB-27543: Decompress the value before storing in 'off' mode

If the bucket compression mode is 'off' and the value is
snappy compressed, then the value needs to be decompressed before

MB-27543: Decompress the value before storing in 'off' mode

If the bucket compression mode is 'off' and the value is
snappy compressed, then the value needs to be decompressed before
storing it in the hash table

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

show more ...


Revision tags: v5.0.1
# 901d1ab8 05-Dec-2017 Jim Walker <jim@couchbase.com>

MB-27121: [3/3] Plumb GET_MANIFEST opcode into engines

Add the opcode and required functions so that we can accept and
process a collections get manifest command.

Change-Id: If9

MB-27121: [3/3] Plumb GET_MANIFEST opcode into engines

Add the opcode and required functions so that we can accept and
process a collections get manifest command.

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

show more ...


# 393b038a 27-Nov-2017 Trond Norbye <trond.norbye@gmail.com>

Tighten up engine API; Require cookie and cas for store

The cookie contains the command context and needs to be present
to allow the engine to perform any callbacks into the core.

Tighten up engine API; Require cookie and cas for store

The cookie contains the command context and needs to be present
to allow the engine to perform any callbacks into the core.

The CAS is an out parameter so that the core won't have to call
into the engine again in order to figure out the resulting CAS
value.

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

show more ...


# bf434e33 27-Nov-2017 Trond Norbye <trond.norbye@gmail.com>

Tighten up engine API; Require cookie for get

The cookie contains the command context and needs to be present

Change-Id: I419840db707e207fab73e174c84517489b837187
Reviewed-on: h

Tighten up engine API; Require cookie for get

The cookie contains the command context and needs to be present

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

show more ...


# 4fc85e3e 30-Nov-2017 Trond Norbye <trond.norbye@gmail.com>

Tighten up engine API; Require cookie, cas and mutinfo for remove

Change-Id: I56e24566efe5e01cacd39209b229dc98995d9197
Reviewed-on: http://review.couchbase.org/86065
Reviewed-by: Dan

Tighten up engine API; Require cookie, cas and mutinfo for remove

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

show more ...


# 0d8ac478 25-Nov-2017 Trond Norbye <trond.norbye@gmail.com>

Tighten up engine API; Require cookie for allocate

Change-Id: I43d86b6ab69cd16625f977d07d9b2f12c6a8f7db
Reviewed-on: http://review.couchbase.org/85989
Reviewed-by: Dave Rigby <daver@

Tighten up engine API; Require cookie for allocate

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

show more ...


# f9c178f3 23-Nov-2017 Trond Norbye <trond.norbye@gmail.com>

Tighten up engine API; Require cookie for get_stats

Use gsl::not_null for the cookie parameter passed into
the engine and the add_stats callback (as the core expects
it to be a valid

Tighten up engine API; Require cookie for get_stats

Use gsl::not_null for the cookie parameter passed into
the engine and the add_stats callback (as the core expects
it to be a valid cookie).

Change the two parameter key + keylen into a cb::const_char_buffer

A followup to this patch (and the other not_null patches) change
the void pointer to a Cookie object passed by reference.

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

show more ...


# 991c7667 24-Nov-2017 Trond Norbye <trond.norbye@gmail.com>

Tighten up engine API; Require cookie for allocate_ex

Change-Id: Ife6f45f0161f75417537516dab569c0b7fdfdbb0
Reviewed-on: http://review.couchbase.org/85985
Tested-by: Build Bot <build@

Tighten up engine API; Require cookie for allocate_ex

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

show more ...


# b8f14bca 24-Nov-2017 Trond Norbye <trond.norbye@gmail.com>

Tighten up engine API; Require cookie for get_and_touch

Change-Id: I9059dbc0501c3956a353bd8924b84c89cf4a232d
Reviewed-on: http://review.couchbase.org/85984
Tested-by: Build Bot <buil

Tighten up engine API; Require cookie for get_and_touch

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

show more ...


# f4ca6db8 24-Nov-2017 Trond Norbye <trond.norbye@gmail.com>

Tighten up engine API; Require cookie for get_meta

Change-Id: Ib31d776afe9036b09f19ef2bf44745ce659c903a
Reviewed-on: http://review.couchbase.org/85983
Tested-by: Build Bot <build@cou

Tighten up engine API; Require cookie for get_meta

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

show more ...


# b92e94e4 24-Nov-2017 Trond Norbye <trond.norbye@gmail.com>

Tighten up engine API; Require cookie for locking

Change-Id: Iadfbf2cbe4d3fde684ad85c60591d5e764756f02
Reviewed-on: http://review.couchbase.org/85982
Tested-by: Build Bot <build@couc

Tighten up engine API; Require cookie for locking

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

show more ...


# c5a5199a 24-Nov-2017 Trond Norbye <trond.norbye@gmail.com>

Tighten up engine API: Require cookie for get_if

Change-Id: I8a05eb427362a658a0d27459f94b16931539aeca
Reviewed-on: http://review.couchbase.org/85977
Tested-by: Build Bot <build@couch

Tighten up engine API: Require cookie for get_if

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

show more ...


12345