pt-duplicate-key-checker: Removes non-duplicate key

Description

None

Environment

None

Activity

Show:

Rainer Stumbaum January 17, 2025 at 2:08 PM

No idea how to write into Description…

So here it goes:

We run pt-duplicate-key-checker on a regular basis. We added a new index - which now gets regularly removed.

Before:

KEY `idx_ts` (`ts`), KEY `idx_ts_id` (`ts` DESC,`id`)

After:

KEY `idx_ts_id` (`ts`)

Looks like pt-duplicate-key-checker does not take DESC into account.

Details

Assignee

Reporter

Priority

Needs QA

Yes

Smart Checklist

Created January 17, 2025 at 2:01 PM
Updated January 17, 2025 at 2:08 PM