In 5.0.1, feature compaction filter is enabled by default. Under such feature tikv will do gc in write & default cf individually.
If update some rows in table and set tiflash replica, tiflash may receive region snap data with unmatched data in write & default cf sst files. like https://internal.pingcap.net/jira/browse/ONCALL-2923