summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/namespace_string.h')
-rw-r--r--src/mongo/db/namespace_string.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h
index a43406f8bd4..e5de9877c84 100644
--- a/src/mongo/db/namespace_string.h
+++ b/src/mongo/db/namespace_string.h
@@ -338,6 +338,11 @@ public:
bool isDropPendingNamespace() const;
/**
+ * Returns true if operations on this namespace must be applied in their own oplog batch.
+ */
+ bool mustBeAppliedInOwnOplogBatch() const;
+
+ /**
* Returns the drop-pending namespace name for this namespace, provided the given optime.
*
* Example: