apl-cornell / fabric

Distributed persistent programming language with secure information flow types
http://www.cs.cornell.edu/projects/fabric/
Other
28 stars 4 forks source link

Memory leak for "empty" transactions #33

Closed tmagrino closed 5 years ago

tmagrino commented 5 years ago

There is a memory leak where the TransactionManager on the worker will not have TransactionPrepare objects cleared from pendingPrepares if no nodes to contact (as in the case of permission check transactions). Fix will be made shortly. A refactoring of TransactionPrepare and the rest of the code for running 2PC over asynchronous messaging should be considered to help prevent more bugs like this.