Navigation Menu

Skip to content

Commit

Permalink
MB-55053 : Fix UDF functions being loaded into cache every time the f…
Browse files Browse the repository at this point in the history
…unction is executed

Change-Id: I90d0c042e7c154e282c4a6d5b9a9b7a0a8ba8275
Reviewed-on: https://review.couchbase.org/c/query/+/184782
Reviewed-by: Donald Haggart <donald.haggart@couchbase.com>
Reviewed-by: Marco Greco <marco.greco@couchbase.com>
Tested-by: Dhanya Gowrish <dhanya.gowrish@couchbase.com>
  • Loading branch information
dhanyagowrish committed Jan 11, 2023
1 parent b6104e1 commit 5590acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/functions.go
Expand Up @@ -424,7 +424,7 @@ func ExecuteFunction(name FunctionName, modifiers Modifier, values []value.Value
// note that since we reload the body outside of a cache lock (not to lock
// out the whole cache bucket), there might be some temporary pile up on
// storage
if name.CheckStorage() {
if entry.FunctionName.CheckStorage() {
var tag atomic.AlignedInt64

// reserve a change counter and load new body
Expand Down

0 comments on commit 5590acb

Please sign in to comment.