Author: kpvdr
Date: 2011-12-05 11:14:39 -0500 (Mon, 05 Dec 2011)
New Revision: 4485
Modified:
store/trunk/cpp/lib/jrnl/jcfg.hpp
Log:
BZ 759575: C++: store crashes when creating large store files on 32-bit RHEL
Modified: store/trunk/cpp/lib/jrnl/jcfg.hpp
===================================================================
--- store/trunk/cpp/lib/jrnl/jcfg.hpp 2011-10-31 15:35:13 UTC (rev 4484)
+++ store/trunk/cpp/lib/jrnl/jcfg.hpp 2011-12-05 16:14:39 UTC (rev 4485)
@@ -60,7 +60,7 @@
#define JRNL_DBLK_SIZE 128 ///< Data block size in bytes (CANNOT BE
LESS THAN 32!)
#define JRNL_SBLK_SIZE 4 ///< Disk softblock size in multiples of
JRNL_DBLK_SIZE
#define JRNL_MIN_FILE_SIZE 128 ///< Min. jrnl file size in sblks (excl.
file_hdr)
-#define JRNL_MAX_FILE_SIZE 4194304 ///< Max. jrnl file size in sblks (excl.
file_hdr)
+#define JRNL_MAX_FILE_SIZE 4194176 ///< Max. jrnl file size in sblks (excl.
file_hdr)
#define JRNL_MIN_NUM_FILES 4 ///< Min. number of journal files
#define JRNL_MAX_NUM_FILES 64 ///< Max. number of journal files
#define JRNL_ENQ_THRESHOLD 80 ///< Percent full when enqueue connection
will be closed
Show replies by date