table: filter_sstable_for_reader: allow clustering filtering md-format sstables

Now that it is safe to filter md format sstable by min/max column names
we can remove the `filtering_broken` variable that disabled filtering
in 19b76bf75b to fix #4442.

Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
This commit is contained in:
Benny Halevy
2020-07-20 12:36:36 +03:00
parent ab67629ea6
commit 7cfca519cb

View File

@@ -78,13 +78,6 @@ filter_sstable_for_reader_by_ck(std::vector<sstables::shared_sstable>&& sstables
return sstables;
}
// FIXME: Workaround for https://github.com/scylladb/scylla/issues/3552
// and https://github.com/scylladb/scylla/issues/3553
const bool filtering_broken = true;
if (filtering_broken) {
return sstables;
}
::cf_stats* stats = cf.cf_stats();
stats->clustering_filter_count++;
stats->sstables_checked_by_clustering_filter += sstables.size();