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

Handle cancellation error in PeriodicShardedTimeseriesShardkeyChecker

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc14
    • Affects Version/s: 8.1.0-rc0, 8.0.0-rc13
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0
    • CAR Team 2024-07-22, CAR Team 2024-08-05
    • 200

      When we stop this job on shutdown, this function call might be in a state when this aggregation is actually running. Cancelling the context will result in an exception (as it is expected), but that exception is not handled anywhere, so it causes a crash on shutdown.

      This happens only if the shutdown happens right at the moment when the periodic job is at the given state what happens once in every 12 hours, so the user impact is negligible, but it has a higher chance to happen on evergreen.

            Assignee:
            adam.farkas@mongodb.com Wolfee Farkas
            Reporter:
            adam.farkas@mongodb.com Wolfee Farkas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: