diff options
author | Vishnu Kaushik <vishnu.kaushik@mongodb.com> | 2021-04-26 17:28:50 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-04-27 22:04:01 +0000 |
commit | 3fc7aedd7469e5bb0dfd53280c4845b6b5c39377 (patch) | |
tree | 9bd5209d3ab444e0df85804e5b2ff9a4638151e2 /jstests/replsets/libs/tenant_migration_util.js | |
parent | cc723f54691062eae59a067a8549849fb585d843 (diff) | |
download | mongo-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.js | 4 |
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; } /** |