During ejection, everything (including key, metadata, and value) will be ejected.
Couchbase Server keeps all data until explicitly deleted, but will reject any new data if you reach the quota (dedicated memory) you set for your bucket.
When the memory quota is reached, Couchbase Server ejects data that has not been used recently.
During ejection, only the value will be ejected (key and metadata will remain in memory).