[wp-trac] [WordPress Trac] #19111: Post ID by Hash

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 2 22:10:16 UTC 2011


#19111: Post ID by Hash
-------------------------+------------------------------
 Reporter:  braydonf     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Database     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by dd32):

 Post ID's are unique to a single install, and thats the way they should
 stay.

 If you're publishing to multiple installs which are sharing data in that
 way, you shouldn't be relying on the post ID to stay continuous, it should
 be updated on merging upstream/downstream.  You could turn the Guid field
 into a hash/UUID for that specific purpose if it helped.

 One alternative would be to start the post ID's for blog1 at 750,000 post
 ID, the second at 1,500,00, etc (Done by setting the auto increase value
 on the database).

 In the end, post ID's are the least of your worries in that scenario,
 you'll have to remap more than just the post ID (Term ids, etc) and deal
 with multiple versions of content..

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19111#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list