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

Telemetry store read lock triggers an assertion when used in multiple threads

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: 6.2.0-rc2
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v6.2
    • QO 2022-11-28, QO 2022-12-12
    • 137

      [j5:c:prim] | 2022-11-15T17:57:43.125+00:00 F ASSERT 23079 [conn26] "Invariant failure","attr":

      {"expr":"request->recursiveCount > 0","file":"src/mongo/db/concurrency/lock_manager.cpp","line":539}
      mongo::LockerImpl::_lockBegin(mongo::OperationContext*, mongo::ResourceId, mongo::LockMode)
      mongo::LockerImpl::lock(mongo::OperationContext*, mongo::ResourceId, mongo::LockMode, mongo::Date_t)
      mongo::Lock::ResourceLock::_lock(mongo::LockMode, mongo::Date_t)
      mongo::telemetry::getTelemetryStoreForRead(mongo::ServiceContext const*)
      mongo::telemetry::(anonymous namespace)::LockedMetrics::get(mongo::OperationContext const*, mongo::BSONObj const&)
      mongo::telemetry::recordExecution(mongo::OperationContext const*, mongo::OpDebug const&, bool)
      mongo::(anonymous namespace)::FindCmd::Invocation::run(mongo::OperationContext*, mongo::rpc::ReplyBuilderInterface*)
      

            Assignee:
            jess.balint@mongodb.com Jess Balint
            Reporter:
            jess.balint@mongodb.com Jess Balint
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: