Project

General

Profile

Actions

Bug #13922

closed

cls_rbd:misused metadata_name_from_key

Added by Xiaoxi Chen over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%


Description

The string last_read is already prefixed with RBD_METADATA_KEY_PREFIX,
also it->first. So compare them directly.

This bug was hide because in both LevelDBWholeSpaceIteratorImpl::upper_bound
and RocksDBWholeSpaceIteratorImpl::upper_bound we already skip the pair where key=after.

Actions

Also available in: Atom PDF