From what I have experimented with Liquibase:
- When a ChangeSet execution ends in error, the row is not inserted in the CHANGELOG table
- When I run markNextChangeSetRan it takes the first not ran ChangeSet and insert it into the CHANGELOG table no matter it was ran (and failed) or not
Inserting a failed ChangeSet in the CHANGELOG table would allow a “markFailedChangedSetRan” to do something only if such a row exists.
What is the purpose of this markNextChangeSetRan operation?