Skip to content

fix: resolve QueryDeadlockError and improve voucher synchronization#60

Merged
Sendipad merged 1 commit intodevelopfrom
fix/deadlock-and-sync-optimization
Mar 2, 2026
Merged

fix: resolve QueryDeadlockError and improve voucher synchronization#60
Sendipad merged 1 commit intodevelopfrom
fix/deadlock-and-sync-optimization

Conversation

@Sendipad
Copy link
Copy Markdown
Owner

@Sendipad Sendipad commented Mar 2, 2026

  • Refactored update query in party.py to use explicit SQL for index usage.
  • Added missing indices to Journal Entry Account and other transactional doctypes.
  • Added after_rename hooks to hooks.py and party.py for sync completeness.
  • Fixed NameError in unlinked_resolver.py.
  • Prevented db.commit() in tests to restore test isolation.
  • Added v3_2_optimize_indexes_and_sync safe patch for production.

- Refactored update query in party.py to use explicit SQL for index usage.
- Added missing indices to Journal Entry Account and other transactional doctypes.
- Added after_rename hooks to hooks.py and party.py for sync completeness.
- Fixed NameError in unlinked_resolver.py.
- Prevented db.commit() in tests to restore test isolation.
- Added v3_2_optimize_indexes_and_sync safe patch for production.
@Sendipad Sendipad marked this pull request as ready for review March 2, 2026 01:19
@Sendipad Sendipad merged commit e46d43b into develop Mar 2, 2026
6 checks passed
@Sendipad Sendipad deleted the fix/deadlock-and-sync-optimization branch March 2, 2026 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant