The schema for the objectcache table specifies keyname as varbinary(255).
- The default BagOStuff::makeKeyInternal does not assume a maximum key length.
- The Memcached Bag is aware of Memcache's key limit (~ 255 bytes), and enforces it.
- The WinCache Bag is aware is wancache's key limit (~ 150 chars, or bytes?), and enforces it.
Seems like SqlBagOStuff may need to do this as well.