Commit graph

28 commits

Author SHA1 Message Date
adam
a31bce9748 extend PYTHON_VERSIONS_ for Python 3.7 2018-07-03 05:03:01 +00:00
adam
35aa3efc12 revbump for boost-libs update 2018-04-29 21:31:17 +00:00
adam
983847f667 Revbump after boost update 2018-01-01 21:18:06 +00:00
tnn
51d9334720 mongodb: unbreak previous change
The binary is called mongod, not mongodb.
2017-12-16 17:15:05 +00:00
gdt
66140f2f46 mongodb: Mark bin/mongodb as not MPROTECT safe
As reported by Paul Ripke on pkgsrc-users, and no objection from
$MAINTAINER for days.
2017-11-27 14:06:16 +00:00
adam
931d707fe2 Revbump for boost update 2017-08-24 20:03:08 +00:00
ryoon
517bb4e046 Update to 3.4.4
* Disable PaX MPROTECT for bin/mongo

Changelog:
3.4.4 – Apr 21, 2017

Issues fixed:

    SERVER-18794: Add an aggregation operator $objectToArray to convert an object to an array of key, value pairs.
    SERVER-23310: Add an aggregation operator $arrayToObject to convert an array of pairs to an object.
    SERVER-22611: ChunkManager refresh can occasionally cause a full reload.
    3.4.4 Changelog
    All JIRA issues closed in 3.4.4

3.4.3 – Mar 28, 2017

Issues fixed:

    SERVER-27863: Reschedule firing of early alarms in NetworkInterfaceASIO to avoid mongos crash.
    SERVER-28017: $ne should respect collection’s default collation.
    SERVER-27700: Improve WiredTiger performance on secondary when cache is full.
    3.4.3 Changelog
    All JIRA issues closed in 3.4.3

3.4.2 – Feb 1, 2017

Issues fixed:

    SERVER-27125: Arbiters in pv1 should vote no in elections if they can see a healthy primary of equal or greater priority to the candidate.
    SERVER-27584 Add support for filter to listDatabases
    WT-2670 Inefficient I/O when read full DB (poor readahead)
    3.4.2 Changelog
    All JIRA issues closed in 3.4.2

3.4.1 – Dec 20, 2016

Issues fixed:

    SERVER-27124: Disallow readConcern: majority reads on replica set protocolVersion 0 (pv0).
    SERVER-27201: $graphLookup triggers null pointer dereference.
    SERVER-27207: Find operation with a sort on a view via mongos may incorrectly return empty result set.
    SERVER-27213: Two $match pipeline stages can combine incorrectly to produce incorrect results.
    3.4.1 Changelog
    All JIRA issues closed in 3.4.1
2017-05-29 14:44:46 +00:00
ryoon
76884737ca Recursive revbump from boost update 2017-04-30 01:21:19 +00:00
adam
76632718ac Revbump after boost update 2017-01-01 16:05:55 +00:00
wiz
7f84153239 Add python-3.6 to incompatible versions. 2017-01-01 14:43:22 +00:00
ryoon
7cde356086 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
2016-10-10 13:15:39 +00:00
adam
3b88bd43a5 Revbump post boost update 2016-10-07 18:25:29 +00:00
ryoon
3012e8aecc Update to 3.2.9
Changelog: https://docs.mongodb.com/manual/release-notes/3.2-changelog/
3.2.9 Changelog
Security
    SERVER-17856 users on mongods should always be able to run currentOp and killOp on their own operations

Sharding
    SERVER-23958 DBConfig::_loadIfNeeded will not do a reload even in cases where a force reload is needed
    SERVER-24810 Swap movePrimary command for ShardingTest::ensurePrimaryShard
    SERVER-24842 ShardingStateRecovery::recover cleanup should not wait for replication
    SERVER-24892 "Creating first chunks failed: Data inconsistency detected amongst config servers" when using 3.2.3+ without replica set config servers
    SERVER-25029 Segmentation fault in mongos when config servers not available
    SERVER-25052 csrs_upgrade_set_shard_version.js test is racy
    SERVER-25254 Only advance config server optime in response to messages from cluster members
    SERVER-25258 Improve parsing of killOp opID in mongos

Replication
    SERVER-22136 Attach term metadata to UpdatePosition command
    SERVER-23795 master/slave looks at on-disk size on a resync
    SERVER-24630 Mongos erroneously advances config optime for writes that fail write concern
    SERVER-24933 Clean shutdown of secondaries should occur in between oplog batches, not during
    SERVER-25353 Clean shutdown should leave secondaries without the batch-in-progress flag

Query
    SERVER-24693 group7.js should deterministically check for yields
    SERVER-24761 Queries being planned with the subplanner can ignore when the PlanExecutor is killed

Storage
    SERVER-16910 sorth.js makes invalid assumption about order of results

WiredTiger
    SERVER-23659 Provide useful message when wiredTigerJournalCompressor is changed
    SERVER-24334 Support conditional files in WiredTiger builds
    WT-2711 Change statistics log configuration options
    WT-2730 cursor next/prev can return the wrong key/value pair when crossing a page boundary
    WT-2760 Fix a bug in backup related to directory sync. Change the filesystem API to make durable the default
    WT-2798 Crash vulnerability with nojournal after create during checkpoint
    WT-2802 Transaction commit causes heap-use-after free

Operations
    SERVER-20239 Built-in sampling heap profiler
    SERVER-22347 Mongo shell replica set connections must use legacy readMode
    SERVER-22383 mongo shell should permit mongodb:// URI without database name
    SERVER-23069 Improve tcmalloc freelist statistics
    SERVER-23145 Shell sharding helpers should give feedback on success
    SERVER-23409 Add tunability to tcmalloc serverStatus detail
    SERVER-23830 On RHEL7/Centos7 mongod can't stop if pid location in conf differs from the init.d script
    SERVER-24335 Shell sharding helpers should use wtimeout and respond appropriately

Build and Packaging
    SERVER-7285 Support systemd in future compatible distributions
    SERVER-19986 clang-format.py lint fails in mci if files were deleted
    SERVER-21820 Export "endian" option from SConstruct
    SERVER-21830 Import the edit "endian" option in SConscript
    SERVER-24849 Vendor SCons

Tools
    TOOLS-1336 Make -version spit out a bit more information.

Internals
    SERVER-23226 Port resmoke.py's CheckReplDBHash hook to javascript
    SERVER-23306 Check collection attributes during (js) testing
    SERVER-23661 $sample takes disproportionately long time on newly created collection
    SERVER-23902 Failing to create a thread should fail with a useful error message
    SERVER-24073 Update system perf, longevity, and distributed correctness projects to use dedicated work directory
    SERVER-24346 Run jstestfuzz on rhel55-test instead of rhel55
    SERVER-24593 virtualenv used for ese test should not use system-site-package
    SERVER-24716 Remove the CheckReplDBHashDeprecated hook
    SERVER-24758 Move initial_sync suite of tests into its own tasks in sys-perf project
    SERVER-24820 move push tasks to use relevant ec2 distro rather than rhel55
    SERVER-24919 Perf.yml should consistently call pip install in venv
    SERVER-24925 add url_raw field to resmoke
    SERVER-24946 Evergreen.yml test for storageEngineCacheSizeGB cannot use [[ ]]
    SERVER-24990 Update command_line_parsing.js to ignore cacheSizeGB in configuration comparison
    SERVER-25006 Connection Pool ASIO must indicate use separately from non-error
    SERVER-25074 make performance analysis run with log analysis
    SERVER-25146 JS replset dbhash hook fails when checking nindexes with a collection containing a background index
    SERVER-25169 for all branches earlier than master, change rhel55 compile distro to rhel55-large
    SERVER-25193 Update system_perf.yml to simplify patch builds
    SERVER-25198 Increase scons stack size for eslint
    SERVER-25199 performance project: enable time logic for log analysis
    SERVER-25212 work around stale dbhash value on v3.2
    SERVER-25259 Drop temporary databases in dbhash testing hook
    SERVER-25273 Concurrency suite dbHash check should call checkDBHashesFsyncLocked
    SERVER-25274 Make checkDBHashesFsyncLocked from jstests/hooks/check_repl_dbhash.js, an internal function
    SERVER-25302 turn on YCSB throughput analysis for YCSB tasks in sys-perf
    SERVER-25330 Update system_perf.yml to use different test_control file for replica and sharded ycsb
    TOOLS-1079 write_concern_mongos jstests are flaky
    TOOLS-1176 -dumpDbUsersAndRoles without users creates broken dumps
2016-09-26 13:28:14 +00:00
wiz
ad0031c15e Remove python33: adapt all packages that refer to it. 2016-07-09 13:03:30 +00:00
fhajny
81be02dffa Update databases/mongodb to 3.2.7.
3.2.7 Jun 7, 2016

Issues fixed:

SERVER-24054: JS segmentation fault on load of certain NaNs.
SERVER-24058: Connection pool asio doesn't honor setup
              timeouts.
SERVER-24117: Mongo binaries ELF stack has become executable.

3.2.6 Apr 28, 2016

First production release of the in-memory storage engine.

Issues fixed:

SERVER-22970: Background index build may result in extra index key
              entries that do not correspond to indexed documents.
SERVER-22043: mongo shell method count() ignores read preference.

3.2.5 Apr 14, 2016

Issues fixed:

SERVER-22964: IX GlobalLock held while waiting for WiredTiger
              cache eviction.
SERVER-22831: Low query rate with heavy cache pressure and an idle
              collection.
SERVER-21681: Include index size stats for in-memory storage
              engine.
2016-06-17 11:51:07 +00:00
fhajny
a47c57fce5 Update databases/mongodb to 3.2.4.
- Fixed issue with setting optime when running with journaling
  disabled
- Have read concern majority reflect journaled state on
  the primary
- Fixed issue where specifying replication.enableMajorityReadConcern
  implied true regardless of the actual boolean value
- Fixed issue causing segfault when running aggregation that
  includes $lookup
2016-03-13 20:50:53 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
fhajny
3b4ab330fe Update databases/mongodb to 3.2.3.
Use yaml-cpp and zlib dependencies in place of bundled copies.

Notable changes:
- Fixed issue with MMAPv1 journaling where the "last sequence number"
  file (lsn file) may be ahead of what is synced to the data files
- Fixed issue where in some cases, insert operations fails to add
  the _id field to large documents
- Increased timeout for querying oplog to 1 minute

Full changelog:

https://docs.mongodb.org/manual/release-notes/3.2-changelog/
2016-02-22 11:35:34 +00:00
ryoon
48c47a8d02 Update to 3.2.1
* Change JavaScript engine from V8 to SpiderMonkey.

Changelog:
3.2.1 – Jan 12, 2016

    Fixed error where during a regular shutdown of a replica set, secondaries may mark certain replicated but yet to be applied operations as successfully applied: SERVER-21868.
    Improve insert workload performance with WiredTiger on Windows: SERVER-20262.
    Fixed long-running transactions during chunk moves: SERVER-21366
    All issues closed in 3.2.1

3.0.9 – Jan 26, 2016

    Fixed issue where queries which specify sort and batch size can return results out of order if documents are concurrently updated. SERVER-19996
    Fixed performance issue where large amounts of create and drop collections can cause listDatabases to be slow under WiredTiger. SERVER-20961
    Modified the authentication failure message to include the client IP address. SERVER-22054
    All issues closed in 3.0.9

3.0.8 – Dec 15, 2015

    Fixed issue where findAndModify on mongos can upsert to the wrong shard. SERVER-20407.
    Fixed WiredTiger commit visibility issue which caused document not found. SERVER-21275.
    Fixed issue where the oplog can grow to 3x configured size. SERVER-21553
    All issues closed in 3.0.8
2016-02-12 03:37:24 +00:00
adam
7f3b4730ad Extend PYTHON_VERSIONS_INCOMPATIBLE to 35 2015-12-05 21:25:27 +00:00
ryoon
bf5ce919c1 Update to 3.0.7
Changelog:
3.0.7 – Oct 13, 2015

    Improvements to WiredTiger memory handling and performance: SERVER-20159, SERVER-20204, SERVER-20091, and SERVER-20176.
    Fixed issue where replica set nodes will not step down: SERVER-19464.
    Additional privileges for built-in roles: SERVER-19131, SERVER-15893, and SERVER-13647.
    All issues closed in 3.0.7
2015-10-18 05:45:37 +00:00
fhajny
2396cb7958 Update databases/mongodb to 3.0.6.
- Improvements to WiredTiger Stability.
- Fixed issue with the interaction between SSL and Auditing.
- Fixed issue with aggregation $sort on sharded systems.
2015-08-26 05:03:00 +00:00
fhajny
4273d5512f Update databases/mongodb to 3.0.5.
3.0.5 - July 28, 2015
- Improvements to WiredTiger for capped collections and replication
- Additional WiredTiger improvements for performance and improvements
  related to cache and session use
- Performance improvements for longer running queries, particularly
  $text and $near queries SERVER-18926.
2015-08-11 14:29:45 +00:00
fhajny
98d3ba897b Change position where GCC_REQD is defined to help with potential race
condition against bsd.prefs.mk.
2015-07-14 17:53:55 +00:00
wiz
69745065ee Switch to py-boost and bump PKGREVISION. 2015-07-13 15:09:32 +00:00
ryoon
76f7627381 Update to 3.0.4
Changelog:
MongoDB 3.0.4 is released
June 6, 2015

MongoDB 3.0.4 is out and is ready for production deployment. This release contains only fixes since 3.0.3, and is a recommended upgrade for all 3.0 users.

Fixed in this release:

    SERVER-17923 Creating/dropping multiple background indexes on the same collection can cause fatal error on secondaries
    SERVER-18079 Large performance drop with documents > 16k on Windows
    SERVER-18190 Secondary reads block replication
    SERVER-18213 Lots of WriteConflict during multi-upsert with WiredTiger storage engine
    SERVER-18316 Database with WT engine fails to recover after system crash
    SERVER-18475 authSchemaUpgrade fails when the system.users contains non MONGODB-CR users
    SERVER-18629 WiredTiger journal system syncs wrong directory
    SERVER-18822 Sharded clusters with WiredTiger primaries may lose writes during chunk migration


Announcing MongoDB 3.0 and Bug Hunt Winners
March 3, 2015

Today MongoDB 3.0 is generally available; you can download now.

Our community was critical to ensuring the quality of the release. Thank you to everyone who participated in our 3.0 Bug Hunt. From the submissions, we've selected winners based on the user impact and severity of the bugs found.

First Prize

Mark Callaghan, Member of Technical Staff, Facebook
During the 3.0 release cycle, Mark submitted 10 bug reports and collaborated closely with the MongoDB engineering team to debug the issues he uncovered. As a first place winner, Mark will receive a free pass to MongoDB World in New York City on June 1-2, including a front row seat to the keynote sessions. Mark was also eligible to receive a $1,000 Amazon gift card but opted to donate the award to a charity. We are donating $1,000 to CodeStarters.org in his name.

Honorable Mentions

Nick Judson, Conevity
Nick submitted SERVER-17299, uncovering excessive memory allocation on Windows when using "snappy" compression in WiredTiger.

Koshelyaev Konstantin, RTEC
Koshelyaev submitted SERVER-16664, which uncovered a memory overflow in WiredTiger when using "zlib" compression.

Tim Callaghan, Crunchtime!
In submitting SERVER-16867, Tim found an uncaught WriteConflict exception affecting replicated writes during insert-heavy workloads.

Nathan Arthur, PreEmptive Solutions
Nathan submitted SERVER-16724, which found an issue with how collection metadata is persisted.

Thijs Cadier, AppSignal
Thijs submitted SERVER-16197, which revealed a bug in the build system interaction with the new MongoDB tools.

Nick, Koshelyaev, Tim, Nathan, and Thijs will also receive tickets to MongoDB World in New York City on June 1-2 (with reserved front-row seat for keynote sessions), $250 Amazon Gift Cards, and MongoDB t-shirts.

Congratulations to the winners and thanks to everyone who downloaded, tested and gave feedback on the release candidates.
2015-06-23 13:31:24 +00:00
fhajny
d8f05f1053 Requires GCC 4.8.2 or later. Make sure MAKE_JOBS are passed properly. 2015-05-02 16:46:26 +00:00
ryoon
01cf85cf46 Import mongodb-3.0.2 as databases/mongodb from pkgsrc-wip/mongodb.
Packged by jafour1 and updated by some users.


Mongo (from "humongous") is a high-performance, open source, schema-free,
document-oriented database. It features: document data model with dynamic
schemas; full, flexible index support and rich queries; auto-Sharding for
horizontal scalability; built-in replication for high availability; text
search; advanced security; aggregation Framework and MapReduce; large media
storage with GridFS.
2015-05-02 08:10:33 +00:00