History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: COR-717
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andrew Zhang
Votes: 0
Watchers: 0
Operations

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

MClose should synchronize on global lock

Created: 13/Jul/07 12:30 AM   Updated: 22/Aug/07 07:46 PM
Component/s: None
Affects Version/s: None
Fix Version/s: Denmark - v6.3

Time Tracking:
Original Estimate: Not Specified
Remaining Estimate: 0h
Time Spent - 2h
Time Spent: 2h
Time Spent - 2h

Resolution Date: 22/Aug/07 07:46 PM
Labels:
Participants: Andrew Zhang
Number of Attachments: 0
Number of Comments: 0


 Description  « Hide
Although stream().isClosed and transaction().commit() are both synchronzied on global lock, they should be one single block. Otherwise, race condition still may happen between these two steps.

MClose#processAtServer:

if (stream().isClosed()) {
return true;
}
transaction().commit();


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.