summaryrefslogtreecommitdiff
path: root/src/mongo/db/curop.h
diff options
context:
space:
mode:
authorDavid Percy <david.percy@mongodb.com>2020-01-06 19:41:50 +0000
committerevergreen <evergreen@mongodb.com>2020-01-06 19:41:50 +0000
commitd0671dc95e8144d5828343f7431715537945425b (patch)
tree806853e44030ea48a08387653ed3aada2103cb97 /src/mongo/db/curop.h
parent7a6ce77cbbad266e86f2b34e580ed163bbf9119b (diff)
downloadmongo-d0671dc95e8144d5828343f7431715537945425b.tar.gz
SERVER-40805 Indicate reason for replanning
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r--src/mongo/db/curop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h
index a37700eedbf..3090b8c8124 100644
--- a/src/mongo/db/curop.h
+++ b/src/mongo/db/curop.h
@@ -202,7 +202,7 @@ public:
bool fromMultiPlanner{false};
// True if a replan was triggered during the execution of this operation.
- bool replanned{false};
+ std::optional<std::string> replanReason;
bool upsert{false}; // true if the update actually did an insert
bool cursorExhausted{