Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip BinLogTest on OSX for Java 9 and newer due to fcntl(fd, F_FULLSYNC) being slow. #152

Merged
merged 1 commit into from
May 7, 2020

Conversation

jameshilliard
Copy link
Contributor

Note: Java 8 and older does not use fcntl(fd, F_FULLSYNC) and won't fully flush buffers to disk.

See: AdoptOpenJDK/openjdk-jdk9@4449192

…NC) being slow.

Note: Java 8 and older does not use fcntl(fd, F_FULLSYNC) and won't fully flush
buffers to disk.
@ar
Copy link
Member

ar commented May 7, 2020

That's a very good finding that deserves an issue report so we can investigate how to work around this issue in Java 9 and newer in OSX. If we just ignore the problem, then BinLog would become dangerous to use or could cause a slowdown at runtime. Can you add it and link it to this PR? I'm OK to merge the PR once the issue is there, so that we don't forget about it.

@jameshilliard
Copy link
Contributor Author

Opened issue #153.

@ar ar merged commit 0e83d63 into jpos:master May 7, 2020
@jameshilliard jameshilliard deleted the fsync-binlog branch May 8, 2020 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants