renameCollection() doesn't seem to work when sharding is enabled (mongodb.la.sol is our mongos instance).
$ /pkg/packages/mongodb-linux-x86_64-2010-01-19/bin/mongo mongodb.la.sol/foo
MongoDB shell version: 1.3.1-
url: mongodb.la.sol/foo
connecting to: mongodb.la.sol/foo
type "help" for help
> show collections
> db.foo.insert(
)
> db.foo.find()
> db.foo.renameCollection("foo2")
{ "errmsg" : "assertion: source namespace does not exist", "ok" : 0 }>