Buggy code:
@ Component ( "cacheService" ) public class CacheService extends BasicService { private static final Logger logger = LoggerFactory . getLogger ( CacheService . class ) ; private static ConcurrentMap < String , DataSource > olapDataSources = new ConcurrentHashMap < String , DataSource > ( ) ; @ Autowired private CubeService cubeService ; @ Autowired private CacheManager cacheManager ; @ PostConstruct public void initCubeChangeListener ( ) throws IOException { } public void setCubeService ( CubeService cubeService ) { } protected void cleanDataCache ( String storageUUID ) { } protected void cleanAllDataCache ( ) { } private static void removeOLAPDataSource ( String project ) { } public static void removeAllOLAPDataSources ( ) { } public DataSource getOLAPDataSource ( String project ) { } public void rebuildCache ( Broadcaster . TYPE cacheType , String cacheKey ) { final String log = ( ( "rebuild<seq2seq4repair_space>cache<seq2seq4repair_space>type:<seq2seq4repair_space>" + cacheType ) + "<seq2seq4repair_space>name:" ) + cacheKey ; CacheService . logger . info ( log ) ; try { switch ( cacheType ) { case CUBE : rebuildCubeCache ( cacheKey ) ; break ; case STREAMING : getStreamingManager ( ) . reloadStreamingConfigLocal ( cacheKey ) ; break ; case KAFKA : getKafkaManager ( ) . reloadKafkaConfigLocal ( cacheKey ) ; break ; case CUBE_DESC : getCubeDescManager ( ) . reloadCubeDescLocal ( cacheKey ) ; break ; case PROJECT : reloadProjectCache ( cacheKey ) ; break ; case INVERTED_INDEX : getIIManager ( ) . reloadIILocal ( cacheKey ) ; getHybridManager ( ) . reloadHybridInstanceByChild ( INVERTED_INDEX , cacheKey ) ; getProjectManager ( ) . clearL2Cache ( ) ; break ; case INVERTED_INDEX_DESC : getIIDescManager ( ) . reloadIIDescLocal ( cacheKey ) ; break ; case TABLE : getMetadataManager ( ) . reloadTableCache ( cacheKey ) ; IIDescManager . clearCache ( ) ; CubeDescManager . clearCache ( ) ; break ; case EXTERNAL_FILTER : <START_BUG> getMetadataManager ( ) . reloadTableCache ( cacheKey ) ; <END_BUG> IIDescManager . clearCache ( ) ; CubeDescManager . clearCache ( ) ; break ; case DATA_MODEL : getMetadataManager ( ) . reloadDataModelDesc ( cacheKey ) ; IIDescManager . clearCache ( ) ; CubeDescManager . clearCache ( ) ; break ; case ALL : DictionaryManager . clearCache ( ) ; MetadataManager . clearCache ( ) ; CubeDescManager . clearCache ( ) ; CubeManager . clearCache ( ) ; IIDescManager . clearCache ( ) ; IIManager . clearCache ( ) ; HybridManager . clearCache ( ) ; RealizationRegistry . clearCache ( ) ; ProjectManager . clearCache ( ) ; KafkaConfigManager . clearCache ( ) ; StreamingManager . clearCache ( ) ; HBaseConnection . clearConnCache ( ) ; cleanAllDataCache ( ) ; CacheService . removeAllOLAPDataSources ( ) ; break ; default : throw new RuntimeException ( ( "invalid<seq2seq4repair_space>cacheType:" + cacheType ) ) ; } } catch ( IOException e ) { throw new RuntimeException ( ( "error<seq2seq4repair_space>" + log ) , e ) ; } } private void rebuildCubeCache ( String cubeName ) { } public void removeCache ( Broadcaster . TYPE cacheType , String cacheKey ) { } private void removeCubeCache ( String cubeName , CubeInstance cube ) { } private void reloadProjectCache ( List < ProjectInstance > projects ) { } private void reloadProjectCache ( String projectName ) { } }

Fix:
getMetadataManager ( ) . reloadExtFilter ( cacheKey ) ;