When running the index tool with the --file-list argument against a database that has already been created causes a crash when the DatasetDesc is being serialized into the Database.
Cause
This is most likely caused by some of the columns being created with the UNIQUE attribute, and Database is trying to insert duplicate values.
Fix
Using the --file-list argument or not, there should be an implicit check against the relevant columns to prevent this crash.
Problem
When running the index tool with the
--file-list
argument against a database that has already been created causes a crash when theDatasetDesc
is being serialized into theDatabase
.Cause
This is most likely caused by some of the columns being created with the
UNIQUE
attribute, andDatabase
is trying to insert duplicate values.Fix
Using the
--file-list
argument or not, there should be an implicit check against the relevant columns to prevent this crash.