Set Cache Metadata - Full Eviction via CLI


#1

After using the couchbase-cli to create a new cluster (cluster-init) and create a new bucket (bucket-create) how does one change the value of ‘Cache Metadata’ to ‘Full Eviction’ via the CLI?


#2

Hi, Please refer to Couchbase documentation CLI section - http://docs.couchbase.com/admin/admin/CLI/CBcli/cbcli-bucket-metadata-ejection.html.

On separate note you can do “key word” search on documentation to find the specific sections.


#3

Thanks Anil, I did a number of google and forum searches but couldn’t find that page. For those of you who want a more concise answer:

couchbase-cli bucket-edit -c localhost:8091 --bucket=bucketname --bucket-eviction-policy=fullEviction


#4

Thank you. Good feedback for our @techpubs team.