Skip to content

librados: add RadosClient to conf observers - #38358

Merged
tchaikov merged 2 commits into
ceph:masterfrom
batrick:i48030
Dec 4, 2020
Merged

tchaikov merged 2 commits into
ceph:masterfrom
batrick:i48030

Conversation

@batrick

@batrick batrick commented Nov 30, 2020

Copy link
Copy Markdown
Member

Fixes: https://tracker.ceph.com/issues/48030
Fixes: a8a2374
Fixes: 306eebe
Signed-off-by: Patrick Donnelly [email protected]

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

Commit 306eebe added the RadosClient to
the config observer interface but forgot to add it to the observer list.
This meant that the RadosClient was never receiving callbacks to
handle_conf_change. Commit a8a2374
exposed this issue because the mon timeout was configured at run-time.

Fixes: https://tracker.ceph.com/issues/48030
Fixes: a8a2374
Fixes: 306eebe
Signed-off-by: Patrick Donnelly <[email protected]>
The timeout was not initialized with the current config value during
RadosClient construction.

Fixes a8a2374
Signed-off-by: Patrick Donnelly <[email protected]>
@neha-ojha

Copy link
Copy Markdown
Member

@tchaikov
tchaikov merged commit 1f8bb63 into ceph:master Dec 4, 2020
@batrick
batrick deleted the i48030 branch December 4, 2020 16:57
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.

4 participants