Sync Gateway Debugging Tool 2.0 - sg_info.log
I recently updated my old Sync Gateway log parsing and debugging to process Websocket introduced in Couchbase Mobile 2.x. GitHub GitHub - Fujio-Turner/sg-log-reader-demo: Parsing and Aggregating...
View ArticleNumeric IDs sort as strings in collections
Previously, in CBL 3.0, as well as in 3.1 when querying the default collection, documents are sorted by document ID numerically in query results. But when querying just the document IDs in a...
View ArticleCBL iOS addDocumentReplicationListener ListenerToken.remove fails to remove...
In the CBL Swift and Objective-C SDKs, the token returned by Replicator.addDocumentReplicationListener fails to remove the listener when calling ListenerToken.remove. If you change this line of...
View ArticleHow to configure the passive peer in Couchbase Lite C?
Hello! I was wondering if anybody has examples of how to configure a passive peer / listener using the C CBL API? It’s quite clear from the docs how to set up an active peer (Active Peer | Couchbase...
View ArticleConcurrent SG queries causes QueryTimeoutException
Hi all, I manage a Couchbase cluster infrastructure with 2 nodes Data/Query/Index. Recently, we’re observing an issue related to tons of queries sent by a Community SG in a specific timewindow...
View ArticleUnwanted single / double precision conversion during replication from CBL to...
I’m reporting this issue on behalf of a user of the Couchbase Lite SDK for Dart I’m maintaining. Here is the original issue: Unwanted single / double precision conversion during replication from CBL...
View ArticleMemory Retention Issue: Deleted Documents Still Occupy Space on the Device
Hello everyone, I’ve encountered a problem with Couchbase Lite that I’d like to address. It appears that when documents are removed from the Couchbase server and the changes are synchronized with the...
View ArticleECONNREFUSED for the Public API port
@bbrks We are trying to set up Sync Gateway 3.1 and we are unable to make the Rest API work. We are getting this error message when we try to connect using Postman. GET...
View ArticleNot able to connect to Couchbase Sync Gateway 3.1 on port 4984
We have installed Couchbase Sync Gateway 3.1 on Ubuntu 20.04 on an Azure VM. However, we are not able to connect to it on port 4984. When we are trying curl -vX GET 'http://localhost:4984' We are...
View ArticleLimit Sync Gateway Traffic
Hi I use couchbase lite android with a continuous push pull replicator. I have certain documents that are written to multiple times a second and I have noticed this causes huge strain on the...
View ArticleCouchbase documents expiry getting reduced
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 in...
View ArticleSyncGateway metadata documents path
Hi all, we’re using two pull replication between two Couchbase SG instances, connected to two different Couchbase Servers. While creating the databases/users/replications, the “_sync:” documents are...
View ArticleQuestions about Sync_gateway channels
How to Use Channels in Sync Gateway - The Couchbase Blog If you look at the 2:16 mark on that link I can check http://localhost:4985/_admin/db/db/channels~~ Did the page disappear in version 3.1? Is...
View ArticleMobile Fulltext search behavior
Hi Folks, I use the CBL version 3.0 in an iOS app. I noticed that when I search for a string like “Recovery A” it returns all expected occurrences like “Recovery After” but when I add a new character...
View ArticleSyncGateway Community CPU Limits?
Hi all, we are managing the infrastructure for an application that is using the SG 2.8.3 Community Edition to enrich data and manage the access to documents via channels. The application is...
View ArticleCblite tool incompatible with latest couchbase-lite-ios?
I upgraded couchbase-lite-ios to 3.1.4 and now when I try to use cblite to view a db get the error: Error: Couldn't open database db.cblite2: database is in a newer file format than this software...
View ArticleHow can I get the previous data of a document before it is updated via...
Retained<C4Document> putDocument(const C4DocPutRequest& rq, size_t* outCommonAncestorIndex, C4Error* outError) override { dbImpl()->mustBeInTransaction(); if ( rq.docID.buf &&...
View ArticleRename database already in production?
After upgrading couchbase-lite-ios, we have started seeing the warning: user.db is not a valid database name, etc. I understand the reason for disallowing periods, but I don’t see any API for renaming...
View ArticleCouchbase-lite-java in arm64 architecture
hi everyone, I created a small project in java using the couchbaselite 3.1.1 library…I wanted to compile it for an arm64 architecture and I get this error how can I use this library in arm64 thanks in...
View ArticleCouchbase Lite 1.4.4 and .NET 7
I’m upgrading a client’s Xamarin Android app to .NET 7 Android. I’m unfamiliar with Couchbase.Lite and am beginning the learning curve. The app is running an old version of Couchbase.Lite (1.4.4)...
View Article