Add heap node version tracking and locking