[SERVER-13268] warning messages in stage_builder.cpp unclear to user Created: 19/Mar/14  Updated: 11/Jul/16  Resolved: 27/Mar/14

Status: Closed
Project: Core Server
Component/s: Logging, Usability
Affects Version/s: 2.6.0-rc1
Fix Version/s: 2.6.0-rc3

Type: Improvement Priority: Minor - P4
Reporter: Thomas Rueckstiess Assignee: Thomas Rueckstiess
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

the following warnings in stage_builder.cpp are cryptic and no use to users. They should be better explained and use proper sentences.

For example

  • idx ==> index
  • fts ==> text search
  • ns ==> namespace
  • cant ==> Can't
  • no questions

no text idx, or more than one text idx?
    master: in src/mongo/db/query/stage_builder.cpp:214
 
Can't find idx <var> in ns
    master: in src/mongo/db/query/stage_builder.cpp:81
 
cant parse fts query
    master: in src/mongo/db/query/stage_builder.cpp:233
 
Can't ixscan null ns
    master: in src/mongo/db/query/stage_builder.cpp:73
 
Can't fast-count null ns (coll null)
    master: in src/mongo/db/query/stage_builder.cpp:281
 
null collection for text?
    master: in src/mongo/db/query/stage_builder.cpp:208
 
Can't distinct-scan null ns
    master: in src/mongo/db/query/stage_builder.cpp:257
 
Can't fast-count null ns (db null)
    master: in src/mongo/db/query/stage_builder.cpp:275



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

Author:

{u'username': u'kangas', u'name': u'Matt Kangas', u'email': u'matt.kangas@mongodb.com'}

Message: SERVER-13268 minor grammatical cleanup of stage_builder.cpp warnings

(cherry picked from commit 984fe4b418db3341132026050a446d8c64639881)
Branch: v2.6
https://github.com/mongodb/mongo/commit/4d24c0155e2f7b4ae2b4c73468d246925e77121c

Comment by Githook User [ 27/Mar/14 ]

Author:

{u'username': u'kangas', u'name': u'Matt Kangas', u'email': u'matt.kangas@mongodb.com'}

Message: SERVER-13268 minor grammatical cleanup of stage_builder.cpp warnings
Branch: master
https://github.com/mongodb/mongo/commit/984fe4b418db3341132026050a446d8c64639881

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