Apache9 commented on a change in pull request #3851:
URL: https://github.com/apache/hbase/pull/3851#discussion_r751313836
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/SnapshotManager.java
##########
@@ -877,9 +943,14 @@ public long restoreOrCloneSnapshot(final
SnapshotDescription reqSnapshot, final
*/
private long restoreSnapshot(final SnapshotDescription reqSnapshot, final
TableName tableName,
final SnapshotDescription snapshot, final TableDescriptor
snapshotTableDesc,
- final NonceKey nonceKey, final boolean restoreAcl) throws IOException {
+ final NonceKey nonceKey, final boolean restoreAcl)
+ throws IOException {
MasterCoprocessorHost cpHost = master.getMasterCoprocessorHost();
+ //have to check first if restoring the snapshot would break current SFT
setup
+ checkSFTCompatibility(master.getTableDescriptors().get(tableName),
snapshotTableDesc,
Review comment:
I think we need these things. As we can specify SFT on column family...
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]