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

Add Context to docTimer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 6.0.0
    • 5.5.0
    • eventing
    • None
    • Untriaged
    • Unknown

    Description

      Add ability to carry an opaque context in docTimer, similar to cronTimer so users can supply additional information when registering docTimers that is passed to the callback when the timer fires.

      Old signature:
      docTimer(func_callback, timestamp, doc_id);

      New signature:
      docTimer(func_callback, timestamp, doc_id, [payload_context]);

      Payload can be limited to some reasonable value, say 500kB. If it exceeds this, the timer creation should fail.

      Attachments

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

        Activity

          People

            satya.nand Satya Nand (Inactive)
            venkatraman.subramanian Venkatraman Subramanian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 40h
                40h
                Remaining:
                Remaining Estimate - 40h
                40h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty