facebook / facebook/rocksdb

[BUG] data lost on openDB

Open
#11,900 3 comments 0 reactions 1 assignee Claimed by @jowlyzhang View on GitHub
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

https://github.com/facebook/rocksdb/blob/fce04587b80db3d51d422ed8b1c52bd6291c9efc/db/db_impl/db_impl_open.cc#L1666

when openDB, entries from wal are loaded into memtable, and memtable is flushed into sst,
cfd.full_history_ts_low should be passed to BuildTable, or versions with ts >= full_history_ts_low will be unexpected trimmed.

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.