History log of /Couchbase_C_Client_v3.0/src/operations/counter.cc (Results 1 - 25 of 47)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f6822fcc 26-Nov-2021 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-1519: pass extra privilege with KV "on-behalf-of"

For KeyValue operations the library allows to relay extra privileges in
addition to impersonated header.

Change-Id: Id81cc

CCBC-1519: pass extra privilege with KV "on-behalf-of"

For KeyValue operations the library allows to relay extra privileges in
addition to impersonated header.

Change-Id: Id81ccc368cbd1b5f6ab40070ebd0e2f8ca801ff7
Reviewed-on: https://review.couchbase.org/c/libcouchbase/+/166472
Tested-by: Build Bot <build@couchbase.com>
Tested-by: <ankit.prabhu@couchbase.com>
Reviewed-by: <ankit.prabhu@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


Revision tags: 3.2.4, 3.2.3
# d57e4ccd 12-Oct-2021 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-1484: fix tracing tags in accordance to RFC

Change-Id: I6efbf597e476da6b40ab86b8522aca8640c338ef
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/163570
Tested-by: Buil

CCBC-1484: fix tracing tags in accordance to RFC

Change-Id: I6efbf597e476da6b40ab86b8522aca8640c338ef
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/163570
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


Revision tags: 3.2.2
# ecbde082 25-Aug-2021 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-1216: implement user impersonation API

Change-Id: I24559c646c0ec1fbb4b9f70ef44cbb547601088c
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/160111
Reviewed-by: Brett L

CCBC-1216: implement user impersonation API

Change-Id: I24559c646c0ec1fbb4b9f70ef44cbb547601088c
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/160111
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...


Revision tags: 3.2.1
# 324cddd6 09-Aug-2021 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-1438: fix frame size for mutations with durability

Counter, Store and Subdoc mutations were sending incorrect frame size of
durability encoding, which led to rejection of the comman

CCBC-1438: fix frame size for mutations with durability

Counter, Store and Subdoc mutations were sending incorrect frame size of
durability encoding, which led to rejection of the command by the
server.

Change-Id: I1823845da34cb261543c42a1d6289663b386892f
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/158944
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>

show more ...


Revision tags: 3.2.0
# 6b7f4186 11-Jun-2021 David Kelly <davidmichaelkelly@gmail.com>

CBCC-1280 Support for OTel tracing

Tracing updated to allow for an external tracer that creates and
finishes spans, adds tags, destroys spans. Also, spans now have the
notion of bei

CBCC-1280 Support for OTel tracing

Tracing updated to allow for an external tracer that creates and
finishes spans, adds tags, destroys spans. Also, spans now have the
notion of being the 'outer' span. That is the span that has all the
outer span tags, and is the one whose duration is used to determine
whether or not the operation has exceeded the threshold if the
ThresholdLoggingTracer is used.

If you pass in a parent that is an outer span, you must call
lcbtrace_span_finish yourself. When an operation begins, if there is no
parent span passed in, or if there is but it isn't an 'outer' span, then
the operation creates the outer span itself.

Added an example that performs a few operations which pass in various
parent spans (or none).

Still need tests.

Change-Id: Ibec5c85838e23ed21786ecc311105d98ea42316c
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/154703
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...


# 073fa912 14-Jun-2021 Sergey Avseyev <sergey.avseyev@gmail.com>

fix collections-related tests

Change-Id: I029089b5cd92ef2484ccd33342ba6edb8bcd7cf9
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/155738
Tested-by: Build Bot <build@couchb

fix collections-related tests

Change-Id: I029089b5cd92ef2484ccd33342ba6edb8bcd7cf9
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/155738
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


# f1ce7ef8 10-Jun-2021 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-1357: add support for preserve_expiry

Change-Id: I4603fdb0b312b1a3cd9d877388aaddcd225cd07f
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/155566
Reviewed-by: Brett La

CCBC-1357: add support for preserve_expiry

Change-Id: I4603fdb0b312b1a3cd9d877388aaddcd225cd07f
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/155566
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...


Revision tags: 3.1.4
# 4f2a7ac3 19-May-2021 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-1384: refactor counter and allow deferring the operation

Change-Id: I0117a3a1e4855a0894af0e1b5902311878d3d19f
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/153980
Te

CCBC-1384: refactor counter and allow deferring the operation

Change-Id: I0117a3a1e4855a0894af0e1b5902311878d3d19f
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/153980
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>

show more ...


# 2d8ee3cd 18-May-2021 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-1404: remove lcb_CMDBASE

