You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolves#647 - Fixes typos in Mongo advisory locking parameters (#648)
* Resolves#647 - Fixes typos in Mongo advisory locking parameters
* PR Feedback for #647 - Error out when both params set
* Fixes lint issues with #647
* Additional PR Fixes#647
* Lint fixes again #647
* One more tweak to CONTRIBUTING.md
* One more tweak to CONTRIBUTING.md, again
Co-authored-by: Steve Ramage <[email protected]>
Copy file name to clipboardExpand all lines: database/mongodb/README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,8 @@
15
15
|`x-transaction-mode`|`TransactionMode`| If set to `true` wrap commands in [transaction](https://docs.mongodb.com/manual/core/transactions). Available only for replica set. Driver is using [strconv.ParseBool](https://golang.org/pkg/strconv/#ParseBool) for parsing|
16
16
|`x-advisory-locking`|`true`| Feature flag for advisory locking, if set to false, disable advisory locking |
17
17
|`x-advisory-lock-collection`|`migrate_advisory_lock`| The name of the collection to use for advisory locking.|
18
-
|`x-advisory-lock-timout`|`15`| The max time in seconds that the advisory lock will wait if the db is already locked. |
19
-
|`x-advisory-lock-timout-interval`|`10`| The max timeout in seconds interval that the advisory lock will wait if the db is already locked. |
18
+
|`x-advisory-lock-timeout`|`15`| The max time in seconds that migrate will wait to acquire a lock before failing. |
19
+
|`x-advisory-lock-timeout-interval`|`10`| The max time in seconds between attempts to acquire the advisory lock, the lock is attempted to be acquired using an exponential backoff algorithm. |
20
20
|`dbname`|`DatabaseName`| The name of the database to connect to |
21
21
|`user`|| The user to sign in as. Can be omitted |
22
22
|`password`|| The user's password. Can be omitted |
0 commit comments