handle any exception when failing to snapshot
This commit is contained in:
parent
8266315f51
commit
a0f4359ffa
|
@ -202,7 +202,7 @@ public class FsTranslog extends AbstractIndexShardComponent implements Translog
|
|||
newSnapshot.seekForward(snapshot.position());
|
||||
return newSnapshot;
|
||||
}
|
||||
} catch (IOException e) {
|
||||
} catch (Exception e) {
|
||||
throw new TranslogException(shardId, "Failed to snapshot", e);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue