diff options
Diffstat (limited to 'src/mongo/db/pipeline/mongo_process_common.h')
-rw-r--r-- | src/mongo/db/pipeline/mongo_process_common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/mongo_process_common.h b/src/mongo/db/pipeline/mongo_process_common.h index 3ba69ba20a2..ff32827cba1 100644 --- a/src/mongo/db/pipeline/mongo_process_common.h +++ b/src/mongo/db/pipeline/mongo_process_common.h @@ -93,6 +93,15 @@ protected: CurrentOpUserMode userMode, std::vector<BSONObj>* ops) const = 0; + + /** + * Report information about transaction coordinators by iterating through all + * TransactionCoordinators in the TransactionCoordinatorCatalog. + */ + virtual void _reportCurrentOpsForTransactionCoordinators(OperationContext* opCtx, + bool includeIdle, + std::vector<BSONObj>* ops) const = 0; + /** * Converts an array of field names into a set of FieldPath. Throws if 'fields' contains * duplicate elements. |