Skip to content

Commit

Permalink
594 compare vdiskid first (#614)
Browse files Browse the repository at this point in the history
* Compare vdiskid first

* Update changelog

* Move changelog msg
  • Loading branch information
lostl1ght authored Oct 5, 2022
1 parent ad16767 commit 127f468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Bob versions changelog

#### Changed
- Update rust edition to 2021 (#484)
- Compare vdiskid first (#594)

#### Fixed
- Print full error text received from Pearl in exist function (#581)
Expand Down
2 changes: 1 addition & 1 deletion bob-backend/src/pearl/group.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl Group {
.map_or(true, |node_name| *node_name == self.node_name);
name_matched && self.vdisk_id == operation.vdisk_id()
} else {
self.disk_name == operation.disk_name_local() && self.vdisk_id == operation.vdisk_id()
self.vdisk_id == operation.vdisk_id() && self.disk_name == operation.disk_name_local()
}
}

Expand Down

0 comments on commit 127f468

Please sign in to comment.