Change-Id: Ib0da179e1dd1c014eb540f26884c8d9422707d90
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/153832
Tested-by: Build Bot <build@couchb

CCBC-1404: remove lcb_CMDBASE

Change-Id: Ib0da179e1dd1c014eb540f26884c8d9422707d90
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/153832
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>

show more ...


# 75ac3204 17-May-2021 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-1404: extract command structure for counter operation

Change-Id: I4262a342ff2bb3da2594f3f2822bc7e04bd7575a
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/153723
Teste

CCBC-1404: extract command structure for counter operation

Change-Id: I4262a342ff2bb3da2594f3f2822bc7e04bd7575a
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/153723
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>

show more ...


Revision tags: 3.1.3, 3.1.2, 3.1.1, 3.1.0, 2.10.9, 3.0.7
# 47d3886f 02-Dec-2020 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-1342: check if collections supported by server before using them

Change-Id: I25d28257c1191527c7be5fab0d8eb2a17b96f124
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/14138

CCBC-1342: check if collections supported by server before using them

Change-Id: I25d28257c1191527c7be5fab0d8eb2a17b96f124
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/141388
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>

show more ...


Revision tags: 3.0.6, 2.10.8, 3.0.5, 3.0.4, 3.0.3
# e94d7d1b 14-Jul-2020 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-1189: validate collection and scope names early

Change-Id: Id826d22102b947a549312b5bdd750e7eeaeaee18
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/132497
Tested-by:

CCBC-1189: validate collection and scope names early

Change-Id: Id826d22102b947a549312b5bdd750e7eeaeaee18
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/132497
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev

show more ...


# 736f68b8 18-Jun-2020 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-1264: Fix calculating key size when durability level specified

subdoc, counter and remove commands set body size incorrectly when
durability level requested. The server cannot parse

CCBC-1264: Fix calculating key size when durability level specified

subdoc, counter and remove commands set body size incorrectly when
durability level requested. The server cannot parse command properly
(expecting more data than actually sent), and then the operation times
out.

Change-Id: I3efe7b66f183a764acb9271b51306e040886984e
Reviewed-on: http://review.couchbase.org/c/libcouchbase/+/130908
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: David Kelly <davidmichaelkelly@gmail.com>

show more ...


Revision tags: 2.10.7, 3.0.2, 3.0.1, 2.10.6, 3.0.0
# 51a4fe09 10-Jan-2020 Sergey Avseyev <sergey.avseyev@gmail.com>

Fix typo in lcb_cmdcounter_cas signature

Change-Id: I5764676b60e69792098d8a7d289ca3a04346cb43
Reviewed-on: http://review.couchbase.org/120275
Tested-by: Build Bot <build@couchbase.co

Fix typo in lcb_cmdcounter_cas signature

Change-Id: I5764676b60e69792098d8a7d289ca3a04346cb43
Reviewed-on: http://review.couchbase.org/120275
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


# ebf3e5c1 03-Jan-2020 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-1148: Fix error handling when resolving collections

Change-Id: I9bb4b986d26b365fed7c40566c0f72e8e703973e
Reviewed-on: http://review.couchbase.org/119984
Tested-by: Build Bot <bu

CCBC-1148: Fix error handling when resolving collections

Change-Id: I9bb4b986d26b365fed7c40566c0f72e8e703973e
Reviewed-on: http://review.couchbase.org/119984
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>

show more ...


# 079eaaba 07-Jan-2020 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-1148: Add NULL checks for enhanced error info

Change-Id: I23a83091d777ee0ace7da8448c559d0b0a568d50
Reviewed-on: http://review.couchbase.org/120073
Tested-by: Build Bot <build@co

CCBC-1148: Add NULL checks for enhanced error info

Change-Id: I23a83091d777ee0ace7da8448c559d0b0a568d50
Reviewed-on: http://review.couchbase.org/120073
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>

show more ...


Revision tags: 3.0.0-beta.2
# cdfbf24d 13-Dec-2019 Sergey Avseyev <sergey.avseyev@gmail.com>

Use per-operation timeout when deriving durability timeout

Change-Id: I36a21a1c901c2de2602938280d2827a241ad6f4b
Reviewed-on: http://review.couchbase.org/119362
Tested-by: Build Bot <

Use per-operation timeout when deriving durability timeout

Change-Id: I36a21a1c901c2de2602938280d2827a241ad6f4b
Reviewed-on: http://review.couchbase.org/119362
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Ellis Breen <ellis.breen@couchbase.com>

show more ...


