private boolean hasGlobalScope(NavigableMap<byte[], Integer> scopes, byte[] family) {
    Integer scope = scopes.get(family);
    return scope != null && scope.intValue() == HConstants.REPLICATION_SCOPE_GLOBAL;
  }
Keeps KVs that are scoped other than local
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/ScopeWALEntryFilter.java