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

Ignore duplicate key error from refreshLogicalSessionCacheNow

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Sharding 2018-12-17
    • 0

    Description

      refreshLogicalSessionCacheNow can run in parallel with logical sessions cache refresh thread and hence call LogicalSessinsCacheImpl::_refresh method concurrently which will result in returning duplicate key error.
      As refreshLogicalSessionCacheNow is a part of test its ok to ignore the duplicate key status in some cases to improve test reliability.

      Attachments

        Activity

          People

            matthew.saltz@mongodb.com Matthew Saltz
            misha.tyulenev@mongodb.com Misha Tyulenev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: