]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/common/operation: document a potential trivial issue
authorYingxin Cheng <yingxin.cheng@intel.com>
Thu, 14 Sep 2023 08:52:26 +0000 (16:52 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Thu, 2 Nov 2023 07:29:08 +0000 (15:29 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/common/operation.h

index b0ac033a8cd302d63f4dfcccbd0098a1c1153c59..3a65a793a9e115574e6765cabd1e7f00e90af3c7 100644 (file)
@@ -479,6 +479,8 @@ public:
   virtual std::optional<seastar::future<>> wait() = 0;
 
   /// Releases pipeline resources, after or without waiting
+  // FIXME: currently, exit() will discard the associated future even if it is
+  // still unresolved, which is discouraged by seastar.
   virtual void exit() = 0;
 
   /// Must ensure that resources are released, likely by calling exit()