summaryrefslogtreecommitdiff
path: root/jstests/replsets/libs/tenant_migration_util.js
diff options
context:
space:
mode:
authorVishnu Kaushik <vishnu.kaushik@mongodb.com>2021-04-26 17:28:50 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-27 22:04:01 +0000
commit3fc7aedd7469e5bb0dfd53280c4845b6b5c39377 (patch)
tree9bd5209d3ab444e0df85804e5b2ff9a4638151e2 /jstests/replsets/libs/tenant_migration_util.js
parentcc723f54691062eae59a067a8549849fb585d843 (diff)
downloadmongo-3fc7aedd7469e5bb0dfd53280c4845b6b5c39377.tar.gz
SERVER-55913 Display recipient and donor access blocker status in serverStatus when both exist
Diffstat (limited to 'jstests/replsets/libs/tenant_migration_util.js')
-rw-r--r--jstests/replsets/libs/tenant_migration_util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/libs/tenant_migration_util.js b/jstests/replsets/libs/tenant_migration_util.js
index cc6ecb5bfb6..1e0e3d22a79 100644
--- a/jstests/replsets/libs/tenant_migration_util.js
+++ b/jstests/replsets/libs/tenant_migration_util.js
@@ -246,7 +246,7 @@ var TenantMigrationUtil = (function() {
if (!mtab) {
return 0;
}
- return mtab.numBlockedReads;
+ return mtab.donor.numBlockedReads;
}
/**
@@ -258,7 +258,7 @@ var TenantMigrationUtil = (function() {
if (!mtab) {
return 0;
}
- return mtab.numBlockedWrites;
+ return mtab.donor.numBlockedWrites;
}
/**