Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-7366

Minor fixes needed in Document Expiry Tutorial

    XMLWordPrintable

Details

    Description

      The "or" in this statement needs to be removed:
      "Goal: When a document in an existing bucket is about to expire, a new document or is created in a different bucket."

      Couple of other sentences that could use some cleanup on the same page:

      The example requires a document to be created in the 'source' bucket with a key of SampleDocument2, a value of

      {'a_key': 'a_value'}

      , and most importantly that the document’s expiration (or TTL) be set to 600 seconds or 10 minutes*)*.

      --------------------------------------------------------------------------------------------------------------------------------

      Wait a few minutes, return to Eventing in the UI and Look at the Log again for add_timer_before_expiry at two minutes before the TTL was scheduled the timer will have fired and executed DocTimerCallback (note the logs display by the "Log" link are in reverse time order)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jon.strabala Jon Strabala
            pavithra.mahamani Pavithra Mahamani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty