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 #2

Updated by Sage Weil over 8 years ago

  • Project changed from Ceph to rbd
Actions #3

Updated by Josh Durgin over 8 years ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Jason Dillaman over 8 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF