Details
-
Bug
-
Resolution: Unresolved
-
Critical
-
6.5.0
-
Untriaged
-
Unknown
Description
As discussed today, if user has directly utilized N1QL() wrapper in event handler, then the recursive mutation check is bypassed as those are enforced by transpiler. Detect such direct use of N1QL() function and do a runtime check to ensure buckets being written to form a directed acyclic graph. This can be cached (using a limited size map) with hash of the statement as key, and result of check as the value of the cache.
Attachments
Issue Links
- Clones
-
MB-35394 Do recursion checks for static N1QL statements in eventing functions
- Closed