Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
Helium
-
None
-
None
-
Operating System: All
Platform: All
-
2252
Description
Looking at a heap dump showed stale Shard(Read)WriteTransaction instances that aren't getting garbage collected.
This was caused by recent changes that removed the ThreePhaseCommitCohort actor class however ThreePhaseCommitCohort was the one who terminated the ShardWriteTransaction actor after forwarding the commit to the Shard.
Solution:
After forwarding the ReadyTransaction message to the shard, the ShardWriteTransaction actor is no longer needed so it can self-destruct (i.e. send PoisonPill to itelf).