You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Roman Leventov (JIRA)" <ji...@apache.org> on 2018/06/11 13:28:00 UTC
[jira] [Created] (IGNITE-8773) Issues with IgniteNativeIoLib and
OpenOptions
Roman Leventov created IGNITE-8773:
--------------------------------------
Summary: Issues with IgniteNativeIoLib and OpenOptions
Key: IGNITE-8773
URL: https://issues.apache.org/jira/browse/IGNITE-8773
Project: Ignite
Issue Type: Bug
Reporter: Roman Leventov
At least O_CREAT value: [https://github.com/apache/ignite/blob/63dc75b85b12f1c7bea796714c1e88925c16b1ab/modules/direct-io/src/main/java/org/apache/ignite/internal/processors/cache/persistence/file/IgniteNativeIoLib.java#L50|https://github.com/apache/ignite/blob/63dc75b85b12f1c7bea796714c1e88925c16b1ab/modules/direct-io/src/main/java/org/apache/ignite/internal/processors/cache/persistence/file/IgniteNativeIoLib.java#L50,]
is wrong, should be 512 instead of 64: [http://www.delorie.com/djgpp/doc/incs/fcntl.h]
Maybe some other constant values, too.
Also, setupOpenFlags() function: [https://github.com/apache/ignite/blob/63dc75b85b12f1c7bea796714c1e88925c16b1ab/modules/direct-io/src/main/java/org/apache/ignite/internal/processors/cache/persistence/file/AlignedBuffersDirectFileIO.java#L148] is incomprehensive, compare it with completeness of checks in OpenJDK, support for CREATE_NEW, etc.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)