Clone
Till Westmann
committed
on 18 Nov 18
[NO ISSUE][STO] Let ILSMIOOperations clean up for themselves
- user model changes: no
- storage format changes: no
- interface changes: yes… Show more
[NO ISSUE][STO] Let ILSMIOOperations clean up for themselves

- user model changes: no

- storage format changes: no

- interface changes: yes

 remove ILSMIndex.cleanUpFilesForFailedOperation

 remove ILSMIOOperation.getComponentFiles

 add ILSMIOOperation.cleanup

Details:

Instead of having ILSMIndex instances clean up for ILSMIOOperations, let

the ILSMIOOperations cleanup their component files.

Also avoids a dependency of the interface ILSMIOOperation on

o.a.hyracks.storage.am.lsm.common.impls.LSMComponentFileReferences.

Change-Id: I97a31d018139dcdea15196ae52d91eed5e780fbd

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

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

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

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

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

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

Show less