[wp-meta] [Making WordPress.org] #3654: Sometimes the update source table version field gets out of sync
Making WordPress.org
noreply at wordpress.org
Wed Jun 6 05:25:04 UTC 2018
#3654: Sometimes the update source table version field gets out of sync
------------------------------+--------------------
Reporter: dd32 | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: Plugin Directory | Keywords:
------------------------------+--------------------
As reported on slack, there was an issue where a new version of a plugin
was released, but it didn't show up in the update checks, despite the new
version showing on wordpress.org/plugins.
It turned out that the cause was the `update_source` table getting out of
sync for the plugin. That seems to be a race condition in caches and when
the update job is run mid way through a new version of a plugin being
released.
I'm going to add a check which validates that the `version` field is in
sync, and not just the dates/disabled status.
See https://wordpress.slack.com/archives/C1LBM36LC/p1527046068000003
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3654>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list