[SERVER-13030] Improve messages from shell's upgradeCheck() methods. Created: 04/Mar/14  Updated: 11/Jul/16  Resolved: 05/Mar/14

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.6.0-rc0
Fix Version/s: 2.6.0-rc1

Type: Improvement Priority: Major - P3
Reporter: Matt Dannenberg Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

a few things to improve:

  • print error message then doc rather then full sentence which is hard to read
    change db and collection checks to give a return message in standalone
  • “Invalid index spec for <index name>: <index spec>”
  • start lines with “Document|Index|Collection Error: <desc> (if needed : <target>)”
  • when index too large, print spec as well “Key for index <index name> (<spec>) too long on following document: <doc>”


 Comments   
Comment by Githook User [ 05/Mar/14 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-13003 SERVER-13030 make upgradeChecker a function of DB and improve its messaging
Branch: master
https://github.com/mongodb/mongo/commit/1d84c429f7a4d524a052e547c39d4589c386c2db

Generated at Thu Feb 08 03:30:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.