Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0.0
-
None
Description
Recon uses Derby as its SQL database by default. Switching it to Mariadb/Mysql throws an exception `Specified key was too long; max key length is 767 bytes`
Fix this issue by reducing the primary key length from VARCHAR(768) to VARCHAR(766) in ReconTaskSchemaDefinition.java. Also change the autocommit config to default to true since data is not persisted in MySql tables even after insert queries are executed with autocommit flag set to false by default.
Attachments
Issue Links
- is depended upon by
-
HDDS-4457 Recon: Add unit test to cover Mariadb/Mysql database
- Open
- links to