Details
Description
1. Update rocksdb submodule to 990b2f4cb313f4a47cb0bc3ba907862e6c47d4b0 Fix compilation on db_bench_tool.cc on Windows (#5227) (v5.8-1469-g990b2f4cb)
2. Add a new MyRocks variable "rocksdb_stats_level".
3. Cherry-pick the following commits from `fb-prod201904`:
- c6fd21533c7ae041e8a9f70841ceefdd4ad78ad0 Adding rocksdb_stats_level sysvar
- 5f8ab5a4b9d388cc691b4782dc7f903512db7703 Add iterator for iterate fields in key
- f0d020053467219960f0cd7e13269345a10c74e7 Make rocksdb/t/mysqldump.test more stable by replacing MASTER_LOG_POS
- 6fc7c24e16b9b5e862a3e1bc0dd9f1507f15b6e4 Updating information_schema.rocksdb_sst_props
- 9c8394787136f6d2fff815aa14584102fb33cf25 Rename CACHE_LINE_SIZE to avoid conflicts with rocksdb. This change aligns with MySQL 8.0
- c7b897c9179fb5bd2826b49c3f151a5aa8c75d1f Fix show engine test error due to new option TABLE_FACTORY::INDEX_SHORTENING
- fc2d15da47f221b54a9e47c77d32c0a72aff2206 Fix memory leak in rocksdb_read_free_rpl_tables
4. Null cherry-picked upstream commits:
- 26002e7fd0efbfe000fdd464b8223904ce7ab4fe Backport 5.7 fix to remove assertion in fts_query
- acda9a18899194999076c79a3a55f430aa2919cb Fix occasional crash in HHWheelTimer
- 8a2589b27d28b6612320cb7192874c84cfc81365 Add --rpc_protocol to the mysql test client
- 9ced4786815f1578acc7ea10bd69939ca0e86929 Added commands to disable rpc_protocol for certain tests
- 307760ac34f4b1ea478b64caec863f66e1570d59 Fix the output for SHOW PROCESSLIST when detached sessions are used
- 50075121dad7d2f6435a3f0c46e1fbfc69c37495 block_create_no_primary_key ignores tables that don't specify engine
- d20378a662b82722364c3db74db5294afd5b5bee The Protocol object needs to know about both connection and session thd
- 7f1495eb08ff1d27388c26ae9d472dc1c9c7a0a0 Fix the slow log for detached sessions
- 205e06a44ceb662c429f8214162249db996164e5 Fix locations that reference thd.net to use thd.net_ptr
- 24728cf1c2c6a6bc0c4d1c72b0d265f4e2388a8a Fix query cache for detached sessions
- e455539ba198593da1ae3633814e07bcc54e6f21 Fix CONNECTION_ID() for detached sessions
- 45df12447f43237146d9ff2799cffa7534ed8d94 Fix handling of NOW() for detached sessions
- a55628cf925e9edba3a936b79964cb840e6d8831 If no rpc_db was specified we shouldn't be overwriting the existing database
- 402b017134fd47b6f8055af7abbd0916989f9d60 Allow KILL ID where ID is a connection with an attached srv_session
- d122ac92ed50d692ac5e2e84ae0840242de921ae Fix user statistics for detached sessions
- 538bf39ce729bf9cfb0b8535c56f3a81f414d8e4 Remove the RPC_ID from the info portion of the ok packet
- a61cf346b60ce7106a1727019fb70bf18a8d4696 Copy query attributes from connection THD to session THD
- e77f937dce61799ba5dafbbb70fab3be8b589d9a Make sure the connection timeout is handled separately from the session timeout
- 0475ffde3e8be035ab4cfce1f04948470604b362 Cleanup rpc_* strings
- 3cc5162fdc2b1127904c40c81888ad16ccf22ab8 Fix counter leak in nonsuper_connections
- c0bdf997592b1448f31f9abfe6d03fd71e50cd6e Adding a new startup script mysqld_starter
- 47b8e7f26c6b2fb27d1e2c7dd08343af89d1388f Platform007 test fixes in MySQL 5.6
- 284346c05771015accb212885e41f51d6fc49cb0 mysqlslap honors protocol
- a4de2e872ca7dd238bc458ee54a16d2ad6fb6379 T43598383 - Expose nonsuper_connections as a new status variable
- 42c04ada6fe1a34e0e51112913d51bc66199efe3 Fix Valgrind problem in main.com_rpc
- 010e96317472b68418ba387424f71732a0bfad15 Add Information_schema.SOCKET_DIAG_SLAVES table for TCP socket diagnostic information for slave threads
- dc0940c40f89636450bccf7235872ebb6fe15e8d Print the last acked position when a semi-sync slave connects to the master
- 6c9aef5e9d5c81ed401b451f2cf73975f5e366cc Fix binlog corruption during slave recovery when master-slave schema don't match
- e172d653ed28163ddbe7ff534d3c2bbdf068805a Added new plugin interface to collect stats for async queries
- 15df89d33a3b64a9d47b5d46ede8907ad7a103d9 Add valgrind suppression for openssl 1.1
- 1b2d429eb5f3680bf8c23ea3c3966b755cc8dce7 mysqld_starter to exit with the same code as mysqld