Option to define multiple validchecksums?

Hi,

i am working on upgrading liquibase from 4.18 to 4.28. Up until 4.18 it works fine. But when upgrading i get problems with the checksums (checksum validation failed) so i tried to solve this by adding a validCheckSum to the changeset.

This works but i have 5 servers were this liquibase script run and somehow the new (!) checksums for 1 of these servers is different from the other 4. So i have added a second validCheckSum to the changeset (yaml format) but only the last entry in the yaml is used to valid.

How can i resolve this?

Useful tip: the checksums between the servers have different prefixes. 4 of them start with 8: and the other one with 9:. As if the checksum is versioned?

Yes, the md5sum calculation is versioned, using the first character.

The best option might be to run “clear-checksums”, followed by “update”. This will recalculate the md5sum for all prior changesets.

1 Like