Actyx / banyan

Apache License 2.0
36 stars 3 forks source link

Fix retain bug #64

Closed rklaehn closed 3 years ago

rklaehn commented 3 years ago

There was a bug in retain that caused stuff in the non-fixed part of the tree to be collected.

Basically, it was only looking at the sealed flag. But there are situations where you have sealed nodes that do not belong to the sealed part of the tree.

Retain does the right thing now, and does not consider sealed nodes that have a higher level as previous nodes.