Apache Ignite Developers - Legacy Mail Archive
Search
everywhere
only in this topic
Advanced Search
[jira] [Created] (IGNITE-8773) Issues with IgniteNativeIoLib and OpenOptions
Classic
List
Threaded
♦
♦
Locked
1 message
Anton Vinogradov (Jira)
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
[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)
Free forum by Nabble
Edit this page