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

trivial: quote missing

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Security
    • ALL
    • Hide

      when this uassert triggers, examine log file. Example:

      pymongo.errors.OperationFailure: Invalid feature compatibility version value, expected '6.0' or '6.0' or '6.1. See https://docs.mongodb.com/master/release-notes/6.0-compatibility/#feature-compatibility., full error: {'ok': 0.0, 'errmsg': "Invalid feature compatibility version value, expected '6.0' or '6.0' or '6.1. See https://docs.mongodb.com/master/release-notes/6.0-compatibility/#feature-compatibility.", 'code': 4926900, 'codeName': 'Location4926900', '$clusterTime': {'clusterTime': Timestamp(1664220071, 17), 'signature': {'hash': b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 'keyId': 0}}, 'operationTime': Timestamp(1664220071, 17)}
      

      or '6.1 should be or '6.1'

      Show
      when this uassert triggers, examine log file. Example: pymongo.errors.OperationFailure: Invalid feature compatibility version value, expected '6.0' or '6.0' or '6.1. See https: //docs.mongodb.com/master/release-notes/6.0-compatibility/#feature-compatibility., full error: {' ok ': 0.0, ' errmsg ': "Invalid feature compatibility version value, expected ' 6.0 ' or ' 6.0 ' or ' 6.1. See https://docs.mongodb.com/master/release-notes/6.0-compatibility/#feature-compatibility." , 'code' : 4926900, 'codeName' : 'Location4926900' , '$clusterTime' : { 'clusterTime' : Timestamp(1664220071, 17), 'signature' : { 'hash' : b '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' , 'keyId' : 0}}, 'operationTime' : Timestamp(1664220071, 17)} or '6.1 should be or '6.1'
    • Security 2023-04-03

      in following code, a single-quote is missing:

      src/mongo/db/feature_compatibility_version_parser.cpp

          uasserted(4926900,
                    str::stream() << "Invalid feature compatibility version value, expected '"
                                  << multiversion::toString(GenericFCV::kLastLTS) << "' or '"
                                  << multiversion::toString(GenericFCV::kLastContinuous) << "' or '"
                                  << multiversion::toString(GenericFCV::kLatest) << ". See "
                                  << feature_compatibility_version_documentation::kCompatibilityLink
                                  << ".");
      

            Assignee:
            brad.moore@mongodb.com Brad Moore
            Reporter:
            sergey.galtsev@mongodb.com Sergey Galtsev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: