Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Nov 7, 2022
1 parent 7f03c7e commit 3213503
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions rust/cubestore/cubestore/src/metastore/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2062,15 +2062,6 @@ trait RocksTable: Debug + Send + Sync {
if let Some(row) = self.get_row(id)? {
res.push(row);
} else {
if RocksSecondaryIndex::is_ttl(secondary_index) {
trace!(
"Row exists in secondary index (with TTL) however missing in {:?} table: {}. Compaction problem?",
self, id
);

continue;
}

let index = self.get_index_by_id(BaseRocksSecondaryIndex::get_id(secondary_index));
self.rebuild_index(&index)?;

Expand Down

0 comments on commit 3213503

Please sign in to comment.