I have an issue in an HCL XPages application that performs rather slow. I am not sure it is related to Couchbase at all - but I get metrics like this written to the console: 16-04-2024 12:29...
https://www.couchbase.com/forums/t/couchbase-metrics-and-java-sdk/38285
I’m encountering an intermittent issue in my Spring Boot application while using the Couchbase SDK. Here’s the scenario: SPRING BOOT VERSION: 3.1.6 COUCHBASE SDK VERSION: 3.6.0 DESCRIPTION: I...
Is there a performance difference between a bulk insert SQL++ statement and splitting it into several one-by-one (or parallel) insert statement executions? In my use case I prefer the latter op...
https://www.couchbase.com/forums/t/bulk-insert-statement/38171
How can I execute a transaction of multiple DML statements? I prefer the approach of “BEGIN TRANSACTION”, then executing statements, and in the end “COMMIT”. But, how can I send the txid ...
https://www.couchbase.com/forums/t/multi-statement-transactions-using-query-api/38132
I have a bucket with minimumDurabilityLevel: majorityAndPersistActive. Is it possible to perform an upsert call from the java SDK where I override the durability so “none” is used? There se...
https://www.couchbase.com/forums/t/override-minimumdurabilitylevel-of-bucket-in-upsert-call/38128
I have updated the couchbase java-client to 3.3.4 previously I was using 2.7.x along with that I was using couchbase-spring-cache which is 2.1.0 version and no latest version for that is present ...
CB server v7.0.5 java sdk v3.4.3/3.6.0 Whenever I am doing replaceWithCas for more than 1 document over single connection, it always fails with CasMismatchException CasMismatchException: Do...
Hi, I’m running Couchbase server enterprise 7.2.0 on a docker on my local machine. I have the default Administrator user, and another user with full admin permissions. Both are not working whil...
https://www.couchbase.com/forums/t/authentication-issue-java/38047
SpringBoot version: 2.2.2.RELEASE com.couchbase.client java-client dependency version: 2.7.7 Couchbase version: Enterprise Edition 7.1.3 When a request comes after my project starts running i...
https://www.couchbase.com/forums/t/requests-throw-timeoutexception-after-some-time/37994
Hi, we are planning to move some attribute to meta xattr, is there a way to create a xattr value when we try to upsert a document. Currently, i am able to do like below, but is there a better ...
https://www.couchbase.com/forums/t/custom-xattr-creation/37885
I am trying to extend the expiry of my couchbase documents using touchDocument method, the extending is happening and immediately going back to older expiry value. Will there ever be a situation ...
https://www.couchbase.com/forums/t/couchbase-documents-expiry-getting-reduced/37863
Sometimes my server has this error a lot, I found that it said timeout does not mean that the connection to the Couchbase server timed out, not that the io thread is occupied by other business co...
https://www.couchbase.com/forums/t/unambiguoustimeoutexception-subdocgetrequest-reason-timeout/37835
We are using Couchbase Enterprise Edition 7.1.4 and Java client 3.5.0. Currently there is default unencrypted connection and now we are going to secure the connection using TLS. For that I am fo...
https://www.couchbase.com/forums/t/ssl-connection-with-java-client-3-5-0/37793
Hi team I have two versions of the couchbase server, them are 4.5.0 and 7.2.2. How to connect them in one application at the same time ? As far as I know, both of their java client pom are <...
https://www.couchbase.com/forums/t/how-to-connect-two-difference-versions-couchbase-server/37748
Hello CB Team, I’ve a question about partial update. Lets assume i ve document like { "hotel": { "name": "california", "customers": } } i ...
https://www.couchbase.com/forums/t/couchbase-partial-update/37664
Cb server 7.0.4 Java sdk v3.4.3 We have the following order of operations for a document (say D1) in a bucket: A. transactional insert D1(transaction 1) B. transactional delete D1 (transacti...
https://www.couchbase.com/forums/t/incorrect-behavior-of-upsert-preserveexpiry/37522
I am creating a testcontainer which is working fine. But at the time of insert, I am getting unknown collection error. Sharing my code : class CouchbaseTestContainer { def static�...
https://www.couchbase.com/forums/t/test-container-7-1-6-is-giving-unknown-collection/37462
My n1ql query stopped working as I upgraded from springboot 3.1.2 to 3.1.5. My repository and n1ql is like this : @Repository public interface StoreStockMovementRepository extends Reactiv...
https://www.couchbase.com/forums/t/springboot-3-1-5-issue-n1ql-started-throwing-error/37410
Hi, we have a requirement that documents in a specific collection have an expiry of 2 years vs other documents in a different collection which have no expiry, and the TTL on these collections are...
https://www.couchbase.com/forums/t/getandtouch-to-collection-default-ttl-value/37343
Hi I got this error:class com.couchbase.client.java.env.ClusterEnvironment has interface com.couchbase.client.core.env.CoreEnvironment as super class. And I use Java 8 and 3.4.10 java couchbase ...
Hi. To get index information, I call Cluster.queryIndexes().getAllIndexes(“bucketName”). It successfully returns QueryIndex. But at QueryIndex, there is no scope information. QueryIndex.ke...
https://www.couchbase.com/forums/t/queryindex-keyspace-doesnt-have-scope/37194
Hi team, For the example provided in the documentation , could you please explain in simple term what each entry means? { "total_duration_us": 1200, "encode_duration_us": 100, "...
val endpoint = “couchbases://cb.lnrau80fzkslc0kk.cloud.couchbase.com” val env = ClusterEnvironment.builder().build() val cluster = Cluster.connect(endpoint, ClusterOptions.clusterOptions(us...
We are creating environment variable like this. logger.info(marker, "Couchbase## initializeBuckets tracerConfig start time {}", LocalDateTime.now()); ThresholdLoggingTra...
https://www.couchbase.com/forums/t/environment-creation-is-taking-too-much-time/37151
UseCase; Running the couchbase 7.2.0 build and registered along with consul and I am able to see the couchbase service in consul dashboard service list. But still from spring-boot application n...