But how is conflicting data handled?

For instance one closes an something and another aborts the same thing.