Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix flaky rocksdb.rocksdb_table_stats_sampling_pct_change
Upstream commit ID : fb-mysql-5.6.35/7d1be2321e2 PS-7921 : Merge percona-202105 Summary: The testcase sometime fail due to table t2 data length value is much smaller than table t1 data length value. since table t2 data length value is calculated in L2 sst file while table t1 data length value is calculated in L1 sst file. BTW, I think the testcase doesn't make sense. since table.data_length(and row number) value isn't sampled. only distinct key(cardinality) is sampled. Thus we should test cardinality value instead of table.data_length value. Reviewed By: lth Differential Revision: D30506323 fbshipit-source-id: 3016234435f
- Loading branch information