-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.6.0-rc0
-
Component/s: JavaScript
-
None
-
Fully Compatible
upgradeCheck() uses Object.invalidForStorage() and then prints the error that the method returns. Unfortunately it's not a useful message:
> doc1={"foo.bar":1} { "foo.bar" : 1 } > doc2={"$bar":1} { "$bar" : 1 } > Object.invalidForStorage(doc1) Unknown Error > Object.invalidForStorage(doc2) Unknown Error
- is related to
-
SERVER-8391 Pre-flight upgrade tool to check for changes breaking backwards compatibility or introducing regressions
- Closed