Details
-
Bug
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Storage Execution
-
ALL
Description
There's a broken link here:
https://github.com/mongodb/mongo/blob/master/src/mongo/db/storage/kv/kv_engine.h#L248
/**
|
* Returns true if storage engine supports --directoryperdb.
|
* See:
|
* http://docs.mongodb.org/manual/reference/program/mongod/#cmdoption--directoryperdb
|
*/ |
The correct link is now:
ttps://docs.mongodb.com/manual/reference/program/mongod/#std-option-mongod.–directoryperdb
But this points to a broader problem that we should be checking links in source, especially links to our own website/CMS, particularly links that refer to paragraphs within a page.
Helpful commands:
$ grep -hro "http[s]\?\://docs.mongodb[^[:space:]^(^)^\"^\\\']\+" src/mongo | grep -v "{}" | grep "#" | wc -l |
30
|
$ grep -hro "http[s]\?\://docs.mongodb[^[:space:]^(^)^\"^\\\']\+" src/mongo | grep -v "{}" | grep "#" | xargs -I{} curl --silent --head --write-out '%{http_code} %{url_effective}\n' -o /dev/null {} | grep -v "^200" | wc -l |
5
|
$ grep -hro "http[s]\?\://.*mongodb\.\(org\|com\)[^[:space:]^(^)^\"^\\\'^\.^\>]\+" src/mongo | sort | uniq | wc -l |
116
|