Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: GLE reposting with progress and chunking (backport #31343) #31373

Merged
merged 3 commits into from
Jun 15, 2022

Conversation

ankush
Copy link
Member

@ankush ankush commented Jun 15, 2022

backport of #31343 & #31374

@ankush ankush changed the base branch from develop to version-13-hotfix June 15, 2022 12:43
@frappe frappe deleted a comment Jun 15, 2022
@ankush ankush marked this pull request as ready for review June 15, 2022 12:43
@ankush ankush marked this pull request as draft June 15, 2022 13:51
@ankush ankush force-pushed the gle_repost_progress branch 3 times, most recently from 9d2acaf to 1d709fa Compare June 15, 2022 14:39
If stock voucher count goes >1000 then fetching all gles and reposting
them all at once requires much more memory and can cause crash.

- This PR ensures that GLE reposting is done in chunks of 100 vouchers.
- This PR also starts keeping track of how many such chunks were
  processed so in future progress is resumed in event of timeout.
@ankush ankush marked this pull request as ready for review June 15, 2022 15:05
@ankush ankush merged commit f19ed0b into frappe:version-13-hotfix Jun 15, 2022
@ankush ankush deleted the gle_repost_progress branch June 15, 2022 15:24
frappe-pr-bot pushed a commit that referenced this pull request Jun 21, 2022
## [13.34.1](v13.34.0...v13.34.1) (2022-06-21)

### Bug Fixes

* Conversion rate validation for multi-currency invoices ([4186aaf](4186aaf))
* **india:** e-invoice eligibility if company gstin is not configured ([#31247](#31247)) ([7696ae4](7696ae4))
* internal transfer GLE validation ([8a4cd2a](8a4cd2a))
* Merge Conflicts ([0f3a02d](0f3a02d))
* Pick Template BOM if variant BOM absent in WO popup from SO ([7c35887](7c35887))
* Quotation lost update ([3b9f943](3b9f943))
* Spelling mistake in quotation depend on (backport [#31362](#31362)) ([#31363](#31363)) ([ebcdaf7](ebcdaf7))
* transaction date gets unset in material request ([#31387](#31387)) ([4e2ed6f](4e2ed6f)), closes [#31327](#31327)
* UOM handling for transaction without item (backport [#31389](#31389)) ([#31391](#31391)) ([051e5cd](051e5cd))

### Performance Improvements

* GLE reposting with progress and chunking (backport [#31343](#31343)) ([#31373](#31373)) ([f19ed0b](f19ed0b))
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 13.34.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants