Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #37140 [Lock] Fixed reading locks from replica set secondary node…
…s (kralos) This PR was squashed before being merged into the 5.1 branch. Discussion ---------- [Lock] Fixed reading locks from replica set secondary nodes | Q | A | ------------- | --- | Branch? | 5.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #37139 | License | MIT | Doc PR | symfony/symfony-docs#13775 Force lock existence query to use `readPreference=primary` in case the given mongo connection is using any of the following `readPreference`s: * primaryPreferred * secondary * secondaryPreferred * nearest Any of the above would fail if a secondary node is queried during a lock release. Commits ------- ebf7eaf [Lock] Fixed reading locks from replica set secondary nodes
- Loading branch information