Sync gateway Changes Feed Very, Very Slow
I am developing an app using locally installed sync gateway 2.0.0 and couchbase server 5.1 So my bucket size is relatively small , I got 5800 items in my bucket (this is just a test data). But when I...
View ArticleSync Gateway not removing documents from channel
Hello everybody, my sync gateway is currently not syncing documents when I remove them from the channel. It’s strange because if I add a document to a channel, it gets synced right away to that...
View ArticleCannot understand how to use SGLOAD on Windows, please help
Hello! I want to preform some load testing on my sync gateway server. I found out that there are two availbale tools for now. This one seems to be the newest: GitHub couchbaselabs/sgload Load testing...
View ArticleTrying to find docs for Sync Gateway load testing tools (sgload and gateload)
I am trying to find any documentation for following load testing tools for Sync Gateway: 1 ) https://github.com/couchbaselabs/gateload 2) https://github.com/couchbaselabs/sgload For now I failed to...
View ArticleCB Indexes with some common properties
Hi, I would like to know the best approach for making the CB indexes in the following case. Suppose I have 2 different indexes let index = IndexBuilder.valueIndex(items:...
View ArticleSync gateway 2.7.3 cannot use couchbase schema to connect to couchbase server
Environment Autonomous Operator couchbase server version: 6.5.1 enterprise sync gateway version: 2.7.3 enterprise Sync Gateway Config "databases": { "foo": { "server":...
View ArticleDocumentation 1.4 is removed from Couchbase portal
Hi, Today I saw that the documentation for 1.4 (old version, compatible with CouchDB) has been removed from the Couchbase Portal. I need this to read the basic “how to” of the old version 1.4, because...
View ArticleSync 1 objet and only 1 for each client on mobile application
Here a simple mobile application : each user give personal informations store in a json object. The application return to the client only hers informations and this json. On their mobile, for privacy...
View ArticleCouchbase.lite Xamarin forms on macOS
I am wishing to port my Xamarin.Forms project now to macOS. Is there a way to “Activate” Couchbase lite on this platform? It is (of course) giving me an exception when it is trying to get...
View ArticleSync Gateway TimeOut at Launch
My gateway keeps giving me this error: Timeout 1m15s exceeded -- auth.(*Authenticator).rebuildChannels() at auth.go:176 RebuildChannels returned error: [1080] Timeout 1m15s exceeded...
View ArticleQuery to have created, deleted, update records
Hi, Based on the Xamarin example I am creating a layer that does something similar to what is possible with Firebase. There I have the possibility to get hold of created, updated and deleted records...
View ArticleSyncgateway TimeOut with 2 Data Node Cluster
Greetings! I am in a rather peculiar position where my syncgateway keeps timing out at launch each time i have more than one data node (works perfectly when other nodes are not data nodes). I first...
View ArticleCouchbaseLite/DATABASE: database disk image is malformed (11/11)
Hi, I’m keeping an instance of CouchbaseLite db in the SD Card. And the database is getting malformed at times. I’m performing database open and close for each transaction and still facing the same...
View Articlegroupby and join in couchbase lite for android
I have the following documents for use in Android: Users: {“Type” : “User”, “UserId” : 920, “InitialCommitment”: 2000, “BlockId”: 1, “_id” : “User_1_920”}, {“Type” : “User”, “UserId” : 921,...
View ArticleBest practice for replication start/stop in Couchbase Lite?
Hi I have an application in Xamarin Forms with 100K+ docs. replicating between the app on the mobile and the server. There are not many changes once the replicator has started and is ready. But I find...
View ArticleReplication among multiple servers in Couchbase Community Edition
Hi, Can i use 2 Node Server and 1 Sync server in Couchbase Community Edition? When i try to use like this without num_index_replicas Syncgateway trying to fail to create an index. GSI CreateIndex() -...
View ArticleIs there a way to use cblite tool to replicate and filter by channels?
I know I can create a new sync gateway user and assign specific channels, but I’m wondering if there is a way to run the command: ./cblite cp ws://localhost:4984/default ./db/default.cblite2 and still...
View ArticleInitializer for Couchbase.Lite.Database threw an exception in window 10 system
Hi, We are facing some strange issues when we install our desktop app which is used couchbase .net lite 2.7.1. This happens only in few systems not every system. Any help would be grateful for us....
View ArticleCouchbase lite in Android
Hi, I install the couchbase server 6.5 and create bucket, and connect sync gateway with CB server successfully, however for Couchbase lite in android mobile, I have some problems when build the...
View ArticleIn rare cases documents with recycled ids are not pushed up
CBL 2.7.1 on Android SG 2.7.3 This forum post from 3 years ago is similar to my situation. In my case the document ID is derived by the user entered content. This dramatically speeds up getting a...
View Article