Throw for unsupported sessions methods

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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 (Inactive)
            Reporter:
            Anna Herlihy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: