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

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

  •  21-12-2019
  •  | 
  •  

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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top