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
This PR was merged into the 4.2-dev branch.
Discussion
----------
[LOCK] Add a PdoStore
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #25400
| License | MIT
| Doc PR | symfony/symfony-docs#9875
This is an alternative to #25578
Commits
-------
46fe1b0 Add a PdoStore in lock
Uh oh!
There was an error while loading. Please reload this page.
The lock component supports local stores : Semaphore and Flock.
For locking over distributed servers, remote stores require Memcached or Redis.
MySQL/MariaDB and PostgreSQL are database server typically used by Symfony applications. These DB engines support locking:
GET_LOCK
https://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html#function_get-lockGET_LOCK
https://mariadb.com/kb/en/library/get_lock/pg_advisory_lock_shared
https://www.postgresql.org/docs/9.1/static/functions-admin.htmlThis locking mencanism is used for session in PdoSessionHandler
The text was updated successfully, but these errors were encountered: