// which need to be persisted to DB AND replicated to other clusters.
// The result will be reset to false after a call to CloseTransaction().
return n.subtreeIsDirty ||
len(n.mutation.UpdatedNodes) > 0 ||
len(n.mutation.DeletedNodes) > 0
}
func (n *Node) IsStale(