[wp-trac] [WordPress Trac] #56845: Multisite option caching breaks for sites with bigger options
WordPress Trac
noreply at wordpress.org
Tue Oct 18 14:48:40 UTC 2022
#56845: Multisite option caching breaks for sites with bigger options
--------------------------------+---------------------
Reporter: pavelschoffer | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1
Component: Options, Meta APIs | Version: trunk
Severity: critical | Resolution:
Keywords: | Focuses:
--------------------------------+---------------------
Comment (by rebasaurus):
> The outcome of this change is that if the cumulative size of ALL site
options is bigger than 1MB (default limit of memcached per object) NONE of
the options will be cached.
If none of the options end up being cached, it will attempt to add them to
the cache on each request (e.g. if it never succeeds, it will continue to
do so over and over). A sample stacktrace would be:
`get_network_option()` -> `get_metadata_raw()` -> `update_meta_cache()` ->
`wp_cache_add_multiple()` -> `wp_cache_add()` -> `MemcachePool->add()`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56845#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list