fix startup message when illegal indexes encountered

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.8.0-rc0
    • Affects Version/s: 2.7.6
    • Component/s: Index Maintenance
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Started mongod with noIndexBuildRetry (because I have some illegal indexes 2.7.x fasserts on):

      ~/bins/mongodb-osx-x86_64-2.7.6/bin/mongod --noIndexBuildRetry -v
      2014-10-20T07:43:17.329-0700 D COMMANDS [DataFileSync] BackgroundJob starting: DataFileSync
      2014-10-20T07:43:17.329-0700 D SHARDING shardObjTest passed
      2014-10-20T07:43:17.329-0700 D SHARDING isInRangeTest passed
      2014-10-20T07:43:17.329-0700 D SHARDING shardKeyTest passed
      2014-10-20T07:43:17.329-0700 I -        [initandlisten] MongoDB starting : pid=2212 port=27017 dbpath=/data/db 64-bit host=Asyas-MacBook-Pro.local
      2014-10-20T07:43:17.329-0700 I -        [initandlisten]
      2014-10-20T07:43:17.329-0700 I -        [initandlisten] ** NOTE: This is a development version (2.7.6) of MongoDB.
      2014-10-20T07:43:17.329-0700 I -        [initandlisten] **       Not recommended for production.
      2014-10-20T07:43:17.329-0700 I -        [initandlisten]
      2014-10-20T07:43:17.329-0700 I -        [initandlisten] db version v2.7.6
      2014-10-20T07:43:17.329-0700 I -        [initandlisten] git version: a8828ca2f6d50eb9f183e3bc5d317a7e356083c7
      2014-10-20T07:43:17.329-0700 I -        [initandlisten] build info: Darwin mci-osx108-4.build.10gen.cc 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64 BOOST_LIB_VERSION=1_56
      2014-10-20T07:43:17.329-0700 I -        [initandlisten] allocator: system
      2014-10-20T07:43:17.329-0700 I -        [initandlisten] options: { storage: { indexBuildRetry: false }, systemLog: { verbosity: 1 } }
      

      and still:

      2014-10-20T07:43:21.209-0700 D -        [initandlisten] User Assertion: 72:wrong type for 'max' field, expected number, found max: new Date(32503701600000)
      2014-10-20T07:43:21.209-0700 E INDEXING [initandlisten] Index rebuilding did not complete: 72 wrong type for 'max' field, expected number, found max: new Date(32503701600000)
      2014-10-20T07:43:21.209-0700 I INDEXING [initandlisten] note: restart the server with --noIndexBuildRetry to skip index rebuilds
      2014-10-20T07:43:21.209-0700 I -        [initandlisten] Fatal Assertion 18643
      2014-10-20T07:43:21.209-0700 I -        [initandlisten]
      
      ***aborting after fassert() failure
      
      

            Assignee:
            Eric Milkie
            Reporter:
            Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: