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

Stop saving anonymous functions to disk in ns_audit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.6.0
    • 6.6.2, 6.6.3, 6.6.4, 6.6.5, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.1.4, 7.0.5, 7.1.0, 7.1.1, 7.1.2
    • None
    • 1
    • Yes

    Description

      Stop saving anonymous functions to disk in the event of a ns_audit shutdown (in gen_server terminate hook) and re-reading them on boot. Reason being, that if the ns_audit beam file changes in between saving and reading, we will fail with a "badfun" error. See: https://issues.couchbase.com/browse/CBSE-12404 and the conclusion to understand more. 

      It's probably relatively rare to hit this issue, in practice, but it's still a major issue and something we need to deal with. 

      Attachments

        Issue Links

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

          Activity

            People

              bryan.mccoid Bryan McCoid
              bryan.mccoid Bryan McCoid
              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