Skip to content

Commit

Permalink
fix: asynchronous bug in data retrieval webservice
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolife999 committed Sep 19, 2024
1 parent 6f073a7 commit 494fa63
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ public void execute(SendResponse resp) throws ArcException {

TableToRetrieve table = clientDao.getAClientTableByName(arcClientIdentifier.getClientInputParameter());

this.clientDao.deleteFromTrackTable(table.getTableName());

// transfer data to http response
ServiceDao.execQueryExportDataToResponse(resp.getWr(), table, this.arcClientIdentifier.getFormat(), clientDao);

Expand All @@ -47,8 +49,6 @@ public void execute(SendResponse resp) throws ArcException {
if (arcClientIdentifier.getFormat().isParquet())
this.clientDao.deleteParquet(table);

this.clientDao.deleteFromTrackTable(table.getTableName());

LoggerHelper.info(LOGGER, "Table " + table.getTableName() + " had been retrieved and dropped.");

} else {
Expand Down

0 comments on commit 494fa63

Please sign in to comment.