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

Schedule the stats snapshot task before purging TAP connections upon the engine shutdown

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1.0
    • Component/s: couchbase-bucket
    • Security Level: Public
    • Labels:
      None

      Description

      When the engine shuts down, we schedule the stats snapshot task and destroy all the TAP connection instances as part of the shutdown process. As the stats snapshot task needs to persist TAP stats, it should be scheduled before purging those TAP connections from memory.

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

        Activity

        Show
        chiyoung Chiyoung Seo added a comment - http://review.couchbase.org/#/c/23919/
        Hide
        thuan Thuan Nguyen added a comment -

        Integrated in github-ep-engine-2-0 #481 (See http://qa.hq.northscale.net/job/github-ep-engine-2-0/481/)
        MB-7524 Schedule the stats snapshot before purging TAP connections (Revision 50b7e585342fe42f0f7004227ccf82ca78b3e808)

        Result = SUCCESS
        Chiyoung Seo :
        Files :

        • tests/ep_testsuite.cc
        • src/ep.cc
        • src/statsnap.cc
        • src/statsnap.hh
        • src/ep_engine.cc
        Show
        thuan Thuan Nguyen added a comment - Integrated in github-ep-engine-2-0 #481 (See http://qa.hq.northscale.net/job/github-ep-engine-2-0/481/ ) MB-7524 Schedule the stats snapshot before purging TAP connections (Revision 50b7e585342fe42f0f7004227ccf82ca78b3e808) Result = SUCCESS Chiyoung Seo : Files : tests/ep_testsuite.cc src/ep.cc src/statsnap.cc src/statsnap.hh src/ep_engine.cc
        Hide
        maria Maria McDuff (Inactive) added a comment -

        Not QE verifiable.

        Show
        maria Maria McDuff (Inactive) added a comment - Not QE verifiable.

          People

          • Assignee:
            mikew Mike Wiederhold
            Reporter:
            chiyoung Chiyoung Seo
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes