Commit 5941e55
Ahmed Salama
Add parameter for calculate_stats function of the indexes to recalculate only + testing
Summary:
Change calculate_stats() to recalculate statistics for certain set of indexes only; Those that
changed.
Test Plan:
Added new test for asserting index statistics
Used gdb to see the new check changing the control flow (some indexes skip and
some recalculate).
Reviewers: shashanktyagi, mung
Differential Revision: https://phabricator.intern.facebook.com/D7075934
Tasks: T150572561 parent 2f786e8 commit 5941e55
File tree
4 files changed
+73
-12
lines changed- mysql-test/suite/rocksdb
- r
- t
- storage/rocksdb
4 files changed
+73
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
386 | 389 | | |
| 390 | + | |
387 | 391 | | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
388 | 396 | | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10942 | 10942 | | |
10943 | 10943 | | |
10944 | 10944 | | |
10945 | | - | |
10946 | | - | |
| 10945 | + | |
| 10946 | + | |
| 10947 | + | |
10947 | 10948 | | |
10948 | 10949 | | |
10949 | 10950 | | |
10950 | 10951 | | |
10951 | 10952 | | |
10952 | | - | |
| 10953 | + | |
| 10954 | + | |
10953 | 10955 | | |
10954 | 10956 | | |
10955 | | - | |
10956 | 10957 | | |
| 10958 | + | |
| 10959 | + | |
| 10960 | + | |
| 10961 | + | |
| 10962 | + | |
| 10963 | + | |
| 10964 | + | |
| 10965 | + | |
| 10966 | + | |
| 10967 | + | |
10957 | 10968 | | |
10958 | 10969 | | |
10959 | 10970 | | |
10960 | 10971 | | |
10961 | 10972 | | |
10962 | | - | |
10963 | 10973 | | |
10964 | 10974 | | |
10965 | 10975 | | |
| |||
10997 | 11007 | | |
10998 | 11008 | | |
10999 | 11009 | | |
11000 | | - | |
| 11010 | + | |
11001 | 11011 | | |
| 11012 | + | |
11002 | 11013 | | |
11003 | 11014 | | |
11004 | 11015 | | |
| |||
11011 | 11022 | | |
11012 | 11023 | | |
11013 | 11024 | | |
11014 | | - | |
| 11025 | + | |
11015 | 11026 | | |
| 11027 | + | |
11016 | 11028 | | |
11017 | 11029 | | |
11018 | 11030 | | |
| |||
11069 | 11081 | | |
11070 | 11082 | | |
11071 | 11083 | | |
11072 | | - | |
11073 | | - | |
| 11084 | + | |
| 11085 | + | |
| 11086 | + | |
| 11087 | + | |
| 11088 | + | |
| 11089 | + | |
| 11090 | + | |
| 11091 | + | |
| 11092 | + | |
| 11093 | + | |
| 11094 | + | |
| 11095 | + | |
11074 | 11096 | | |
11075 | 11097 | | |
11076 | 11098 | | |
| |||
11935 | 11957 | | |
11936 | 11958 | | |
11937 | 11959 | | |
11938 | | - | |
| 11960 | + | |
11939 | 11961 | | |
11940 | 11962 | | |
11941 | 11963 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1327 | 1327 | | |
1328 | 1328 | | |
1329 | 1329 | | |
1330 | | - | |
1331 | | - | |
| 1330 | + | |
| 1331 | + | |
1332 | 1332 | | |
1333 | 1333 | | |
1334 | 1334 | | |
| |||
0 commit comments