mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
parent
9288515b2b
commit
5701c84b21
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ public class FileCheckpointIO implements CheckpointIO {
|
|||
logger.error("Retrying after exception writing checkpoint: " + ex);
|
||||
Thread.sleep(500);
|
||||
Files.move(tmpPath, dirPath.resolve(fileName), StandardCopyOption.ATOMIC_MOVE);
|
||||
} catch (Exception ex2) {
|
||||
} catch (IOException | InterruptedException ex2) {
|
||||
logger.error("Aborting after second exception writing checkpoint: " + ex2);
|
||||
throw ex;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue