zendesk / maxwell

Maxwell's daemon, a mysql-to-json kafka producer
https://maxwells-daemon.io/
Other
4.05k stars 1.01k forks source link

crash in alters #2088

Closed osheroff closed 8 months ago

osheroff commented 8 months ago
ALTER TABLE vehicles
            ADD UNIQUE INDEX uq_vehicles_vin_active (vin, _uq_is_active),
            ADD UNIQUE INDEX uq_vehicles_oem_vin_active (oem_id, oem_vin, _uq_is_active),
            DROP INDEX IF EXISTS vin,
            DROP INDEX IF EXISTS uq_vehicles_oem_id_oem_vin,
        ALGORITHM=NOCOPY, LOCK=NONE