It’s Y2K, no, it’s 32 bit unix time, no, it’s Slashdot!

http://slashdot.org/articles/06/11/09/1534204.shtml

“2^24 comments ought to be enough for anyone” — cmdrtaco

slashdot posting bug infuriates haggard admins
posted by cmdrtaco on thursday november 09, @10:45am
from the this-is-never-good dept.
slashdot.org
last night we crossed over 16,777,216 comments in the database. the wise
amongst you might note that this number is 2^24, or in mysqlese an
unsigned mediumint. unfortunately, like 5 years ago we changed our primary
keys in the comment table to unsigned int (32 bits, or 4.1 billion) but
neglected to change the index that handles parents. we’re awesome! fixing
is a simple alter table statement… but on a table that is 16 million
rows long, our system will take 3+ hours to do it, during which time there
can be no posting. so today, we’re disabling threading and will enable it
again later tonight. sorry for the inconvenience. we shall flog ourselves
appropriately.

gadi evron,
ge@beyondsecurity.com.

Share
  • XML exploit

    5 years = 2^24
    X years = 2^32

    :)