summaryrefslogtreecommitdiff
path: root/src/mongo/s/chunk_manager_targeter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/chunk_manager_targeter.h')
-rw-r--r--src/mongo/s/chunk_manager_targeter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/s/chunk_manager_targeter.h b/src/mongo/s/chunk_manager_targeter.h
index 2d57eddafad..bb1f63e283b 100644
--- a/src/mongo/s/chunk_manager_targeter.h
+++ b/src/mongo/s/chunk_manager_targeter.h
@@ -84,9 +84,11 @@ namespace mongo {
* information is stale WRT the noted stale responses or a remote refresh is needed due
* to a targeting failure, will contact the config servers to reload the metadata.
*
+ * Reports wasChanged = true if the metadata is different after this reload.
+ *
* Also see NSTargeter::refreshIfNeeded().
*/
- Status refreshIfNeeded();
+ Status refreshIfNeeded( bool* wasChanged );
/**
* Returns the stats. Note that the returned stats object is still owned by this targeter.