Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-448

Throw for unsupported sessions methods

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.6.1
    • Affects Version/s: None
    • Component/s: Shell API
    • None
    • 2
    • Iteration Quince
    • Needed

       

      Mongo.isCausalConsistency(): boolean “The shell has a different API than drivers for sessions, the driver does not have a way to set causal consistency for "all operations" this way.” * In order to implement this we’d have to start hidden sessions from the user which would potentially lead to all sorts of unexpected behavior.
      • The user can still set causal consistency via the startSession method
      Mongo.setSlaveOk() Deprecated
         
      Session.advanceClusterTime(
        clusterTime: Timestamp,
        signature: {     hash: BinData,     keyId: NumberLong   }
      ): ?
      Not implemented by the driver, see https://jira.mongodb.org/browse/NODE-2843

            Assignee:
            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            Reporter:
            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: