diff options
author | Sage Weil <sage.weil@dreamhost.com> | 2012-04-28 22:32:08 -0700 |
---|---|---|
committer | Sage Weil <sage.weil@dreamhost.com> | 2012-04-28 22:32:08 -0700 |
commit | fc8ce16a84aeb0026399d51a5ab8f7f184f67a8b (patch) | |
tree | 8c5b09ec1119123260c83fa5a209a0a506d8c40c | |
parent | ff9bce9724883fe784435a262790d29bcb5b4419 (diff) | |
download | ceph-fc8ce16a84aeb0026399d51a5ab8f7f184f67a8b.tar.gz |
osd: do not merge history on query
We shouldn't modify the local notion of the history without recording it to
disk. And we (probably) also don't need to do that at all on query.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
-rw-r--r-- | src/osd/OSD.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 112f7eaa158..f47d27719ed 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -4634,9 +4634,11 @@ void OSD::handle_pg_query(OpRequestRef op) continue; } + /* FIXME: do not do this unless/until we also write any modified history to disk. unreg_last_pg_scrub(pg->info.pgid, pg->info.history.last_scrub_stamp); pg->info.history.merge(it->second.history); reg_last_pg_scrub(pg->info.pgid, pg->info.history.last_scrub_stamp); + */ // ok, process query! PG::RecoveryCtx rctx(0, 0, ¬ify_list, 0, 0); |