Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-38730

[BP MB-29090] - Differentiate between Delete vs Expiry in OnDelete()

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.5.0, 6.0.4, 6.5.1
    • 6.6.0
    • eventing

    Description

      Due to MB-26907, the only way by which a user can create a system that alerts them on a document's expiry is by creating a timer at the expiration time(meta.expiration) or before that. 

      Why we need an OnExpiry Handler:

      • This mechanism (using Timers) is not elegant and we should it make it easy for the user to consume Expiry events.
      • Timers impose a overhead of managing it using local storage(plasma or buckets) there by affecting sizing guidelines. 
      • Timer's execution is not guaranteed at the specified time if the load on the system is high & the eventing nodes are under provisioned.

      This is a tracking bug to implement an OnExpiry handler once MB-26907 implements a system by which DCP consumers can differentiate between Delete and Expiry.

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-38730
          # Subject Branch Project Status CR V

          Activity

            jeelan.poola Jeelan Poola created issue -
            jeelan.poola Jeelan Poola made changes -
            Field Original Value New Value
            Link This issue Clones MB-29090 [ MB-29090 ]
            jeelan.poola Jeelan Poola made changes -
            Link This issue depends on MB-26907 [ MB-26907 ]
            jeelan.poola Jeelan Poola made changes -
            Fix Version/s 6.6.0 [ 16787 ]
            Fix Version/s Cheshire-Cat [ 15915 ]
            jeelan.poola Jeelan Poola made changes -
            Link This issue backports to MB-38724 [ MB-38724 ]
            jeelan.poola Jeelan Poola made changes -
            Link This issue backports to MB-38724 [ MB-38724 ]
            jeelan.poola Jeelan Poola made changes -
            Link This issue blocks MB-38724 [ MB-38724 ]
            lynn.straus Lynn Straus made changes -
            Labels approved-for-6.6.0
            ankit.prabhu Ankit Prabhu made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            amarantha.kulkarni Amarantha Kulkarni (Inactive) made changes -
            Link This issue is triggering DOC-6680 [ DOC-6680 ]
            simon.dew Simon Dew made changes -
            Remote Link This issue links to "Page (Couchbase, Inc. Wiki)" [ 19716 ]
            ritam.sharma Ritam Sharma made changes -
            VERIFICATION STEPS Closing out the improvement since tests have been implemented.
            Status Resolved [ 5 ] Closed [ 6 ]
            jeelan.poola Jeelan Poola made changes -
            Link This issue is a backport of MB-29090 [ MB-29090 ]

            People

              ankit.prabhu Ankit Prabhu
              jeelan.poola Jeelan Poola
              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