pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/mongodb



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Mon Oct 10 13:15:40 UTC 2016

Modified Files:
        pkgsrc/databases/mongodb: Makefile distinfo
        pkgsrc/databases/mongodb/patches:
            patch-src_third__party_wiredtiger_build__netbsd_wiredtiger__config.h
Added Files:
        pkgsrc/databases/mongodb/patches:
            patch-src_mongo_db_fts_unicode_string.cpp

Log Message:
Update to 3.2.10

* Fix build with boost 1.62.0
* Use fsync(2) instead of fdatasync(2) on NetBSD
  When fdatasync(2) is used, journaling support does not work
  on 7.99.39 and 7.0.1

Changelog:
MongoDB 3.2.10 is out and is ready for production deployment. This release contains only fixes since 3.2.9, and is a recommended upgrade for all 3.2 users.

Fixed in this release:

    SERVER-12048 Calling "service mongod start" with mongod running prevents "service mongod stop" from working
    SERVER-16801 Update considers a change in numerical type to be a noop
    SERVER-20306 75% excess memory usage under WiredTiger during stress test
    SERVER-24885 The systemd MaxTasks feature can prevent mongod from accepting new connections
    SERVER-24971 Excessive memory held by sessions when application threads do evictions
    SERVER-25478 Use wtimeout in sh.setBalancerState
    SERVER-25951 Report additional metrics in getMore slowms logging
    SERVER-25974 Application threads stall for extended period when cache fills
    TOOLS-1429 mongostat panic when monitored server is restarted
    WT-2026 Maximum pages size at eviction too large
    WT-2924 Ensure we are doing eviction when threads are waiting for it


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/databases/mongodb/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/databases/mongodb/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/databases/mongodb/patches/patch-src_mongo_db_fts_unicode_string.cpp
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/databases/mongodb/patches/patch-src_third__party_wiredtiger_build__netbsd_wiredtiger__config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/mongodb/Makefile
diff -u pkgsrc/databases/mongodb/Makefile:1.17 pkgsrc/databases/mongodb/Makefile:1.18
--- pkgsrc/databases/mongodb/Makefile:1.17      Fri Oct  7 18:25:40 2016
+++ pkgsrc/databases/mongodb/Makefile   Mon Oct 10 13:15:39 2016
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2016/10/07 18:25:40 adam Exp $
+# $NetBSD: Makefile,v 1.18 2016/10/10 13:15:39 ryoon Exp $
 
-DISTNAME=      mongodb-src-r3.2.9
+DISTNAME=      mongodb-src-r3.2.10
 PKGNAME=       ${DISTNAME:S/src-r//:S/-rc/rc/}
-PKGREVISION=   1
 CATEGORIES=    databases
 MASTER_SITES=  http://fastdl.mongodb.org/src/
 

Index: pkgsrc/databases/mongodb/distinfo
diff -u pkgsrc/databases/mongodb/distinfo:1.15 pkgsrc/databases/mongodb/distinfo:1.16
--- pkgsrc/databases/mongodb/distinfo:1.15      Mon Sep 26 13:28:14 2016
+++ pkgsrc/databases/mongodb/distinfo   Mon Oct 10 13:15:39 2016
@@ -1,12 +1,13 @@
-$NetBSD: distinfo,v 1.15 2016/09/26 13:28:14 ryoon Exp $
+$NetBSD: distinfo,v 1.16 2016/10/10 13:15:39 ryoon Exp $
 
-SHA1 (mongodb-src-r3.2.9.tar.gz) = 22b702cd8e18ef1d6ae5fefecef9e39ca0b26549
-RMD160 (mongodb-src-r3.2.9.tar.gz) = 44533a4c23c69b87421428acab9657f705326282
-SHA512 (mongodb-src-r3.2.9.tar.gz) = 83187167c9775065ac24da180c6483bfc1580e085cfb7ff27572c812b9eee9ec7e9800d5da2238c333f03c641cc0e41b067341f28578ffc4513369a3f99dc002
-Size (mongodb-src-r3.2.9.tar.gz) = 28950352 bytes
+SHA1 (mongodb-src-r3.2.10.tar.gz) = 1b60e390d7b89aa20f159114fb7c94ecaea132f6
+RMD160 (mongodb-src-r3.2.10.tar.gz) = 24bc6881712d247672b8f02326123fb8ed30bec7
+SHA512 (mongodb-src-r3.2.10.tar.gz) = b9592c7cb0184ae10e1e7092b3fa0fc52b10acef1d7beffb2c2409867e237042d7765cc7191972ded10c278756cde1ff7b23b57fb7efd8363e18f2ce994985e9
+Size (mongodb-src-r3.2.10.tar.gz) = 29062097 bytes
 SHA1 (patch-SConstruct) = aa9bcab6be8785f03cdb30acef1eb37e489d661f
 SHA1 (patch-debian_mongod.conf) = d4146b3d62b4472d55609c7f6aaa596f8f893d1f
 SHA1 (patch-src_mongo_base_initializer.h) = add32c5940c922a98122d0e6883eb3ad52dc25c5
+SHA1 (patch-src_mongo_db_fts_unicode_string.cpp) = 98c5b1b39c07190f08ec9f22ec3002b0a803f72f
 SHA1 (patch-src_mongo_db_repl_isself.c) = 8cb386b7b0a8925908f20ac9b9b18cac796367ba
 SHA1 (patch-src_mongo_platform_random.cpp) = 59c31e55fc2dc5a2b82b8f16dacf8736d8354cdb
 SHA1 (patch-src_mongo_platform_stack__locator__dragonfly.cpp) = fb885c491e4de1cfbc2875620d854af726e5b45f
@@ -20,4 +21,4 @@ SHA1 (patch-src_third__party_mozjs-38_pl
 SHA1 (patch-src_third__party_s2_base_port.h) = 892ce91b5aaa432f34e1e7c169b7fd6eea2a3e94
 SHA1 (patch-src_third__party_wiredtiger_SConscript) = 9b11a7703f4db845fb38ba996238fe1ca7f24767
 SHA1 (patch-src_third__party_wiredtiger_build__dragonfly_wiredtiger__config.h) = 0b00da401f832d985107dfa5dcc6447db4beec6d
-SHA1 (patch-src_third__party_wiredtiger_build__netbsd_wiredtiger__config.h) = 63d3a0cc66d9fcc76b21150de8be1b6e050b7d8d
+SHA1 (patch-src_third__party_wiredtiger_build__netbsd_wiredtiger__config.h) = edd3c4e5784e52ad0078bcb7ef1e0902bc354285

Index: pkgsrc/databases/mongodb/patches/patch-src_third__party_wiredtiger_build__netbsd_wiredtiger__config.h
diff -u pkgsrc/databases/mongodb/patches/patch-src_third__party_wiredtiger_build__netbsd_wiredtiger__config.h:1.2 
pkgsrc/databases/mongodb/patches/patch-src_third__party_wiredtiger_build__netbsd_wiredtiger__config.h:1.3
--- pkgsrc/databases/mongodb/patches/patch-src_third__party_wiredtiger_build__netbsd_wiredtiger__config.h:1.2   Fri Feb 12 03:37:24 2016
+++ pkgsrc/databases/mongodb/patches/patch-src_third__party_wiredtiger_build__netbsd_wiredtiger__config.h       Mon Oct 10 13:15:40 2016
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_third__party_wiredtiger_build__netbsd_wiredtiger__config.h,v 1.2 2016/02/12 03:37:24 ryoon Exp $
+$NetBSD: patch-src_third__party_wiredtiger_build__netbsd_wiredtiger__config.h,v 1.3 2016/10/10 13:15:40 ryoon Exp $
 
 * Copy from OpenBSD case.
 
@@ -39,7 +39,7 @@ $NetBSD: patch-src_third__party_wiredtig
 +#define HAVE_FCNTL 1
 +
 +/* Define to 1 if you have the `fdatasync' function. */
-+#define HAVE_FDATASYNC 1
++/* #undef HAVE_FDATASYNC */
 +
 +/* Define to 1 if you have the `fread_unlocked' function. */
 +/* #undef HAVE_FREAD_UNLOCKED */

Added files:

Index: pkgsrc/databases/mongodb/patches/patch-src_mongo_db_fts_unicode_string.cpp
diff -u /dev/null pkgsrc/databases/mongodb/patches/patch-src_mongo_db_fts_unicode_string.cpp:1.1
--- /dev/null   Mon Oct 10 13:15:40 2016
+++ pkgsrc/databases/mongodb/patches/patch-src_mongo_db_fts_unicode_string.cpp  Mon Oct 10 13:15:40 2016
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_mongo_db_fts_unicode_string.cpp,v 1.1 2016/10/10 13:15:40 ryoon Exp $
+
+* Fix build with boost 1.62.0
+
+--- src/mongo/db/fts/unicode/string.cpp.orig   2016-09-26 12:10:04.000000000 +0000
++++ src/mongo/db/fts/unicode/string.cpp
+@@ -274,7 +274,7 @@ bool String::substrMatch(const std::stri
+ 
+     // Case sensitive and diacritic sensitive.
+     return boost::algorithm::boyer_moore_search(
+-               haystack.begin(), haystack.end(), needle.begin(), needle.end()) != haystack.end();
++               haystack.begin(), haystack.end(), needle.begin(), needle.end()) != std::make_pair(haystack.end(), haystack.end());
+ }
+ 
+ }  // namespace unicode



Home | Main Index | Thread Index | Old Index