asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xikui Wang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ASTERIXDB-1949) Scan feed connections when drop-function and drop-dataverse
Date Tue, 20 Jun 2017 16:24:00 GMT
Xikui Wang created ASTERIXDB-1949:
-------------------------------------

             Summary: 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)

Mime
View raw message