Details
Description
1. Cherry-pick the following commits from `fb-prod201905`:
- 3d699aa2acd9937303b82a32b5aef65fb4947d8e Trying to fix rocksdb.rocksdb_read_free_rpl_stress
- 643510a0ff947f740af2151f5058c7f6c725a995 T42691730 - Bump mysql session rows_examined count whenever MyRocks filters out a row due to expired TTL
- ace6368991f48f0748523c5a2127b389698fb65a Use LLONG_MAX instead of LONGLONG_MAX as MySQL 8.0 no longer has it
- 5b55b17b26d401c8e77889c539050a8a2b71c7f9 Update lint to use clang 5.0.1 with 8.0 .clang-format by default and update all MyRocks code accordingly
- 356ffd94f79848b954890bdc746cdd9a11e2d9f0 Fix 2 howtoeven warnings
- ed7e921c1825af04b16c469ce671108082801284 fix all sql_print linter warnings
- 06e1d3aea4522eaef1ce26f35591efed0a529a7d Use DBUG_OFF instead of NDEBUG
- 75929903de7e6d02865d671d95e9f7eec6f0c88d Fix rocksdb.group_min_max
- 85fc98f8faba57ed65c0dbda1ac57eb062edc34a Fix all MissingBraces HOWTOEVEN warnings
- d89f26ffa61e098adfcc66a48d01af2170a9d94d Fix all inconsistent overrides
- 56040e200bae4b9247f52cec39c4d198c58fabec Fix AutoInitCopy
- 37606b7e3836db3b0793a97040c5c552b179cad7 Fix flaky test rocksdb.issue255
- 1023429b32fd596722497d4fad576a4aecc1539b Use unordered_map instead of my_hash
- 603097e97d615c141f21f61b4bf440ad2a40557c Include RocksDB fix that address deadlock
- 911d1a387a0d80f3ba52b7432c1abdbd7e8cb220 Fix AutoInitCopy #2
2. Null cherry-picked upstream commits:
- ceebea4effd85241eda78ddbdd13c298b3e0c232 Fix main.mysqld--help-notwin
- 44b7fcb9826a7f7c74cd5a46e0397de946a9b79e SELECT INTO OUTFILE COMPRESSED
- a21a6dc5e34d44917fff7c62e00b5272a4fc4b61 Fixed compilation issue for oss-gcc6 and oss-clang builds
- ccf2b062689beac21adc2d490d26f4b1e6789a8e Fix funny bug where mysql prints garbage
- 2d00882d29a4bfc3fffe90e8fca92b32853279f3 Fix MySQLTestResultLinter to use project root
- 08426f132d8c81dfd5641b4da6a3c265c8c604a5 Revert "Platform007 test fixes in MySQL 5.6"
- 856ac17a2996c4adbc8091d72940b899ca83bab3 Fix a plausible memory leak in prod build and an assert in debug build
- 784cc509a73e4f1f479e3e4be0af1d5d7bab654b LOAD DATA INFILE with COMPRESSED option
- 24cf129e40d535ad8b474781b24781c14c4cc38e Fix innodb_stats_on_metadata corrupting index stats on partitioned tables
- c391300228d291a19b681fe048615cfd5df7e621 Fixed test rpl.rpl_cross_version
- b42b911fa152a5449d10ca87aa3a5a6d7f996dc0 Fix rpl_wait_for_semi_sync_ack feature
- 79b84c61160097f339ffc014e972ebedbf644b64 New variable to specify list of columns on slaves where non-lossy type mismatches are allowed
- 7a3b0cd3803008ce379ccb7c298e35ac51fc0f57 Big files slow removal
- f34bf7600984300b54bef5629f2c50da87581576 Revert "Big files slow removal"
- 2d636fa67c4fff843c80f7ca349e9eca93fc45bb Avoid throwing exception when no db_metadata is present
- 224b0a2ad80a9e614c9da4e9edad3be3c9e7324c Backporting WL#6784: SHUTDOWN SQL command
- 77794304677b65c5de09343696c3761ca7c24729 Add OPT_ARG to innodb_stats_on_metadata
- cc9b09ba97c3bcf5093ab2fcd9e0e4d50e8c7199 Big files slow removal
- 9d5a76838c8ff1dfa8a9590e831f6faa97e884ad Revert "Add OPT_ARG to innodb_stats_on_metadata"
- f0590c3a4417d83f8cc1e5caa6c457d56adf55e5 Using rapidjson instead of boost
- e7963d7c4ba327d4e757e0c42ce0c4ca69a41622 Cache global variables related to dep repl in rli for thread safety
- ca7d7cecc8b3c7c219bfed7ab9ffd4c95f62d782 Introduce a class to assign monotonically increasing timestamp in binlog
- d5891b5db2963be4398b27b1ad7c4376e6926c49 Fix Google Test upgrade
- 1865e9d5d44a6e1db52492cabcd5e70b88a7f280 Fix dangling SLAVE_INFO/THD in slave_list in case of slave communication failure
- de0bf9449975a80e07b5afb0cdedd07dd6831729 Log create/alter/drop table to slow query log
- 0faa001c53b4c8ad6fe41753c3b96fcee75ce91e PSI fix
- 94b066fc7b3c828c09f7d8d7ea7acccb09778edb MySQL Bypass Project Initial Change
- e04edc791c2d781f9b0396f54a8b6c759de0fd8e removed hack to set opt_core_file in mysqld.cc
- 9148245029cca4b8963cc1eab12af81282149c6a Check before image consistency before applying row events
- d4cc605f9e811bcad4c0791a41689937786d87e6 Fix memory leak in rocksdb_validate_update_cf_options
- c6ab7e88f39faed8d887150a425897e46dd04fcd Extending SHUTDOWN query to support read_only/aborting
- 893faf26d088b9593824f598ad7885fb8db9c083 Fix valgrind errors on rocksdb.skip_core_dump_on_error
- 7654caf77bdd2ab21a07f32436d8d170b02c7429 fix block_create_no_primary_key
- dcd9379eb5707bc7514a2ff4d9127790356505cb Skip valgrind for rocksdb.force_shutdown
- c659beb4cf9da1728f869c315f952dbeeb3acfc5 Fix cf_option if parse_cf_option fail