Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-3040

[3.1.1 backport] Suppress OnFeedError logging on database close

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.1.1
    • None
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 126
    • 1

    Description

      When we close the cbgt manager, it tears down feeds in a way that triggers OnFeedError for each pIndex. This results in relatively verbose info-level logging about feed EOF errors. It would be preferable to suppress this logging when the manager has been intentionally closed (as opposed to an unexpected EOF for a running manager).

      We should set a 'closing' flag on the sgMgrEventHandlers when we stop the manager, and suppressing the logging when that flag is set to true.

      Attachments

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

        Activity

          People

            tor.colvin Tor Colvin
            adamf Adam Fraser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty