Skip to content

mon/MonClient: be less aggressive/paranoid about reopening mon connections#25902

Merged
liewegas merged 2 commits intoceph:masterfrom
liewegas:wip-37868
Jan 12, 2019
Merged

mon/MonClient: be less aggressive/paranoid about reopening mon connections#25902
liewegas merged 2 commits intoceph:masterfrom
liewegas:wip-37868

Conversation

@liewegas
Copy link
Copy Markdown
Member

…tions

Previously we were reopening any time the name of our mon changed.  That
was pretty much every time, since we started out with names from the
seed monmap like 'noname-[abc]' that never match the real mons.

Instead, only reopen if the addr we are connecting to is no longer in the
monmap.  We don't actually care about the mon's name.

Fixes: http://tracker.ceph.com/issues/37868
Signed-off-by: Sage Weil <sage@redhat.com>
…results

This makes the test more strict and less confusing.

Signed-off-by: Sage Weil <sage@redhat.com>
@liewegas liewegas requested a review from tchaikov January 10, 2019 23:19
@neha-ojha neha-ojha changed the title imon/MonClient: be less aggressive/paranoid about reopening mon connections mon/MonClient: be less aggressive/paranoid about reopening mon connections Jan 10, 2019
@liewegas liewegas merged commit 2762955 into ceph:master Jan 12, 2019
liewegas added a commit that referenced this pull request Jan 12, 2019
* refs/pull/25902/head:
	qa/standalone/mon/mon-handle-forward: fix grep path and check return results
	mon/MonClient: be less aggressive/paranoid about reopening mon connections

Reviewed-by: Kefu Chai <kchai@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants