Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12554

Running example in docs throws an error in running mongo session

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual, Server
    • Labels:
      None
    • Environment:

      So I tried running the example in https://docs.mongodb.com/manual/reference/read-concern-linearizable/ and in particular the runCommand example at the bottom of the article and got the following error as you can see in the screenshot. I figure that maybe I need to have a replica set but I don't know how to do that or what step to take to actually run the example command and the docs don't mention anything:

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            marcelbelmont@gmail.com Jean-Marcel Belmont
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              1 year, 26 weeks, 5 days ago