We are using Couchbase for 1 POC where we are storing around 4-5 lakh documents/day. But, We started saving records from Oct 2020 and continued till now. But, As of now, We can’t see any records from Oct month and no.of records also reduced automatically.
While working on POC, We added 3 servers to the Couchbase servers and initially it was working fine and showing expected no.of documents on each server.
We are using the Enterprise version [6.6.0] of Couchbase on Centos 7 machine.
There could be multiple reasons for this loss:
TTL could be set at bucket level or at document level. Since you have mentioned there was no TTL setup at bucket level, it could be that TTL was set at the document level while inserting those documents. Could you please check
1.TTL could be set at bucket level or at document level. Since you have mentioned there was no TTL setup at bucket level, it could be that TTL was set at the document level while inserting those documents. Could you please check : No, we havent specified expiration while inserting documents.
Bucket type is Couchbase : Is there ejection policy for couchbase bucket type as well ? We did create a cluster of 4 Servers but never reduced RAM capacity.
3.Data was inserted from freeradius : Here is the complete stack :
couchbase-release.x86_64 1.0-4 @/cb-temp
couchbase-server.x86_64 6.6.0-7909 @couchbase-server
libcouchbase-devel.x86_64 2.10.6-1.el7 @couchbase
libcouchbase2-bin.x86_64 2.10.6-1.el7 @couchbase
libcouchbase2-core.x86_64 2.10.6-1.el7 @couchbase
libcouchbase2-libev.x86_64 2.10.6-1.el7 @couchbase
Are you observing that the lost documents are only from Oct ??
If the data loss is from a specific time period then the reason could be due to TTL.
If the data loss is random, then I suspect its due to a bad Failover