Since two-phase commit (2PC) does not guarantee data consistency, what is the point of existence?

such as the title.
even if it can reduce data inconsistencies, it cannot be completely eliminated.

Is there any other way to compensate for

? Or what?

Menu