Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3258

Using Azure functions with Azure Atlas cluster, tier upgrade makes function unresponsive

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • 2.9.3
    • None
    • None

    Description

      Repro steps:

      1. Create resources on Azure to be able to deploy an F# Azure function
      2. Create an Azure cluster in MongoDB Atlas
      3. Create an F# function that exposes a REST API with a single call (doDbStuff) that inserts and finds documents.
      4. Call this function continuously from 4 or 5 different threads/processes.
      5. With the traffic from 4, do a failover. This behaves as expected.
      6. With the traffic from 4, do a cluster tier upgrade (e.g. M20 to M30). Expected: similar behavior as 5. Actual: function can't contact cluster for about 8 to 10 minutes if the function is deployed as a Windows Function or indefinitely if deployed as a Docker (containerized) function.

      Request: driver should be resilient to Atlas Azure cluster tier upgrades.

      Attachments

        Activity

          People

            james.kovacs@mongodb.com James Kovacs
            francisco.alanis@mongodb.com Francisco Alanis
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: