-
Notifications
You must be signed in to change notification settings - Fork 455
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metamorphic: don't set synthetic suffix if there are duplicate prefixes
We are not allowed to use a synthetic suffix if the relevant portion of the external file has multiple keys with the same prefix. After suffix replacement, they would become the same key. I first added the code to check for duplicate keys in `KeysForExternalIngest` and stressed just the generation part and it reproduced. I then added the generator check and the panic no longer reproduces. Fixes #3502
- Loading branch information
1 parent
26032dc
commit cf40ae7
Showing
2 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters