From 242368bb292b4094e5e57e2b57143614c353d93a Mon Sep 17 00:00:00 2001 From: Dimitris Christodoulou Date: Wed, 19 Mar 2025 14:36:24 +0000 Subject: [PATCH] RCBC-513: Forward prepend/append CAS to core --- ext/couchbase | 2 +- ext/rcb_crud.cxx | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/couchbase b/ext/couchbase index b5b51451..c60cf3c4 160000 --- a/ext/couchbase +++ b/ext/couchbase @@ -1 +1 @@ -Subproject commit b5b5145145e656d70962fe3cbb78f5af53eaaf63 +Subproject commit c60cf3c4377b32f0f74c0da6548b6d0e08d34e51 diff --git a/ext/rcb_crud.cxx b/ext/rcb_crud.cxx index 397cca0a..15b5baf9 100644 --- a/ext/rcb_crud.cxx +++ b/ext/rcb_crud.cxx @@ -652,6 +652,7 @@ cb_Backend_document_append(VALUE self, couchbase::append_options opts; set_timeout(opts, options); set_durability(opts, options); + set_cas(opts, options); auto f = cluster.bucket(cb_string_new(bucket)) .scope(cb_string_new(scope)) @@ -698,6 +699,7 @@ cb_Backend_document_prepend(VALUE self, couchbase::prepend_options opts; set_timeout(opts, options); set_durability(opts, options); + set_cas(opts, options); auto f = cluster.bucket(cb_string_new(bucket)) .scope(cb_string_new(scope))