I am a newbie in using Couchbase and I want to ask a question concerning Couchbase workflow.
I am putting many items into the Couchbase (not a memcached one) data bucket. Am I right that these items will be in the data bucket until expiration time is reached? And when it is reached there is no way that Couchbase will delete them automatically. Actual deletion of the item will happen only if the client asks for that item. In that case Couchbase understands that the item is expired, returns null and delete item from the memory.
This is important for me, because that highly affects how my solution understands item missing in the cache. If everything works as I think, then item is missing only if it hasn't been put into cache yet or has been expired or it was in memory and server was rebooted. And Couchbase will always put an item into cache even if there is no free RAM left: it will just put it into HDD, right?
What happens with the items storedon HDD due to lack of RAM if server was rebooted? Will they also be erased?