diff options
Diffstat (limited to 'src/mongo/db/exec/working_set_common.h')
-rw-r--r-- | src/mongo/db/exec/working_set_common.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/db/exec/working_set_common.h b/src/mongo/db/exec/working_set_common.h index dff7089f1a6..3cf5ba7a449 100644 --- a/src/mongo/db/exec/working_set_common.h +++ b/src/mongo/db/exec/working_set_common.h @@ -44,9 +44,10 @@ public: const Collection* collection); /** - * Iterates over 'workingSet' members that have transitioned to the LOC_AND_IDX state since - * the last yield. For all members still in the LOC_AND_IDX state, fetches the associated - * document and puts the member in "loc with unowned obj" state. + * For storage engines with document-level concurrency, iterates over 'workingSet' members that + * have transitioned to the LOC_AND_IDX state since the last yield. For all members still in the + * LOC_AND_IDX state, fetches the associated document and puts the member in "loc with unowned + * obj" state. * * This "force-fetching" is called on saveState() for storage-engines that support document- * level locking. This ensures that all WS members are still valid, even after the |