]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: return ENOENT if pool information is invalid during tier-flush 47929/head
authormyoungwon oh <ohmyoungwon@gmail.com>
Tue, 28 Jun 2022 04:42:21 +0000 (13:42 +0900)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 2 Sep 2022 16:47:20 +0000 (16:47 +0000)
commit7253ba45d406b730054eca8d14989df98f62be76
tree92d4711c987b335105d7fb8917a26f7d47c8f9b7
parenta326c5c4a443f71f286dcfafb1faaa8abdd1c29a
osd: return ENOENT if pool information is invalid during tier-flush

During tier-flush, OSD sends reference increase message to target OSD.
At this point, sending message with invalid pool information (e.g., deleted pool)
causes unexpected behavior.

Therefore, this commit return ENOENT early before sending the message

fixes: https://tracker.ceph.com/issues/53294

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit 3de27b25cb6104d810f7af81809a0813df6c46a4)
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h
src/test/librados/tier_cxx.cc