[ https://issues.apache.org/jira/browse/HIVE-26711?focusedWorklogId=839348&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-839348 ]
ASF GitHub Bot logged work on HIVE-26711: ----------------------------------------- Author: ASF GitHub Bot Created on: 16/Jan/23 09:37 Start Date: 16/Jan/23 09:37 Worklog Time Spent: 10m Work Description: pudidic commented on code in PR #3736: URL: https://github.com/apache/hive/pull/3736#discussion_r1071019470 ########## ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplLoadTask.java: ########## @@ -420,9 +422,40 @@ a database ( directory ) // Ignore if no file. } } + + if(isReadOnlyHookRegistered()) { Review Comment: Please follow coding convention `if(isReadOnlyHookRegistered()) {` Issue Time Tracking ------------------- Worklog Id: (was: 839348) Time Spent: 50m (was: 40m) > The very first REPL Load should make the Target Database read-only > ------------------------------------------------------------------ > > Key: HIVE-26711 > URL: https://issues.apache.org/jira/browse/HIVE-26711 > Project: Hive > Issue Type: Task > Reporter: Shreenidhi > Assignee: Shreenidhi > Priority: Major > Labels: pull-request-available > Time Spent: 50m > Remaining Estimate: 0h > > Use EnforceReadOnly hook to set TARGET database read only during BootStrap > load. > Also ensure backward compatibility. -- This message was sent by Atlassian Jira (v8.20.10#820010)