If a transaction is irrecoverable then it will cause the database to become inconsistent and we say that 2PL ensures serializability and serializability ensures that the database is consistent, aren’t these two thing contradicting.
If a transaction is irrecoverable then it will cause the database to become inconsistent and we say that 2PL ensures serializability and serializability ensures that the database is consistent, aren’t these two thing contradicting.