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

[BP 6.6.3 MB-44931] : Eventing function with feed boundary (from now) sometimes deploy from everything

    XMLWordPrintable

Details

    • 1

    Description

      For the new 6.6.2 GA release I just saw an issue essentially identical to MB-44931 which has been fixed in Chesire-Cat/7.0.0

      I had an Eventing source bucket with 10M docs and was working with an Eventing function that is set/fixed to have a feed boundary "from now" yet occasionally when I resume that function "archive_all_keys_by_prefix" it processes all 10 Million docs when it should do nothing.

      I had just two functions one deployed "purge_all_keys_by_prefix" and the other "archive_all_keys_by_prefix" I was pausing and resuming on resume it processed 10M docs.

      I took a CB collect when this happened 

      ls -ltr cbcollect_info_BAD_deployed_from_everything.zip
      -rw-r--r-- 1 root root 21573374 Apr 19 16:30 cbcollect_info_BAD_deployed_from_everything.zip

      This has been uploaded via

      curl --upload-file cbcollect_info_BAD_deployed_from_everything.zip https://s3.amazonaws.com/cb-engineering/

      Attachments

        Issue Links

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

          Activity

            wayne Wayne Siu added a comment -

            Added to 6.6.3.

            wayne Wayne Siu added a comment - Added to 6.6.3.

            Description for release notes:

            Summary: A race condition exists where an Eventing Function with a Feed Boundary set to "From now" sometimes ignores it's checkpoint and resumes processing form Everything.
            This issue only impacts the UI and can occur when a user rapidly invokes pause / edit / resume in succession.

            Workaround: The issue can be avoided by using the REST APIs to pause and resume Eventing Functions in production.

            amarantha.kulkarni Amarantha Kulkarni (Inactive) added a comment - Description for release notes: Summary : A race condition exists where an Eventing Function with a Feed Boundary set to "From now" sometimes ignores it's checkpoint and resumes processing form Everything. This issue only impacts the UI and can occur when a user rapidly invokes pause / edit / resume in succession. Workaround : The issue can be avoided by using the REST APIs to pause and resume Eventing Functions in production.

            Build couchbase-server-6.6.3-9783 contains eventing commit dc46fb8 with commit message:
            MB-45785: Add /config endpoint to retrieve/update deployment config

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.3-9783 contains eventing commit dc46fb8 with commit message: MB-45785 : Add /config endpoint to retrieve/update deployment config

            Build couchbase-server-6.6.3-9783 contains eventing commit b751018 with commit message:
            MB-45785: Move all settings/depcfg UI endpoints to /functions

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.3-9783 contains eventing commit b751018 with commit message: MB-45785 : Move all settings/depcfg UI endpoints to /functions

            Description for release notes:
            Move MB-45785 to Fixed Issues section.

            jon.strabala Jon Strabala added a comment - Description for release notes: Move  MB-45785  to Fixed Issues section.

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty