I was trying the new plugin rearchiving on plugin activate.
The activate worked well but the deactivate left thousands of invalidations in the archive_invalidations table.
Problem is that it is not cleaning up segment invalidations by the looks:
This is because it only deletes names like
@diosmosis can you have a look at this?