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

Completely disable locking on persistant chronicle map file, including file creation #276

Closed
ericlop opened this issue Apr 27, 2021 · 0 comments
Assignees

Comments

@ericlop
Copy link

ericlop commented Apr 27, 2021

Hi,

Recently, a new jvm properties "chronicle.map.disable.locking" was managed in chronicle map to disable file locking

However, a file lock is still present during persistent file creation, even if the previous property is set ( private method fileLockedIO called in ChronicleMapBuilder class). I need to disable completely locking for CephFS system, due to this limitation :
https://github.com/ceph/ceph-client/blob/664f1e259a982bf213f0cd8eea7616c89546585c/fs/locks.c
/* Don't allow mandatory locks on files that may be memory mapped and shared */

Is it possible to add this possibility in chronicle-map?

Thanks,  

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

No branches or pull requests

2 participants