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

Running example in docs throws an error in running mongo session

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual, Server
    • None

    Description

      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:

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago