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

XDCR should allow filtering expression on expiration (or expiry)

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Major
    • None
    • 7.1.0
    • XDCR
    • None
    • 0

    Description

      Despite the fact XDCR allows setting expiration (or expiry) on the destination XDCR does not allow filtering on expiration.

      we should be able to build expressions like the following.
      REGEXP_CONTAINS(META().id, "airport") AND (META().expiration = 0)
      The above might be used in conjunction with say an Eventing that rests the TTL to avoid a double mutation race.   Regardless of Eventing use cases there is other utility to exposing this filed and perhaps others form META

      It seems there is a very limited set of fields form META that can actually be used.

      Attachments

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

        Activity

          People

            jon.strabala Jon Strabala
            jon.strabala Jon Strabala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty