Distributed Systems, Algorithms, Computer Science, Database, Scalability.
126–128: Set the logical time to the maximum of the current logical time and current physical time of the node. Line 130–131: If the logical time is still same, we increment the causality counter to record happens before relation. Line 133–134: If the logical time is updated to the current physical