mirror of
https://github.com/ceph/ceph
synced 2024-12-18 09:25:49 +00:00
journal: don't use object_number when comparing positions
Only tid does matter. Signed-off-by: Mykola Golub <mgolub@mirantis.com>
This commit is contained in:
parent
b9c6ae8794
commit
0dd6e0fd28
@ -53,8 +53,7 @@ struct ObjectSetPosition {
|
||||
return (*this == rhs || *this < rhs);
|
||||
}
|
||||
inline bool operator==(const ObjectSetPosition &rhs) const {
|
||||
return (object_number == rhs.object_number &&
|
||||
entry_positions == rhs.entry_positions);
|
||||
return (entry_positions == rhs.entry_positions);
|
||||
}
|
||||
|
||||
void encode(bufferlist& bl) const;
|
||||
|
Loading…
Reference in New Issue
Block a user