From 542de84ec1e17520bd0d99d54a024ff0e0bc3de2 Mon Sep 17 00:00:00 2001 From: Ian Boros Date: Fri, 14 Feb 2020 18:37:38 +0000 Subject: Revert "SERVER-45610 Reject commands that read data when node is in RECOVERING state" This reverts commit ea7294598dc4621245739da201c0aeaf11aaf957. --- src/mongo/db/commands/list_indexes.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/mongo/db/commands/list_indexes.cpp') diff --git a/src/mongo/db/commands/list_indexes.cpp b/src/mongo/db/commands/list_indexes.cpp index 02dc4b7ead2..dafefa6f1ee 100644 --- a/src/mongo/db/commands/list_indexes.cpp +++ b/src/mongo/db/commands/list_indexes.cpp @@ -96,9 +96,6 @@ public: return AllowedOnSecondary::kOptIn; } - bool maintenanceOk() const override { - return false; - } virtual bool adminOnly() const { return false; } -- cgit v1.2.1