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

Mongod invariant while running bucket_timestamp_rounding.js with new fcv upgrade downgrade suite

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Execution NAMR Team 2023-07-24
    • 135

      One of the patch builds resulted in a mongod invariant while running test bucket_timestamp_rounding.js under the new fcv_upgrade_downgrade_replica_sets_jscore_passthrough suite. 
      The first few lines of the call stack is as follows:

      [j6:prim] | 2023-06-24T03:39:12.929+00:00 I  CONTROL  31445   [conn31] "Frame","attr":{"frame":{"a":"7FE6F9154F7C","b":"7FE6F8A25000","o":"72FF7C","s":"_ZN5mongo12_GLOBAL__N_19callAbortEv","C":"mongo::(anonymous namespace)::callAbort()","s+":"3C"}}[j6:prim] | 2023-06-24T03:39:12.929+00:00 I  CONTROL  31445   [conn31] "Frame","attr":{"frame":{"a":"7FE6F915539A","b":"7FE6F8A25000","o":"73039A","s":"_ZN5mongo15invariantFailedEPKcS1_j","C":"mongo::invariantFailed(char const*, char const*, unsigned int)","s+":"40A"}}
      [j6:prim] | 2023-06-24T03:39:12.929+00:00 I  CONTROL  31445   [conn31] "Frame","attr":{"frame":{"a":"7FE6CC56388D","b":"7FE6CC34D000","o":"21688D","s":"_ZN5mongo10timeseries14bucket_catalog8internal12removeBucketERNS1_13BucketCatalogERNS1_6StripeENS_8WithLockERNS1_6BucketENS2_11RemovalModeE","C":"mongo::timeseries::bucket_catalog::internal::removeBucket(mongo::timeseries::bucket_catalog::BucketCatalog&, mongo::timeseries::bucket_catalog::Stripe&, mongo::WithLock, mongo::timeseries::bucket_catalog::Bucket&, mongo::timeseries::bucket_catalog::internal::RemovalMode)","s+":"75D"}}[j6:prim] | 2023-06-24T03:39:12.930+00:00 I  CONTROL  31445   [conn31] "Frame","attr":{"frame":{"a":"7FE6CC55CFD4","b":"7FE6CC34D000","o":"20FFD4","s":"_ZN5mongo10timeseries14bucket_catalog8internal15closeOpenBucketERNS1_13BucketCatalogERNS1_6StripeENS_8WithLockERNS1_6BucketERSt6vectorINS1_12ClosedBucketESaISB_EE","C":"mongo::timeseries::bucket_catalog::internal::closeOpenBucket(mongo::timeseries::bucket_catalog::BucketCatalog&, mongo::timeseries::bucket_catalog::Stripe&, mongo::WithLock, mongo::timeseries::bucket_catalog::Bucket&, std::vector<mongo::timeseries::bucket_catalog::ClosedBucket, std::allocator<mongo::timeseries::bucket_catalog::ClosedBucket> >&)","s+":"144"}}[j6:prim] | 2023-06-24T03:39:12.930+00:00 I  CONTROL  31445   [conn31] "Frame","attr":{"frame":{"a":"7FE6CC55F766","b":"7FE6CC34D000","o":"212766","s":"_ZN5mongo10timeseries14bucket_catalog8internal8rolloverERNS1_13BucketCatalogERNS1_6StripeENS_8WithLockERNS1_6BucketERKNS2_12CreationInfoENS1_14RolloverActionE","C":"mongo::timeseries::bucket_catalog::internal::rollover(mongo::timeseries::bucket_catalog::BucketCatalog&, mongo::timeseries::bucket_catalog::Stripe&, mongo::WithLock, mongo::timeseries::bucket_catalog::Bucket&, mongo::timeseries::bucket_catalog::internal::CreationInfo const&, mongo::timeseries::bucket_catalog::RolloverAction)","s+":"236"}}[j6:prim] | 2023-06-24T03:39:12.930+00:00 I  CONTROL  31445   [conn31] "Frame","attr":{"frame":{"a":"7FE6CC55D979","b":"7FE6CC34D000","o":"210979","s":"_ZN5mongo10timeseries14bucket_catalog8internal16insertIntoBucketEPNS_16OperationContextERNS1_13BucketCatalogERNS1_6StripeENS_8WithLockEhRKNS_7BSONObjENS1_34CombineWithInsertsFromOtherClientsENS2_19AllowBucketCreationERNS2_12CreationInfoERNS1_6BucketE","C":"mongo::timeseries::bucket_catalog::internal::insertIntoBucket(mongo::OperationContext*, mongo::timeseries::bucket_catalog::BucketCatalog&, mongo::timeseries::bucket_catalog::Stripe&, mongo::WithLock, unsigned char, mongo::BSONObj const&, mongo::timeseries::bucket_catalog::CombineWithInsertsFromOtherClients, mongo::timeseries::bucket_catalog::internal::AllowBucketCreation, mongo::timeseries::bucket_catalog::internal::CreationInfo&, mongo::timeseries::bucket_catalog::Bucket&)","s+":"349"}}[j6:prim] | 2023-06-24T03:39:12.930+00:00 I  CONTROL  31445   [conn31] "Frame","attr":{"frame":{"a":"7FE6CC560029","b":"7FE6CC34D000","o":"213029","s":"_ZN5mongo10timeseries14bucket_catalog8internal6insertEPNS_16OperationContextERNS1_13BucketCatalogERKNS_15NamespaceStringEPKNS_10StringData19ComparatorInterfaceERKNS_17TimeseriesOptionsERKNS_7BSONObjENS1_34CombineWithInsertsFromOtherClientsENS2_19AllowBucketCreationENS1_16BucketFindResultE","C":"mongo::timeseries::bucket_catalog::internal::insert(mongo::OperationContext*, mongo::timeseries::bucket_catalog::BucketCatalog&, mongo::NamespaceString const&, mongo::StringData::ComparatorInterface const*, mongo::TimeseriesOptions const&, mongo::BSONObj const&, mongo::timeseries::bucket_catalog::CombineWithInsertsFromOtherClients, mongo::timeseries::bucket_catalog::internal::AllowBucketCreation, mongo::timeseries::bucket_catalog::BucketFindResult)","s+":"739"}}[j6:prim] | 2023-06-24T03:39:12.930+00:00 I  CONTROL  31445   [conn31] "Frame","attr":{"frame":{"a":"7FE6CC51E72B","b":"7FE6CC34D000","o":"1D172B","s":"_ZN5mongo10timeseries14bucket_catalog6insertEPNS_16OperationContextERNS1_13BucketCatalogERKNS_15NamespaceStringEPKNS_10StringData19ComparatorInterfaceERKNS_17TimeseriesOptionsERKNS_7BSONObjENS1_34CombineWithInsertsFromOtherClientsENS1_16BucketFindResultE","C":"mongo::timeseries::bucket_catalog::insert(mongo::OperationContext*, mongo::timeseries::bucket_catalog::BucketCatalog&, mongo::NamespaceString const&, mongo::StringData::ComparatorInterface const*, mongo::TimeseriesOptions const&, mongo::BSONObj const&, mongo::timeseries::bucket_catalog::CombineWithInsertsFromOtherClients, mongo::timeseries::bucket_catalog::BucketFindResult)","s+":"15B"}}
      [j6:prim] | 2023-06-24T03:39:12.930+00:00 I  CONTROL  31445   [conn31] "Frame","attr":{"frame":{"a":"7FE6E7ADE381","b":"7FE6E7A00000","o":"DE381","s":"_ZN5mongo10timeseries23attemptInsertIntoBucketEPNS_16OperationContextERNS0_14bucket_catalog13BucketCatalogERKNS_15NamespaceStringEPKNS_10CollectionERNS_17TimeseriesOptionsERKNS_7BSONObjENS3_34CombineWithInsertsFromOtherClientsEb","C":"mongo::timeseries::attemptInsertIntoBucket(mongo::OperationContext*, mongo::timeseries::bucket_catalog::BucketCatalog&, mongo::NamespaceString const&, mongo::Collection const*, mongo::TimeseriesOptions&, mongo::BSONObj const&, mongo::timeseries::bucket_catalog::CombineWithInsertsFromOtherClients, bool)","s+":"1611"}}
      [j6:prim] | 2023-06-24T03:39:12.930+00:00 I  CONTROL  31445   [conn31] "Frame","attr":{"frame":{"a":"7FE6E5CFAAC5","b":"7FE6E5BA1000","o":"159AC5","s":"_ZZN5mongo14write_ops_exec12_GLOBAL__N_123insertIntoBucketCatalogEPNS_16OperationContextEmmRKSt6vectorImSaImEEPS4_INS_9write_ops10WriteErrorESaISA_EEPbRKNS9_20InsertCommandRequestEENK4$_13clEm","C":"mongo::write_ops_exec::(anonymous namespace)::insertIntoBucketCatalog(mongo::OperationContext*, unsigned long, unsigned long, std::vector<unsigned long, std::allocator<unsigned long> > const&, std::vector<mongo::write_ops::WriteError, std::allocator<mongo::write_ops::WriteError> >*, bool*, mongo::write_ops::InsertCommandRequest const&)::$_13::operator()(unsigned long) const","s+":"B55"}}

      Evergreen run: https://parsley.mongodb.com/resmoke/94129f6e20ded1bbd80d89fc40229911/test/176b7b34975308e5c5e2fa5da4a59b98?bookmarks=0,10902&shareLine=192

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            adi.zaimi@mongodb.com Adi Zaimi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: