Issue Details (XML | Word | Printable)

Key: DIRMINA-72
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Trustin Lee
Reporter: Trustin Lee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MINA

ThreadPoolFilter sometimes fires events in non-sequencial order.

Created: 06/Jul/05 05:59 PM   Updated: 11/Jul/05 01:16 PM
Return to search
Component/s: None
Affects Version/s: 0.7.0, 0.7.1, 0.7.2
Fix Version/s: 0.7.3

Time Tracking:
Not Specified

Resolution Date: 11/Jul/05 01:16 PM


 Description  « Hide
It seems like there's a concurrency issue related with ThreadPoolFilter. I've created a test case for this issue, and was able to reproduce it in my single processor machine. I'll check in the fix soon, but we need more tests on multiprocessor machines.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #209435 Wed Jul 06 09:01:12 UTC 2005 trustin Fix for DIRMINA-72
* Call on ThreadPoolFilter.getSessionBuffer() was not synchronized properly.
* Added a regression test for this issue.
Files Changed
MODIFY /directory/network/branches/0.7/src/java/org/apache/mina/util/BaseThreadPool.java
MODIFY /directory/network/trunk/project.xml
ADD /directory/network/trunk/src/test/org/apache/mina/filter/ThreadPoolFilterRegressionTest.java
MODIFY /directory/network/trunk/src/java/org/apache/mina/filter/ThreadPoolFilter.java

Repository Revision Date User Message
ASF #209570 Thu Jul 07 07:09:09 UTC 2005 trustin Fix for DIRMINA-72
* busySessionBuffers has not been maintained correctly.
Files Changed
MODIFY /directory/network/trunk/src/java/org/apache/mina/filter/ThreadPoolFilter.java

Repository Revision Date User Message
ASF #209706 Fri Jul 08 05:00:11 UTC 2005 trustin Forgot to commit the fix for DIRMINA-72
Files Changed
MODIFY /directory/network/branches/0.7/src/java/org/apache/mina/util/BaseThreadPool.java