hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16392) Backup delete fault tolerance
Date Wed, 07 Jun 2017 05:38:18 GMT

    [ https://issues.apache.org/jira/browse/HBASE-16392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16040216#comment-16040216
] 

Hudson commented on HBASE-16392:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #3150 (See [https://builds.apache.org/job/HBase-Trunk_matrix/3150/])
HBASE-16392 Backup delete fault tolerance (Vladimir Rodionov) (tedyu: rev 80e15aac21c6b1969373171fce4c7635b991e172)
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/backup/impl/BackupSystemTable.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/backup/TestBackupMultipleDeletes.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/backup/TestRemoteBackup.java
* (add) hbase-server/src/test/java/org/apache/hadoop/hbase/backup/TestRepairAfterFailedDelete.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/backup/TestSystemTableSnapshot.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/backup/TestBackupBase.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/backup/TestIncrementalBackupDeleteTable.java
* (add) hbase-server/src/test/java/org/apache/hadoop/hbase/backup/TestBackupDeleteWithFailures.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/backup/impl/BackupCommands.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/backup/TestRemoteRestore.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/backup/impl/TableBackupClient.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/backup/TestIncrementalBackupWithFailures.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.java


> Backup delete fault tolerance
> -----------------------------
>
>                 Key: HBASE-16392
>                 URL: https://issues.apache.org/jira/browse/HBASE-16392
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>              Labels: backup
>             Fix For: 2.0.0
>
>         Attachments: HBASE-16392-v1.patch, HBASE-16392-v2.patch, HBASE-16392-v3.patch,
HBASE-16392-v4.patch
>
>
> Backup delete modified file system and backup system table. We have to make sure that
operation is atomic, durable and isolated.
> Delete operation:
> # Start backup session (this guarantees) that system will be blocked for all backup commands
during delete operation
> # Save list of tables being deleted to system table
> # Before delete operation we take backup system table snapshot  
> # During delete operation we detect any failures and restore backup system table from
snapshot, then finish backup session
> # To guarantee consistency of the data, delete operation MUST be repeated
> # We guarantee that all file delete operations are idempotent, can be repeated multiple
times
> # Any backup operations will be blocked until consistency is restored
> # To restore consistency, repair command must be executed.
> # Repair command checks if there is failed delete op in a backup system table, and repeats
delete operation



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message