summaryrefslogtreecommitdiff
path: root/src/mongo/s/catalog_cache.h
diff options
context:
space:
mode:
authorMartin Neupauer <martin.neupauer@10gen.com>2018-03-26 19:30:26 -0400
committerMartin Neupauer <martin.neupauer@mongodb.com>2018-04-05 12:52:02 -0400
commita6d486b8a6e0c81771bd771cc0237236791d635d (patch)
tree61b49fae8cf316c033b2ac707202e50b281cc72a /src/mongo/s/catalog_cache.h
parent6fbc1bbfcd5ffcfb451c300a6ef523f19d5edb55 (diff)
downloadmongo-a6d486b8a6e0c81771bd771cc0237236791d635d.tar.gz
SERVER-33523 Add timestamp support to CollectionMetadata
Diffstat (limited to 'src/mongo/s/catalog_cache.h')
-rw-r--r--src/mongo/s/catalog_cache.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/s/catalog_cache.h b/src/mongo/s/catalog_cache.h
index c1394a000d8..9903f19b3ec 100644
--- a/src/mongo/s/catalog_cache.h
+++ b/src/mongo/s/catalog_cache.h
@@ -116,6 +116,14 @@ public:
OperationContext* opCtx, const NamespaceString& nss);
/**
+ * Retuns the routing history table for the collection instead of the chunk manager (the chunk
+ * manager is a part of CachedCollectionRoutingInfo). The chunk manager represents a specific
+ * state at some point in time, on the other hand a routing history table has the whole history.
+ */
+ std::shared_ptr<RoutingTableHistory> getCollectionRoutingTableHistoryNoRefresh(
+ const NamespaceString& nss);
+
+ /**
* Non-blocking method that marks the current cached database entry as needing refresh if the
* entry's databaseVersion matches 'databaseVersion'.
*