Details
-
Bug
-
Resolution: Fixed
-
Major
-
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
- backports to
-
MB-60839 [BP] Stop saving anonymous functions to disk in ns_audit
- Resolved