Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.3.0
-
None
-
None
Description
This can cause a deadlock similar to the one fixed in FLUME-1327. If a put/commit gets the read lock and close() from another thread is called before roll(), then it will lead to a deadlock(since close is waiting on the write lock and roll will be blocked on the monitor which is held by the thread calling close()). This will happen only much less frequently than FLUME-1327, since the close method is called only when the channel is getting stopped.