Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix duplicated optimized pathes for devices #1046

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ SPDK_CENTOS_REPO_VER="9.0-21.el9"

# Ceph Cluster
CEPH_CLUSTER_VERSION="${CEPH_VERSION}"
CEPH_BRANCH=main
CEPH_SHA=latest
CEPH_BRANCH=wip-leonidc-0126-duplicate-dont-clear-sub--centos9-only
CEPH_SHA=b585f14b9818c27ea8f2d8ed8e33346db969b875

CEPH_DEVEL_MGR_PATH=../ceph

Expand Down
7 changes: 4 additions & 3 deletions control/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -1121,9 +1121,10 @@ def update(self) -> bool:
grouped_added = self._group_by_prefix(added, prefix_list)
# Find OMAP changes
same_keys = omap_state_keys & local_state_keys
for key in same_keys:
self.logger.info(f"same key: {key}, local: {local_state_dict[key]},"
f"omap: {omap_state_dict[key]}")
if ((omap_version - local_version) > 1) and ("discovery" not in self.id_text):
for key in same_keys:
self.logger.info(f"same key: {key}, local: {local_state_dict[key]},"
f"omap: {omap_state_dict[key]}")
changed = {
key: omap_state_dict[key]
for key in same_keys
Expand Down
Loading