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

Also available in: Atom PDF