Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.3.0
-
None
Description
Currently, the synchronization for CachingStrategy is a little inconsistent. DFSOutputStream#setDropBehind modifies the strategy object, but there's nothing protecting that object against concurrent use in createBlockOutputStream. Similarly, DFSInputStream#setDropBehind is synchronized, but not all the uses of cachingStrategy are.