facebook / facebook/rocksdb

PlainTable with prefix_extractor do not support manual compaction?

Open
#9,174 4 comments 0 reactions 0 assignees View on GitHub
enhancement up-for-grabs
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

use plaintable format with prefix_extractor & hash_table_ratio.
write data to db.
And I called CompactRange,but got a failed status:Invalid argument: total_order_seek not implemented for PlainTable.

why CompactRange should call PlainTableIterator::Seek method?
if it`s needed ,then why plaintable format don`t support Seek?

Thanks!
### Expected behavior

use plaintable format with prefix_extractor & hash_table_ratio.
CompactRange succeed.

### Actual behavior

got a failed status:Invalid argument: total_order_seek not implemented for PlainTable.

### Steps to reproduce the behavior
use plaintable format with prefix_extractor & hash_table_ratio.
write data to db, create 2 or more sst files.
called CompactRange (x, x , null, null);

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.