ARTEMIS-1354 Critical IO Error on AIO write failure
(cherry picked from commit 652573a5a9
)
This commit is contained in:
parent
e5ef406e4e
commit
eacaffe16a
|
@ -305,6 +305,7 @@ public final class AIOSequentialFileFactory extends AbstractSequentialFileFactor
|
||||||
libaioFile.write(position, bytes, buffer, this);
|
libaioFile.write(position, bytes, buffer, this);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
callback.onError(-1, e.getMessage());
|
callback.onError(-1, e.getMessage());
|
||||||
|
onIOError(e, "Failed to write to file", sequentialFile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue