Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1301

Question about DB.setReadOnly

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • None
    • None
    • Write Operations
    • None

    Description

      we used the now deprecated setReadOnly API to ensure that some processes don't have write access to certain DBs in a replica set. These processes can transition from a state of having write access to a state with read-only access without having to reconnect to mongo, which is something the above API provided us with. Now that the API got deprecated in 2.12.2 I seem to be unable to find a proper alternative

      Attachments

        Activity

          People

            Unassigned Unassigned
            sumit.gupta15 Sumit Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: