summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/update.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/update.h')
-rw-r--r--src/mongo/db/exec/update.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/exec/update.h b/src/mongo/db/exec/update.h
index 263c28ab8e5..0fa391c778f 100644
--- a/src/mongo/db/exec/update.h
+++ b/src/mongo/db/exec/update.h
@@ -176,6 +176,12 @@ private:
*/
Status restoreUpdateState();
+ /**
+ * Stores 'idToRetry' in '_idRetrying' so the update can be retried during the next call to
+ * work(). Always returns NEED_YIELD and sets 'out' to WorkingSet::INVALID_ID.
+ */
+ StageState prepareToRetryWSM(WorkingSetID idToRetry, WorkingSetID* out);
+
UpdateStageParams _params;
// Not owned by us.