[
https://issues.apache.org/jira/browse/ASTERIXDB-1949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xikui Wang resolved ASTERIXDB-1949.
-----------------------------------
Resolution: Fixed
> Scan feed connections when drop-function and drop-dataverse
> -----------------------------------------------------------
>
> Key: ASTERIXDB-1949
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-1949
> Project: Apache AsterixDB
> Issue Type: Improvement
> Reporter: Xikui Wang
> Assignee: Xikui Wang
>
> In the previous change about the function usage check[1], the logic of
> function usage check becomes complicated when there is cross-referencing of
> functions between dataverses. After several discussions, we decided to change
> the check back to scan all possible usages in feed connections, instead of
> maintaining a reference count in metadata. Two scenarios are covered by this
> change:
> 1. If a dataverse has functions that are used by others, the drop-dataverse
> statement will be prevented.
> 2. If a function is used by any other feed connections, the drop-function
> statement will be prevented.
> [1] https://asterix-gerrit.ics.uci.edu/1763
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)