We should add a roachtest operation that runs this SQL statement:
SELECT crdb_internal.compact_engine_span(
random_node_id, random_store_id_from_that_node,
(SELECT raw_start_key FROM [SHOW RANGES FROM TABLE random_table WITH KEYS] LIMIT 1),
(SELECT raw_end_key FROM [SHOW RANGES FROM TABLE random_table WITH KEYS] LIMIT 1))`;
This will trigger an online manual compaction in Pebble, that should compact this range all the way down to L6. Having a manual compaction ongoing would induce a moderate amount of chaos, and could possibly lead to interesting behaviour in Storage as well as elsewhere in CockroachDB.
We should add a roachtest operation that runs this SQL statement:
This will trigger an online manual compaction in Pebble, that should compact this range all the way down to L6. Having a manual compaction ongoing would induce a moderate amount of chaos, and could possibly lead to interesting behaviour in Storage as well as elsewhere in CockroachDB.
Jira issue: CRDB-39942