Details
-
Task
-
Resolution: Unresolved
-
Major
-
None
-
7.1.4, 7.2
-
None
-
Production
-
0
Description
Background:
Customer has the below query and is referring to the documentation:
- What is the design here, how is the Couchbase designed to function, is it expected to evict all the replicas first and followed by Active documents. Do you have any documentation explaining the thumb rule
Problem:
From the following documentation (https://docs.couchbase.com/server/current/learn/buckets-memory-and-storage/memory.html) , we only see the statement saying that the documents will be ejected from the memory once they reach the high watermark, but it is not clear in the documentation that the documents first ejected from the replica vbukets and then active vbukets.
Description:
When the memory usage reaches the high watermark, the data service starts evicting data from the memory until the memory usage reaches the low watermark (the eviction first from replica and then active VBs), and due to the eviction of documents from memory, the resident ratio of the bucket is reduced.
For additional information, https://www.couchbase.com/blog/a-tale-of-two-ejection-methods-value-only-vs-full