![]() ![]() This can happen during a replica set election. Write operation or a read operation that required a primary. type MongoNodeIsRecoveringException = Īn exception indicating that the server is a member of a replica set but is in recovery mode, and therefore refused to executeĪn exception indicating that the server is a member of a replica set but is not the primary, and therefore refused to execute either a. type MongoNamespace = Ī MongoDB namespace, which includes a database name and collection name. type MongoInterruptedException = Ī non-checked exception indicating that the driver has been interrupted by a call to Thread.interrupt. type MongoInternalException = Ī Mongo exception internal to the driver, not carrying any error code. type MongoIncompatibleDriverException = Īn exception indicating that this version of the driver is not compatible with at least one of the servers that it is currently. type MongoExecutionTimeoutException = Įxception indicating that the execution of the current operation timed out as a result of the maximum operation time being exceeded.Top level Exception for all Exceptions, server-side or client-side, that come from the driver. Note: Library authors are responsible for accepting MongoDriverInformation from external libraries using their library.Īlso all the meta data is limited to 512 bytes and any excess data will be truncated. The following metadata can be included when creating a MongoClient. Then available in the MongoD/MongoS logs. The MongoDriverInformation class allows driver and library authors to add extra information about their library. case class ChangeStreamObservable ( wrapped: ChangeStreamPublisher) extends Observable] with Product with Serializable.The result of a successful bulk write operation. It protects against a malicious server advertising false encryptedFields. Supplying an encryptedFieldsMap provides more security than relying on an encryptedFields obtained from the server. MaxMessageSizeBytes of 6MB) and may have a negative performance impact.Īutomatic encryption requires the authenticated user to have the listCollections privilege action. If automatic encryption fails on an operation, use a MongoClient configured with bypassAutoEncryption=true and useĬlientEncryption#encrypt to manually encrypt values.Įnabling client side encryption reduces the maximum document and message size (using a maxBsonObjectSize of 2MiB and Set bypassAutoEncryption=true in AutoEncryptionSettings.Įxplicit encryption/decryption and automatic decryption is a community feature, enabled with the newĬom. type.Ī MongoClient configured with bypassAutoEncryption=true will still automatically decrypt. Supported for operations on a database or view and will result in error. Must be encrypted, and the driver automatically encrypts commands sent to MongoDB and decrypts responses.Īutomatic encryption is an enterprise only feature that only applies to operations on a collection. In-use encryption enables an application to specify what fields in a collection The client-side automatic encryption settings. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |