summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorAntonio Fuschetto <antonio.fuschetto@mongodb.com>2022-09-20 08:38:34 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-20 09:16:16 +0000
commit05a9613d1ca645467dd98b915b3ffd0a4a84e9dc (patch)
tree6d077fe31470c6b7f319fdeb912bcbe278fc6aa5 /src/mongo
parent8bd3a016765aa131b9235f5f5e6a2b65690721f9 (diff)
downloadmongo-05a9613d1ca645467dd98b915b3ffd0a4a84e9dc.tar.gz
SERVER-63847 Complete TODO listed in SERVER-44105
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/db_raii.cpp2
-rw-r--r--src/mongo/db/db_raii.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/db_raii.cpp b/src/mongo/db/db_raii.cpp
index 1b6585ca0d7..2a0377e32cb 100644
--- a/src/mongo/db/db_raii.cpp
+++ b/src/mongo/db/db_raii.cpp
@@ -55,7 +55,7 @@ namespace {
const boost::optional<int> kDoNotChangeProfilingLevel = boost::none;
-// TODO: SERVER-44105 remove
+// TODO (SERVER-69813): Get rid of this when ShardServerCatalogCacheLoader will be removed.
// If set to false, secondary reads should wait behind the PBW lock.
const auto allowSecondaryReadsDuringBatchApplication_DONT_USE =
OperationContext::declareDecoration<boost::optional<bool>>();
diff --git a/src/mongo/db/db_raii.h b/src/mongo/db/db_raii.h
index 948a7271823..866b25bcb49 100644
--- a/src/mongo/db/db_raii.h
+++ b/src/mongo/db/db_raii.h
@@ -598,7 +598,7 @@ private:
};
/**
- * TODO: SERVER-44105 remove
+ * TODO (SERVER-69813): Get rid of this when ShardServerCatalogCacheLoader will be removed.
* RAII type for letting secondary reads to block behind the PBW lock.
* Note: Do not add additional usage. This is only temporary for ease of backport.
*/