diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-12-09 10:18:09 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-12-09 10:19:11 -0500 |
commit | d6d9ce8ffeb383b942cb267704ae8a3dcb9118a5 (patch) | |
tree | db342671c240ee9aee96cbbcdbfbd5324039724a | |
parent | 306c8c6b9841d600f630840842fe7daffde1e275 (diff) | |
download | mongo-d6d9ce8ffeb383b942cb267704ae8a3dcb9118a5.tar.gz |
slaves can clone system.js SERVER-466
-rw-r--r-- | db/cloner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/cloner.cpp b/db/cloner.cpp index a4ac890da94..11aa021fb3e 100644 --- a/db/cloner.cpp +++ b/db/cloner.cpp @@ -216,7 +216,7 @@ namespace mongo { if( strstr(from_name, ".system.") ) { /* system.users is cloned -- but nothing else from system. */ - if( strstr(from_name, ".system.users") == 0 ){ + if( legalClientSystemNS( from_name , true ) == 0 ){ log(2) << "\t\t not cloning because system collection" << endl; continue; } |