This commit is contained in:
parent
0edeb16e22
commit
001c5e431b
1 changed files with 7 additions and 1 deletions
|
|
@ -131,9 +131,15 @@ public class ExportFromHazelcast {
|
|||
((ArrayList<SDf02>) tableRows).sort(Comparator.comparing(SDf02::getInSDfId));
|
||||
}
|
||||
if (tableRows.isEmpty()) {
|
||||
log.info("uuid {}. Map {} is empty, generationId {}, skip file creation", resultContainer.getUuid(), resultContainer.getTableForExport().getHazelcastMapName(), resultContainer.getGroupId());
|
||||
boolean isDelOk = xmlFile.delete();
|
||||
log.info("uuid {}. Map {} is empty, generationId {}, deleting empty xml file: {}",
|
||||
resultContainer.getUuid(),
|
||||
resultContainer.getTableForExport().getHazelcastMapName(),
|
||||
resultContainer.getGroupId(),
|
||||
isDelOk);
|
||||
//временное решение по таску http://jira.mfd.msk:8088/browse/CLS-897
|
||||
//в dev версии изменена логика на стороне clearing-service и такой проблемы быть не должно
|
||||
|
||||
return StageResult.ERROR;
|
||||
// log.debug("uuid {}, send to SFTP path \"{}\"", resultContainer.getUuid(), path);
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue