mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-26 05:26:00 +03:00
[PR #1380] [MERGED] refactor(backend): db session locking to support exclusive mode #1469
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#1469
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cypht-org/cypht/pull/1380
Author: @Shadow243
Created: 11/23/2024
Status: ✅ Merged
Merged: 1/28/2025
Merged by: @kroky
Base:
master← Head:revamp-db-session-storage📝 Commits (6)
3001b96Fix: Revamp db session storage to work in exclusive locking mode like native file session storage works311a69brefactor(setup database script): Review and improve database schema setup with column migration logic8bee386refactor(db_session): retry mechanism and lock timeout to optimize session locking and concurrency263bc3frefactor(sqlite): db session implementation5bbf052feat(database): implement database migrations6911557refactor(migration): refactor migration process📊 Changes
14 files changed (+398 additions, -81 deletions)
View changed files
📝
config/database.php(+2 -2)➕
database/migrations/mysql/20241209010200_add_hm_version_columns.sql(+1 -0)➕
database/migrations/pgsql/20241209010200_add_hm_version_columns.sql(+2 -0)➕
database/migrations/sqlite/20241209010200_add_hm_version_columns.sql(+2 -0)➕
database/migrations/sqlite/20241209010201_add_lock_columns.sql(+2 -0)➕
database/mysql_schema.sql(+19 -0)➕
database/pgsql_schema.sql(+34 -0)➕
database/sqlite_schema.sql(+20 -0)📝
lib/session_db.php(+137 -5)📝
scripts/setup_database.php(+147 -71)📝
tests/phpunit/data/schema.sql(+7 -1)➕
tests/phpunit/data/schema_postgres.sql(+12 -0)➕
tests/phpunit/data/schema_sqlite.sql(+11 -0)📝
tests/phpunit/run.sh(+2 -2)📄 Description
Related task item89272
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.