]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/SnapServer: make not about pre-octopus compat code
authorSage Weil <sage@redhat.com>
Tue, 11 Jun 2019 14:32:34 +0000 (09:32 -0500)
committerSage Weil <sage@redhat.com>
Tue, 2 Jul 2019 13:37:51 +0000 (08:37 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/mds/SnapServer.cc

index 78b41bd61211ba59182a102fe4ddbe972f07343c..f6881d8ec1ed59c78e4b6abf8fd7699d6c57bd15 100644 (file)
@@ -320,6 +320,9 @@ void SnapServer::check_osd_map(bool force)
   map<int32_t, vector<snapid_t> > all_purge;
   map<int32_t, vector<snapid_t> > all_purged;
 
+  // NOTE: this is only needed for support during upgrades from pre-octopus,
+  // since starting with octopus we now get an explicit ack after we remove a
+  // snap.
   mds->objecter->with_osdmap(
     [this, &all_purged, &all_purge](const OSDMap& osdmap) {
       for (const auto& p : need_to_purge) {