Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13268

warning messages in stage_builder.cpp unclear to user

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.6.0-rc3
    • Affects Version/s: 2.6.0-rc1
    • Component/s: Logging, Usability
    • Labels:
      None
    • Fully Compatible

      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
      

            Assignee:
            thomas.rueckstiess@mongodb.com Thomas Rueckstiess
            Reporter:
            thomas.rueckstiess@mongodb.com Thomas Rueckstiess
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: