Clone
Xikui Wang <xkkwww@gmail.com>
committed
on 28 Jul 17
[ASTERIXDB-1949][FUN][ING] Function usage check refactoring in feed
- user model changes: no
- storage format changes: no
- interface change… Show more
[ASTERIXDB-1949][FUN][ING] Function usage check refactoring in feed

- user model changes: no

- storage format changes: no

- interface changes: yes

  Removed several interefaces for maintaining reference count.

  Added getFunctions and getFeeds method for MetadataNode.

Details:

1. Change the usage check from reference count to scan feed connections

  in all dataverses.

2. Add test case for drop dataverse which has function that is being

  used in other dataverse. This operation should be blocked.

3. Fix small bug in apply function metadata which the function dataverse

  was not recorded properly.

Change-Id: I568f7af18e69216ff2a5fd3b623a1667809b2f95

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1787

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

Show less

master + 4 more