AdvancedCustomFields / AdvancedCustomFields/acf

ACF 5.11.4 + ACF MultiLang + WPML 4.4.11 - caused 3 million rows per second during a .json group sync

Open
#623 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
945
Forks
197
PR merge metrics
No merged PRs in 30d

Description

Plug stack:
WP 5.8.2
ACF Columns: 1.2.2
ACF Dimensions 1.0.2
Advanced Custom Fields Multilingual 1.8.2
Advanced Custom Fields PRO 5.11.4
WPML Multilingual CMS 4.4.11
WPML String Translation 3.1.9
WPML Translation Management 2.10.7

On most of the .json group sync we do when we go to Production, nothing happens on bigger .json groups sync just 504's us and runs in background - but this time around one of the groups created around 3M rows per second returned on sync for a consistent period of time. - Sorry to ask this here but maybe some of the DEV side has a clue as to what might be happening

Attached are RDS output metrics, I have no direct query log during import for slow SQL.

Screen Shot 2022-03-11 at 7 50 11 PM Screen Shot 2022-03-11 at 7 47 06 PM Screen Shot 2022-03-11 at 7 52 02 PM Screen Shot 2022-03-11 at 7 51 28 PM

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named. Start by reproducing the .json group sync with the listed WordPress, ACF, and WPML versions while collecting RDS metrics and slow SQL logs; done means identifying why the sync creates roughly 3 million rows per second and documenting a verified fix or mitigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, databases
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.