Does Couchbase document expiration affect documents which reference the expired document?

StackOverflow https://stackoverflow.com//questions/24023416

  •  21-12-2019
  •  | 
  •  

Question

Does Couchbase document expiration affect documents which reference the expired document ? E.g. in the "Modelling documents for retrieval" section of the documentation, there are crater documents which reference asteroid documents as follows:

"crater_id" : "crater1", "on_asteroid" : "asteroidA"

Now, if the document with ID "asteroidA" were to expire, would that affect this record for this crater crater1?

Was it helpful?

Solution

No. A document's TTL (expiry) affects just that document.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top