Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,18 @@ public static boolean isReplicationForBulkLoadDataEnabled(final Configuration c)
HConstants.REPLICATION_BULKLOAD_ENABLE_DEFAULT);
}

/**
* @deprecated Will be removed in HBase 3.
* Use {@link ReplicationPeerConfig#needToReplicate(TableName)} instead.
* @param peerConfig configuration for the replication peer cluster
* @param tableName name of the table
* @return true if the table need replicate to the peer cluster
*/
@Deprecated
public static boolean contains(ReplicationPeerConfig peerConfig, TableName tableName) {
return peerConfig.needToReplicate(tableName);
}

/**
* Get the adaptive timeout value when performing a retry
*/
Expand Down