Potential crash if nodes looked up, whilst being destroyed outside of commit

Description

If a SDS node is linked by e.g. a subscriber notification process, then a commit deletes that node, the destruction of the node is delayed by link counting such that it is outside of the commit write protection.
If at the same time another transaction looks up that node, it can cause the node to be in use whilst it is being destroyed, ultimately causing unpredictable behaviour, e.g. crashes.

During the commit, the tree should be removed from the node table as soon as possible, i.e. ahead of it being destroyed, to avoid it being looked up again.

Conclusion

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Created June 24, 2015 at 8:43 AM
Updated June 24, 2015 at 4:06 PM
Resolved June 24, 2015 at 4:06 PM