Skip to content

Known issues and gotchas

John P. Bloch edited this page Jul 14, 2014 · 2 revisions

Please check the issues list for a list of all currently known issues.

Gotchas

Data race conditions

Early in the library's life, we saw data race conditions in multi-server environments such as WordPress.com VIP due to the post object not propagating to the database cluster and object cache fast enough before the async task tried to retrieve a new post. This meant that when creating a post, the async task would run get_post() on the post ID before the post was in the database and object cache, causing our tasks to fail. We moved the trigger for the request from an immediate invocation to a 'shutdown' invocation and haven't noticed it since then, but it may happen again, so be aware.

Clone this wiki locally