You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "hgromer (via GitHub)" <gi...@apache.org> on 2024/11/04 14:22:43 UTC

Re: [PR] HBASE-27659: Incremental backups should re-use splits from last full backup [hbase]

hgromer commented on code in PR #6370:
URL: https://github.com/apache/hbase/pull/6370#discussion_r1827815333


##########
hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupRestoreFactory.java:
##########
@@ -43,8 +44,13 @@ private BackupRestoreFactory() {
    * @return backup restore job instance
    */
   public static RestoreJob getRestoreJob(Configuration conf) {
+    Class<? extends RestoreJob> defaultCls =
+      conf.getBoolean(RestoreJob.KEEP_ORIGINAL_SPLITS_OPT, false)

Review Comment:
   I wanted to make sure we didn't break backwards compatibility. Say we release this as the default behavior, then anybody trying to restore from a backup that was taken pre-release would fail because the splits wouldn't match.



-- 
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: issues-unsubscribe@hbase.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org