[ 
https://issues.apache.org/jira/browse/HBASE-28078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dieter De Paepe updated HBASE-28078:
------------------------------------
    Description: 
The [technical details|https://hbase.apache.org/book.html#br.technical.details] 
of HBase backup mention that the backup works by copying WALs which are 
converted to HFiles during the restore process.

However, the code seems to imply that WALs are already converted to HFiles 
during the backup process. (See 
IncrementalTableBackupClient#convertWALsToHFiles.) I suspect the docs still 
describe the old behavior, which (I suspect) was changed in HBase-14141.

Knowing this also confirms that bulk-imported HFiles are also backed-up using 
the same mechanism (see IncrementalTableBackupClient#handleBulkLoad) - 
something I managed to test with experimentation, but wasn't explained in the 
backup docs.

In short, this section in the docs requires an update.

  was:
The [technical details|https://hbase.apache.org/book.html#br.technical.details] 
of HBase backup mention that the backup works by copying WALs which are 
converted to HFiles during the restore process.

However, the code seems to imply that WALs are already converted to HFiles 
during the backup process. (See 
IncrementalTableBackupClient#convertWALsToHFiles.) I suspect the docs still 
describe the old behavior, which (I suspect) was changed in HBase-14141.

Knowing this also confirms that bulk-imported HFiles are also backed-up - 
something I managed to test with experimentation, but wasn't explained in the 
backup docs.

In short, this section in the docs requires an update.


> Update tech details of backup
> -----------------------------
>
>                 Key: HBASE-28078
>                 URL: https://issues.apache.org/jira/browse/HBASE-28078
>             Project: HBase
>          Issue Type: Task
>            Reporter: Dieter De Paepe
>            Priority: Minor
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The [technical 
> details|https://hbase.apache.org/book.html#br.technical.details] of HBase 
> backup mention that the backup works by copying WALs which are converted to 
> HFiles during the restore process.
> However, the code seems to imply that WALs are already converted to HFiles 
> during the backup process. (See 
> IncrementalTableBackupClient#convertWALsToHFiles.) I suspect the docs still 
> describe the old behavior, which (I suspect) was changed in HBase-14141.
> Knowing this also confirms that bulk-imported HFiles are also backed-up using 
> the same mechanism (see IncrementalTableBackupClient#handleBulkLoad) - 
> something I managed to test with experimentation, but wasn't explained in the 
> backup docs.
> In short, this section in the docs requires an update.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to