[wp-trac] [WordPress Trac] #56924: get_attached_file(): New call to path_join() can have poor performance on NFS file systems

WordPress Trac noreply at wordpress.org
Fri Oct 28 15:29:16 UTC 2022


#56924: get_attached_file(): New call to path_join() can have poor performance on
NFS file systems
---------------------------------+---------------------
 Reporter:  mreishus             |       Owner:  (none)
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  6.1
Component:  General              |     Version:  6.1
 Severity:  normal               |  Resolution:
 Keywords:  commit dev-reviewed  |     Focuses:
---------------------------------+---------------------

Comment (by antpb):

 In [changeset:"54713" 54713]:
 {{{
 #!CommitTicketReference repository="" revision="54713"
 Media: Reverts `get_attached_file()` changes for normalized Windows paths.

 Based on feedback from network storage configurations there was a noticed
 slowdown due to the usage of the `path_join()` function. This needs more
 time to find a workaround.

 Follow-up to [53934].
 Props mreishus, SergeyBiryukov, desrosj, mikeschroder.
 Reverts [53934] in the 6.1 Branch.
 See #56924.
 }}}

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


More information about the wp-trac mailing list