vyommani commented on code in PR #921:
URL: https://github.com/apache/ranger/pull/921#discussion_r3108082812


##########
security-admin/db/mysql/optimized/current/ranger_core_db_mysql.sql:
##########
@@ -456,7 +456,7 @@ CREATE TABLE `x_trx_log_v2` (
   KEY `x_trx_log_v2_FK_added_by_id` (`added_by_id`),
   KEY `x_trx_log_v2_cr_time` (`create_time`),
   KEY `x_trx_log_v2_action` (`action`),
-  KEY `x_trx_log_v2_trx_id` (`trx_id`)
+  KEY `x_trx_log_v2_trx_id` (`trx_id`(190))

Review Comment:
   In the BLESC-527851 escalation, the documentation mentions using a prefix 
length of 191 for the index:
   
   CREATE INDEX x_trx_log_IDX_trx_id ON x_trx_log(trx_id(191));
   
   However, in the PR I can see it is defined as 190 only. I'm not a database 
expert, but could you please double-check whether this difference is 
intentional?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to