[wp-trac] [WordPress Trac] #64696: Real time collboration effectively disables persistent post caches while anyone edits a post

WordPress Trac noreply at wordpress.org
Tue Mar 17 20:18:49 UTC 2026


#64696: Real time collboration effectively disables persistent post caches while
anyone edits a post
--------------------------------------+--------------------------
 Reporter:  peterwilsoncc             |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  7.0
Component:  Posts, Post Types         |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by czarate):

 > **Compaction race condition** — The "delete all, re-add some" pattern in
 remove_updates_before_cursor() loses messages under concurrent writes. The
 window between delete_post_meta() and the add_post_meta() loop is
 unprotected.

 I don't want to lose sight of this critical bug that is de-facto fixed
 with the custom table approach.

 It is also addressed by this PR that continues to use post meta:

 https://github.com/WordPress/wordpress-develop/pull/11067

 This bug has been held in limbo for a few weeks now by this discussion,
 but we need to get it fixed regardless of the direction we go.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64696#comment:85>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list