summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-12-02 16:37:13 -0500
committerEliot Horowitz <eliot@10gen.com>2009-12-02 16:37:13 -0500
commit36e01bf30b876cd274b0dca3d8712e8f320a547d (patch)
treeec4e6291bea4c2f2876d7a90de5245136f55dc35
parent03e3c49ebecce872e6a26ee6f91b2412fd4c4564 (diff)
parenta3d516c4b93c62141506ed1f1e25a8744ed3e724 (diff)
downloadmongo-36e01bf30b876cd274b0dca3d8712e8f320a547d.tar.gz
Merge branch 'master' of git@github.com:mongodb/mongo
-rw-r--r--db/storage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/storage.h b/db/storage.h
index 30d2742cec8..cc29e60bd8d 100644
--- a/db/storage.h
+++ b/db/storage.h
@@ -37,7 +37,8 @@ namespace mongo {
int fileNo; /* this will be volume, file #, etc. */
int ofs;
public:
- enum SentinelValues { MaxFiles=4000, NullOfs = -1 };
+ // Note: MaxFiles imposes a limit of about 32TB of data per process
+ enum SentinelValues { MaxFiles=16000, NullOfs = -1 };
int a() const {
return fileNo;