# 6ae99e49 09-Dec-2019 Sergey Avseyev <sergey.avseyev@gmail.com>

Define and use error contexts

Change-Id: I4d4c1533f48704fb691fd711b5819b9f02237680
Reviewed-on: http://review.couchbase.org/118727
Tested-by: Build Bot <build@couchbase.com>
Revi

Define and use error contexts

Change-Id: I4d4c1533f48704fb691fd711b5819b9f02237680
Reviewed-on: http://review.couchbase.org/118727
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>

show more ...


# d0533ef7 02-Dec-2019 Sergey Avseyev <sergey.avseyev@gmail.com>

Reorganize errors according to RFC

Change-Id: I4043a9fbb8080cec54ea38f26f4af1910375f1af
Reviewed-on: http://review.couchbase.org/118726
Tested-by: Build Bot <build@couchbase.com>

Reorganize errors according to RFC

Change-Id: I4043a9fbb8080cec54ea38f26f4af1910375f1af
Reviewed-on: http://review.couchbase.org/118726
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>

show more ...


# b0cdd171 30-Nov-2019 Sergey Avseyev <sergey.avseyev@gmail.com>

Fix compiler warnings

Change-Id: I159291bb02e6b69c9d331acb7ee29f7e3497521a
Reviewed-on: http://review.couchbase.org/118685
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by:

Fix compiler warnings

Change-Id: I159291bb02e6b69c9d331acb7ee29f7e3497521a
Reviewed-on: http://review.couchbase.org/118685
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


# ac5a2c19 23-Oct-2019 Sergey Avseyev <sergey.avseyev@gmail.com>

Allow to set CAS value for counter operations

Change-Id: Iffb7922d2fa91413fcbc211c264a2271d8d7611f
Reviewed-on: http://review.couchbase.org/116846
Tested-by: Build Bot <build@couchba

Allow to set CAS value for counter operations

Change-Id: Iffb7922d2fa91413fcbc211c264a2271d8d7611f
Reviewed-on: http://review.couchbase.org/116846
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>

show more ...


Revision tags: 3.0.0-beta.1
# c145e61c 20-Sep-2019 Sergey Avseyev <sergey.avseyev@gmail.com>

rename *_expiration() to *_expiry()

Change-Id: I2a5686c0b000667e92dc45fe9f30dda9bdaf5730
Reviewed-on: http://review.couchbase.org/115103
Tested-by: Build Bot <build@couchbase.com>

rename *_expiration() to *_expiry()

Change-Id: I2a5686c0b000667e92dc45fe9f30dda9bdaf5730
Reviewed-on: http://review.couchbase.org/115103
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Ellis Breen <ellis.breen@couchbase.com>

show more ...


Revision tags: 3.0.0-alpha.5, 2.10.5
# 3a90f688 22-Jul-2019 Sergey Avseyev <sergey.avseyev@gmail.com>

Add missing timeouts for HTTP APIs

Change-Id: I9a455cd468d9fe3c1bde3e3ed3eec23405cc0503
Reviewed-on: http://review.couchbase.org/112279
Tested-by: Build Bot <build@couchbase.com>

Add missing timeouts for HTTP APIs

Change-Id: I9a455cd468d9fe3c1bde3e3ed3eec23405cc0503
Reviewed-on: http://review.couchbase.org/112279
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...


Revision tags: 3.0.0-alpha.4
# 61bab34a 09-Jul-2019 Sergey Avseyev <sergey.avseyev@gmail.com>

CCBC-1024: per-operation KV timeouts

Change-Id: Ica34769ea1b1147ac6b8aec1f65b5d008686e699
Reviewed-on: http://review.couchbase.org/111761
Tested-by: Build Bot <build@couchbase.com>

CCBC-1024: per-operation KV timeouts

Change-Id: Ica34769ea1b1147ac6b8aec1f65b5d008686e699
Reviewed-on: http://review.couchbase.org/111761
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>

show more ...


# 73722258 03-Jul-2019 Sergey Avseyev <sergey.avseyev@gmail.com>

Fix check for default collection

zero is valid collection ID, and it also have to be encoded

Change-Id: Ie0502901b2b3b50692a10ba6d939aedee8b89d02
Reviewed-on: http://review.couc

Fix check for default collection

zero is valid collection ID, and it also have to be encoded

Change-Id: Ie0502901b2b3b50692a10ba6d939aedee8b89d02
Reviewed-on: http://review.couchbase.org/111542
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Ellis Breen <ellis.breen@couchbase.com>

show more ...


12