[wp-trac] [WordPress Trac] #10521: Schema error breaks XMLRPC image uploading
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 30 20:48:22 UTC 2009
#10521: Schema error breaks XMLRPC image uploading
--------------------------+-------------------------------------------------
Reporter: Otto42 | Owner: josephscott
Type: defect (bug) | Status: new
Priority: high | Milestone: Unassigned
Component: XML-RPC | Version: 2.8
Severity: major | Keywords: dev-feedback
--------------------------+-------------------------------------------------
Comment(by Otto42):
Replying to [comment:7 Denis-de-Bernardy]:
> you're kidding me. you're meaning there's potential for akward behavior
when race conditions occur?
No need for that now. :-P
Replying to [comment:8 Denis-de-Bernardy]:
> when do we switch to using UUIDs all over for this kind of stuff?
Agreed, proper UUIDs would eliminate this issue, more or less. However,
few problems with using them for IDs.
- People are already annoyed that their post_id's are no longer
sequential. No, I don't get it either.
- Lots and lots and lots of code that uses ints for ID's. All of that
going to change?
- Database bloat. UUIDs are twice the size of bigints.
Plus you're always going to get the whole "where's the advantages"
argument, of which I can only think of one, which is that UUID identifiers
on everything makes it a lot easier to merge/split databases.
Right now, UUIDs have a lot of downsides. Unless we made them entirely
internal (no exposure to the outside world) and left some of the int id
remnants for people to look at, it would be awkward.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10521#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list