ARTEMIS-1354 Critical IO Error on AIO write failure

This commit is contained in:
Martyn Taylor 2017-08-17 14:41:49 +01:00 committed by Clebert Suconic
parent 300e5f6c63
commit 652573a5a9
1 changed files with 1 additions and 0 deletions

View File

@ -305,6 +305,7 @@ public final class AIOSequentialFileFactory extends AbstractSequentialFileFactor
libaioFile.write(position, bytes, buffer, this);
} catch (IOException e) {
callback.onError(-1, e.getMessage());
onIOError(e, "Failed to write to file", sequentialFile);
}
}