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

Expose Doc Expiry field in DCP Event

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • None
    • master
    • cbdatasource
    • None

    Description

      DCPReceiver implementations are called back with *gomemcached.MCRequest structs, which contain an Extras field that is in raw []byte format.  

       

      There is a method in gomemcached called makeUprEvent() which parses this []btye into an 

      UprEvent struct, which contains: Expiry (uint32), that represents the item expiration time.  

       

      Could the makeUprEvent() function be exported, or alternatively could the UprEvent struct be included in the callback to the DCPReceiver DataUpdate() callback method?

       

       

      Attachments

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

        Activity

          People

            steve Steve Yen
            traun Traun Leyden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty