Project

General

Profile

Actions

Bug #10458

closed

librados: original pool name cached in IoCtxImpl may be used after pool is renamed

Added by Josh Durgin over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
librados
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This isn't a big deal since (1) pool renames are rare and (2) it's only used in a few methods:

librados::IoCtx::get_pool_name() const
rados_ioctx_pool_stat()
rados_ioctx_get_pool_name()

We should probably just get rid of the IoCtxImpl::pool_name member, and always look it up when it's needed.


Files

Actions #1

Updated by Radoslaw Zarzynski about 9 years ago

I am working on this bug.

Actions #3

Updated by Radoslaw Zarzynski about 9 years ago

Initial proposal of the patch in attachment.

Actions #4

Updated by Sage Weil about 9 years ago

  • Assignee set to Sage Weil
  • Priority changed from Normal to High
Actions #5

Updated by Sage Weil about 9 years ago

  • Status changed from New to Fix Under Review
Actions #7

Updated by Samuel Just about 9 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF