Fix for good DefaultTrackingFileManager #1800#1812
Fix for good DefaultTrackingFileManager #1800#1812martins-avots wants to merge 3 commits intoapache:masterfrom
Conversation
|
Yes it is, but observe this: #1800 (comment) Summary:
|
|
Check out my counter proposal: #1814 |
Isn't FileLockNamedLock and DefaultTrackingFileManager's basically the same type of lock aka FileChannel#lock where shared can be set freely? So instead of For
So this means I should get the factory like this? @Inject
public DefaultTrackingFileManager(FileLockNamedLockFactory factory) {
[...]
} |
|
Yes, you can do that too, but there were other refactorings needed, also in same PR. |
|
@martins-avots am closing this PR, what we wanted is merged. Thanks! |
@cstamas Is the usage of FileLockNamedLockFactory correct for
DefaultTrackingFileManager#read?