s_logger.info("replacing {} {}", buid, ticker);
try {
LocalDateDoubleTimeSeries hts = htsProvider.getHistoricalTimeSeries(ExternalIdBundle.of(buid),
BLOOMBERG_DATA_SOURCE_NAME, replaceWithProvider, dataField);
if (hts != null) {
Map<ExternalId, UniqueId> addedTS = loader.loadTimeSeries(Sets.newHashSet(buid), replaceWithProvider, dataField, null, null);
if (addedTS.get(buid) != null) {
htsMaster.remove(infoDoc.getUniqueId());
s_logger.info("removed TS with buid={}, ticker={}, dataProvider={}, dataField={}", new Object[] {buid, ticker, findProvider, dataField});
}
}