[MDEV-28273] rocksdb-blind-delete-primary-key does no delete at all Created: 2022-04-09  Updated: 2022-04-18

Status: Open
Project: MariaDB Server
Component/s: Storage Engine - RocksDB
Affects Version/s: 10.7.3
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Philip orleans Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Environment:

Linux



 Description   

if you have a table with a primary key and no secondary keys, this variable:
rocksdb-blind-delete-primary-key=1
should allow you to delete faster, but in reality, does not delete all
for example a table like:

CREATE TABLE lrntest (
  did varchar(10) NOT NULL DEFAULT '',
  lrn varchar(10) DEFAULT NULL,
  PRIMARY KEY (did)
)
ENGINE = ROCKSDB,
AVG_ROW_LENGTH = 12,
CHARACTER SET latin1,
COLLATE latin1_swedish_ci,
STATS_AUTO_RECALC = 1,
STATS_PERSISTENT = 1,
ROW_FORMAT = DYNAMIC;


Generated at Thu Feb 08 09:59:26 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.