rockeet

Results 78 issues of rockeet

In `rdb_i_s_sst_props_fields_info` definition, flag `MY_I_S_MAYBE_NULL` is missing for fields `COMPRESSION_ALGO`, `FILTER_POLICY`, `COMPRESSION_OPTIONS`, causing the `set_null` does not take effect, these 3 fields will keep last SST's value. This PR fixed...

CLA Signed

When client sees connection closed, `finish_bulk_load` in `rocksdb_close_connection` may still inprogress, the new connection created instantly following would racing with finish_bulk_load. I can not fix the myrocks code for this...

CLA Signed

std::bind(yield_condition, table) will generate a functor which size is larger than std::function's local buf, thus std::function needs to new/delete memory to store the functor. This PR use the lambda which...

CLA Signed

ignore_range_deletions should be set to true when range del is not enabled

CLA Signed

### Branch: fb-mysql-8.0.28 ### Version: gitsha c75bf30d86a214a3a7106e5df0df47a130306c2f This bug impact both innodb and myrocks, an version of 6 months ago has no this issue. ### Reproduce Reproduce is very quickly,...

```mysql set global rocksdb_compact_cf = "default"; ``` ## The compacted SST missing stats info **distincts per prefix**: ![image](https://user-images.githubusercontent.com/1574991/185037002-f6494138-9dae-4551-8333-1ee70be02ca3.png) ## The correct SST stat info should like this: ![image](https://user-images.githubusercontent.com/1574991/185037135-59f66c62-f47b-432c-ab86-cadeecf2b50a.png) We traced...

`Rdb_iterator_base::setup_scan_iterator` consumed too much time. ```bash sysbench select_random_ranges run --simple_ranges=10 --table_size=1000000 \ --time=600 --db-driver=mysql --threads=50 \ --mysql-host=**** --mysql-user=**** --mysql-password=**** --mysql-db=**** \ --mysql_storage_engine='rocksdb default charset latin1' ``` I think properly caching...

We run myrocks with sysbench: ```bash sysbench --db-driver=mysql --threads=20 --mysql-host=192.168.100.10 \ --mysql-port=3306 --mysql-user=test --mysql-password=1234 \ --mysql-db=test --tables=100 --table_size=100000000 oltp_write_only \ --mysql_storage_engine='rocksdb default charset latin1' prepare ``` When creating index, data...

It seems myrocks and rocksdb doing many useless works: `Clear`, `Reinitialize`: ![image](https://user-images.githubusercontent.com/1574991/183249288-39044d5f-85aa-415b-9e2b-c44305a4a1b8.png) ![image](https://user-images.githubusercontent.com/1574991/183249255-cb6f9195-ec34-42e2-9283-b9c0ec1cf451.png) ![image](https://user-images.githubusercontent.com/1574991/183249222-1e298d4a-d0b9-4bdc-9dc8-7c18e3d09d7d.png) In the flame graph, CSPP_WBWI is our WriteBatchWithIndex implementation, used to replace rocksdb default WriteBatchWithIndex. Although...

use union to merge cf_id and index_id to uint64 full_id, because uint64 compare is faster than two uint32 compare

CLA Signed