Hitting ctrl-c during a sample session will cause transient "MongoNotConnectedError: Client must be connected before running operations"

XMLWordPrintableJSON

    • None
    • Developer Tools

      Repro:

      • run a `process` call
      • hit ctrl-c 
      • immediately call `process` again
      • will yield the error. it goes away after a few retries or restarting the shell

      sp.process([{ '$source':

      { connectionName: 'DemoKafka', topic: 'wiki1' }

      }])

      ... sample flow ...

      ^CStopping execution...

      AtlasStreamProcessing> sp.process([{ '$source':

      { connectionName: 'DemoKafka', topic: 'wiki1' }

      }])

      MongoNotConnectedError: Client must be connected before running operations

       

      Joe also saw this "MongoNotConnectedError: Client must be connected before running operations" error when he attempted to start a fresh .process (no ctrl-c involved).

       

       

       

            Assignee:
            Unassigned
            Reporter:
            Matthew Normyle
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: