[wp-trac] [WordPress Trac] #44886: Race condition in REST API, can cause data loss
WordPress Trac
noreply at wordpress.org
Fri Nov 8 14:30:24 UTC 2019
#44886: Race condition in REST API, can cause data loss
-------------------------------+-----------------------
Reporter: rldk | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Posts, Post Types | Version: 4.9.8
Severity: normal | Resolution: wontfix
Keywords: | Focuses: rest-api
-------------------------------+-----------------------
Changes (by kadamwhite):
* status: new => closed
* resolution: => wontfix
* component: REST API => Posts, Post Types
* milestone: Awaiting Review =>
Comment:
This was discussed in the REST API weekly meeting today, and we've
established that this behavior isn't limited to the API; it may be
observed if using normal archive views within a traditional WordPress site
as well.
The converse of the issue is that you might see a post on two subsequent
archive pages if additional content is published after you load the first
page, but before the second:
- View page one, with posts 12 through 3
- New post is published
- Click "next page" and see posts 3 through 1
Because this is not specific to the REST API and appears to instead be a
systemic issue with WordPress as a whole (hence the re-categorization as
Posts/Post-Types), I'm going to close the ticket. In doing so I
acknowledge that it's possible for this behavior to cause problems, but I
don't see a path forward towards fixing it without fundamental
architectural changes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44886#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list