0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00

group can run on slaves

This commit is contained in:
Dwight 2010-05-12 14:49:29 -04:00
parent fc66d42192
commit 8084bae344

View File

@ -1276,6 +1276,7 @@ namespace mongo {
GroupCommand() : Command("group"){}
virtual LockType locktype() const { return READ; }
virtual bool slaveOk() const { return true; }
virtual bool slaveOverrideOk() { return true; }
virtual void help( stringstream &help ) const {
help << "http://www.mongodb.org/display/DOCS/Aggregation";
}