Usually processes will implement only one warning, and the message gets replicated.
Therefore, we keep only the latest warning message keeping track of the number of warnings