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:
parent
fc66d42192
commit
8084bae344
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user