summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jstests/replsets/sessions_collection_reaping.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/jstests/replsets/sessions_collection_reaping.js b/jstests/replsets/sessions_collection_reaping.js
index ec6e60bbf40..415bf4a4c82 100644
--- a/jstests/replsets/sessions_collection_reaping.js
+++ b/jstests/replsets/sessions_collection_reaping.js
@@ -1,3 +1,11 @@
+/**
+ * Test that only the primary can reap a session and remove the config.transactions doc for the
+ * session, and that arbiters never try to a reap session.
+ *
+ * requires_document_locking because it uses retryable writes
+ * @tags: [requires_document_locking]
+ */
+
(function() {
"use strict";