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

Charles Connell updated HBASE-30322:
------------------------------------
    Description: 
The class BackupInfo has a pair of methods {{toProtosBackupInfo()}} and 
{{fromProto()}} so you can convert the POJO BackupInfo to and from the protobuf 
version. These methods do not handle all fields, so some information is lost. 
They do not handle:
* {{totalBytesCopied}}
* {{noChecksumVerify}}
* {{incrBackupFileList}}
* {{incrTimestampMap}}

In particular I ran into a problem when {{incrBackupFileList}} was missing 
after getting a BackupInfo from BackupAdmin.

  was:
The class BackupInfo has a pair of methods {{toProtosBackupInfo()}} and 
{{fromProto()}} so you can convert the POJO BackupInfo to and from the protobuf 
version. These methods do not handle all fields, so some information is lost. 
In particular they do not handle:
* {{totalBytesCopied}}
* {{noChecksumVerify}}
* {{incrBackupFileList}}
* {{incrTimestampMap}}

In particular I ran into a problem when {{incrBackupFileList}} was missing 
after getting a BackupInfo from BackupAdmin.


> Some fields in BackupInfo do not save to the backup:system table
> ----------------------------------------------------------------
>
>                 Key: HBASE-30322
>                 URL: https://issues.apache.org/jira/browse/HBASE-30322
>             Project: HBase
>          Issue Type: Bug
>          Components: backup&restore
>            Reporter: Charles Connell
>            Assignee: Charles Connell
>            Priority: Minor
>
> The class BackupInfo has a pair of methods {{toProtosBackupInfo()}} and 
> {{fromProto()}} so you can convert the POJO BackupInfo to and from the 
> protobuf version. These methods do not handle all fields, so some information 
> is lost. They do not handle:
> * {{totalBytesCopied}}
> * {{noChecksumVerify}}
> * {{incrBackupFileList}}
> * {{incrTimestampMap}}
> In particular I ran into a problem when {{incrBackupFileList}} was missing 
> after getting a BackupInfo from BackupAdmin.



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

Reply via email to