summaryrefslogtreecommitdiff
path: root/src/mongo/transport/baton.h
diff options
context:
space:
mode:
authorJason Carey <jcarey@argv.me>2019-04-18 17:06:35 -0400
committerJason Carey <jcarey@argv.me>2019-05-01 21:45:07 -0400
commitb92621e4f6dc631023f0be2cfe311da71cd0f63a (patch)
tree0eb79c1277a9237e3ca3fcf34a5c381c448f385d /src/mongo/transport/baton.h
parente549f39cd70a51054a48aa8765558db6b03b1df3 (diff)
downloadmongo-b92621e4f6dc631023f0be2cfe311da71cd0f63a.tar.gz
SERVER-40721 Add SubBaton
Introduce a subbaton, which can be created from a baton and used in place of one. The key distinction being that a subbaton can be detached before its parent baton. When this occurs, the subbaton will fail all scheduled work inside it and refuse future work.
Diffstat (limited to 'src/mongo/transport/baton.h')
-rw-r--r--src/mongo/transport/baton.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/transport/baton.h b/src/mongo/transport/baton.h
index bdbd346ec56..a4c4f1bb2b2 100644
--- a/src/mongo/transport/baton.h
+++ b/src/mongo/transport/baton.h
@@ -32,7 +32,6 @@
#include <memory>
#include "mongo/db/baton.h"
-#include "mongo/transport/transport_layer.h"
#include "mongo/util/functional.h"
#include "mongo/util/future.h"
#include "mongo/util/out_of_line_executor.h"