Automattic / Automattic/jetpack
Sync: Terms: Site with many terms caused site to be unresponsive
Open
[Package] Sync
[Pri] Normal
[Status] Stale
Bug
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
I got a report today from a developer at DreamHost that a site with ~450,000 rows in the terms table was adding ~10,000 options to the db for sync which seems to have caused the site to be unresponsive. The developer was able to get the site working by disabling Jetpack and clearing out the options for sync.
The developer suggested that it _might_ be this line:
https://github.com/Automattic/jetpack/blob/master/sync/class.jetpack-sync-module-terms.php#L37-L38
The blog ID is `132847796`.
Contributor guide
Assessment
This issue has not been assessed yet.