[ https://issues.apache.org/jira/browse/HIVE-25397?focusedWorklogId=638584&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-638584 ]
ASF GitHub Bot logged work on HIVE-25397: ----------------------------------------- Author: ASF GitHub Bot Created on: 17/Aug/21 09:06 Start Date: 17/Aug/21 09:06 Worklog Time Spent: 10m Work Description: aasha commented on a change in pull request #2539: URL: https://github.com/apache/hive/pull/2539#discussion_r690180325 ########## File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/DirCopyTask.java ########## @@ -270,8 +278,9 @@ boolean copyUsingDistCpSnapshots(Path sourcePath, Path targetPath, UserGroupInfo // snapshots. SnapshotUtils.allowSnapshot(targetFs, work.getFullyQualifiedTargetPath(), clonedConf); // Attempt to delete the snapshot, in case this is a bootstrap post a failed incremental, Since in case of - // bootstrap we go from start, so delete any pre-existing snapshot. + // bootstrap we go from start, so delete any pre-existing snapshot, (both snapshots can exist in case of failback) Review comment: do you mean failover? -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 638584) Time Spent: 1h (was: 50m) > Snapshot support for controlled failover > ---------------------------------------- > > Key: HIVE-25397 > URL: https://issues.apache.org/jira/browse/HIVE-25397 > Project: Hive > Issue Type: Bug > Reporter: Arko Sharma > Assignee: Arko Sharma > Priority: Major > Labels: pull-request-available > Time Spent: 1h > Remaining Estimate: 0h > > In case the same locations are used for external tables on the source and > target, then the snapshots created during replication can be re-used during > reverse replication. This patch enables re-using the snapshots during > reverse replication using a configuration. -- This message was sent by Atlassian Jira (v8.3.4#803005)