summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/bson/oid.h2
-rw-r--r--src/mongo/client/simple_client_demo.cpp2
-rw-r--r--src/mongo/db/db.cpp4
-rw-r--r--src/mongo/db/geo/haystack.cpp2
-rw-r--r--src/mongo/db/json.h8
-rw-r--r--src/mongo/db/stats/snapshots.cpp2
-rw-r--r--src/mongo/s/config_upgrade_v3_to_v4.cpp4
-rw-r--r--src/mongo/util/version.cpp2
8 files changed, 13 insertions, 13 deletions
diff --git a/src/mongo/bson/oid.h b/src/mongo/bson/oid.h
index c9c5c31b3b1..8b5f3ba18c8 100644
--- a/src/mongo/bson/oid.h
+++ b/src/mongo/bson/oid.h
@@ -147,7 +147,7 @@ namespace mongo {
inline StringBuilder& operator<< (StringBuilder& s, const OID& o) { return (s << o.str()); }
/** Formatting mode for generating JSON from BSON.
- See <http://mongodb.onconfluence.com/display/DOCS/Mongo+Extended+JSON>
+ See <http://dochub.mongodb.org/core/mongodbextendedjson>
for details.
*/
enum JsonStringFormat {
diff --git a/src/mongo/client/simple_client_demo.cpp b/src/mongo/client/simple_client_demo.cpp
index b386863b1d4..51b370ab2d3 100644
--- a/src/mongo/client/simple_client_demo.cpp
+++ b/src/mongo/client/simple_client_demo.cpp
@@ -15,7 +15,7 @@
/* simple_client_demo.cpp
- See also : http://www.mongodb.org/pages/viewpage.action?pageId=133415
+ See also : http://dochub.mongodb.org/core/cppdrivertutorial
How to build and run:
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp
index 8e3ef65c363..4693bb5c27e 100644
--- a/src/mongo/db/db.cpp
+++ b/src/mongo/db/db.cpp
@@ -537,7 +537,7 @@ namespace mongo {
log() << "** We suggest setting it to 256KB (512 sectors) or less"
<< startupWarningsLog;
- log() << "** http://www.mongodb.org/display/DOCS/Readahead"
+ log() << "** http://dochub.mongodb.org/core/readahead"
<< startupWarningsLog;
}
}
@@ -612,7 +612,7 @@ namespace mongo {
log() << "** Restart with --replSet unless you are doing maintenance and no"
<< " other clients are connected." << startupWarningsLog;
log() << "** The TTL collection monitor will not start because of this." << startupWarningsLog;
- log() << "** For more info see http://www.mongodb.org/display/DOCS/TTL+Monitor" << startupWarningsLog;
+ log() << "** For more info see http://dochub.mongodb.org/core/ttlcollections" << startupWarningsLog;
log() << startupWarningsLog;
}
diff --git a/src/mongo/db/geo/haystack.cpp b/src/mongo/db/geo/haystack.cpp
index fa433536129..30c3abc1fd6 100644
--- a/src/mongo/db/geo/haystack.cpp
+++ b/src/mongo/db/geo/haystack.cpp
@@ -40,7 +40,7 @@
* Provides the geoHaystack index type and the command "geoSearch."
* Examines all documents in a given radius of a given point.
* Returns all documents that match a given search restriction.
- * See http://www.mongodb.org/display/DOCS/Geospatial+Haystack+Indexing
+ * See http://dochub.mongodb.org/core/haystackindexes
*
* Use when you want to look for restaurants within 25 miles with a certain name.
* Don't use when you want to find the closest open restaurants; see 2d.cpp for that.
diff --git a/src/mongo/db/json.h b/src/mongo/db/json.h
index b174b99a6dc..f344ebe1f90 100644
--- a/src/mongo/db/json.h
+++ b/src/mongo/db/json.h
@@ -27,10 +27,10 @@ namespace mongo {
* Create a BSONObj from a JSON <http://www.json.org>,
* <http://www.ietf.org/rfc/rfc4627.txt> string. In addition to the JSON
* extensions extensions described here
- * <http://mongodb.onconfluence.com/display/DOCS/Mongo+Extended+JSON>, this
- * function accepts unquoted field names and allows single quotes to
- * optionally be used when specifying field names and string values instead
- * of double quotes. JSON unicode escape sequences (of the form \uXXXX) are
+ * <http://dochub.mongodb.org/core/mongodbextendedjson>, this function
+ * accepts unquoted field names and allows single quotes to optionally be
+ * used when specifying field names and string values instead of double
+ * quotes. JSON unicode escape sequences (of the form \uXXXX) are
* converted to utf8.
*
* @throws MsgAssertionException if parsing fails. The message included with
diff --git a/src/mongo/db/stats/snapshots.cpp b/src/mongo/db/stats/snapshots.cpp
index 35f0768d79f..25ded47a05a 100644
--- a/src/mongo/db/stats/snapshots.cpp
+++ b/src/mongo/db/stats/snapshots.cpp
@@ -145,7 +145,7 @@ namespace mongo {
statsSnapshots.outputLockInfoHTML( ss );
ss << "<a "
- "href=\"http://www.mongodb.org/pages/viewpage.action?pageId=7209296\" "
+ "href=\"http://dochub.mongodb.org/core/concurrency\" "
"title=\"snapshot: was the db in the write lock when this page was generated?\">";
ss << "write locked now:</a> " << (Lock::isW() ? "true" : "false") << "\n";
}
diff --git a/src/mongo/s/config_upgrade_v3_to_v4.cpp b/src/mongo/s/config_upgrade_v3_to_v4.cpp
index 3530987773e..3ee0bd023e4 100644
--- a/src/mongo/s/config_upgrade_v3_to_v4.cpp
+++ b/src/mongo/s/config_upgrade_v3_to_v4.cpp
@@ -42,7 +42,7 @@ namespace mongo {
"Did not upgrade config database from v3 to v4 because the upgrade failed in\n"
"the critical section. Manual intervention is required to re-sync the config\n"
"servers. See:\n"
- "http://docs.mongodb.org/manual/release-notes/2.4/\n"
+ "http://dochub.mongodb.org/core/2dot4upgradenotes\n"
"******\n";
static const char* cannotCleanupMessage =
@@ -51,7 +51,7 @@ namespace mongo {
"Cannot upgrade config database from v3 to v4 because a previous upgrade\n"
"failed in the critical section. Manual intervention is required to re-sync\n"
"the config servers. See:\n"
- "http://docs.mongodb.org/manual/release-notes/2.4/\n"
+ "http://dochub.mongodb.org/core/2dot4upgradenotes\n"
"******\n";
static const char* minMongoProcessVersion = "2.2";
diff --git a/src/mongo/util/version.cpp b/src/mongo/util/version.cpp
index 719b04b20ed..6d5d94b98bb 100644
--- a/src/mongo/util/version.cpp
+++ b/src/mongo/util/version.cpp
@@ -195,7 +195,7 @@ namespace mongo {
if( !cmdLine.dur ) {
log() << "** Note that journaling defaults to off for 32 bit and is currently off." << startupWarningsLog;
}
- log() << "** See http://www.mongodb.org/display/DOCS/32+bit" << startupWarningsLog;
+ log() << "** See http://dochub.mongodb.org/core/32bit" << startupWarningsLog;
warned = true;
}