ARTEMIS-1354 Critical IO Error on AIO write failure

(cherry picked from commit 652573a5a9)
This commit is contained in:
Martyn Taylor 2017-08-17 14:41:49 +01:00
parent e5ef406e4e
commit eacaffe16a
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);
}
}