Hello community, here is the log from the commit of package mongodb for openSUSE:Factory checked in at 2018-03-20 22:00:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mongodb (Old) and /work/SRC/openSUSE:Factory/.mongodb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mongodb" Tue Mar 20 22:00:18 2018 rev:4 rq:588643 version:3.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/mongodb/mongodb.changes 2017-11-03 16:28:28.728286625 +0100 +++ /work/SRC/openSUSE:Factory/.mongodb.new/mongodb.changes 2018-03-20 22:00:47.392753479 +0100 @@ -1,0 +2,156 @@ +Fri Feb 23 03:40:49 UTC 2018 - [email protected] + +- Update to version 3.6.2: + * Security + + The contents of {USER} needs to be escaped when querying for the groups using LDAP server + * Sharding + + Cleanup mongos write commands execution + + Shard does not call config commit chunk migration command with majority writeConcern nor checks for writeConcern errors. + + Do not clear the cached sharding filtering information on replication state changes + + UUIDs may be absent from shard secondary local collections + + Remove CatalogCache retrieval methods, which take StringData + + Requiring replSet for shards breaks Queryable Backup + * Replication + + Remove TopologyCoordinator interface + + CollectionCloner fails if collection is dropped between getMore calls + + QueryPlanKilled (operation exceeded time limit) in $changeStream with updateLookup + + Clarify the reason temporary unique collection names are made + + Disallow operations on drop-pending collections through applyOps + + initial_sync_drop_collection.js should wait for system to stablize after restarting node + + Disable chaining in initial_sync_drop_collection.js + * Aggregation + + Aggregation text search returns text score even if it wasn’t requested when targeting multiple shards in a sharded cluster + + DocumentSourceSort sorts array documents incorrectly if there is a non-simple collation + * Storage + + Libraries db/db_raii and db/s/sharding are directly cyclic + + Always log renameCollections in our tests + + Fix race in CompatibleFirstStress lock manager test + + Remove IndexObserver + * Operations + + mongo shell failed to connect with 3.6 connection string SRV + * Build and Packaging + + Fix long link times on OS X by passing -no_deduplicate to the linker + + MongoDB msi installer for Compass contains a typo + * Internals + + check that oplogTruncateAfterPoint is correct in PeriodicKillSecondaries hook + + Reduce the number of iterations for the toggle_feature_compatibility.js workload + + Add additional unittesting for CompatibleFirst policy + + Powercycle - remove mongod.lock file for MMAPV1 test + + Avoid dropping lock before cleaning up DocumentSourceCursor’s PlanExecutor + + PID file permission on v3.6 make it not not monitorable using pid file + + implicitly_retry_on_database_drop_pending.js calls tojson() inside of a loop + + Disable the sharding Evergreen task on the Enterprise OS X 10.10 MMAPv1 builder +- Include changes from 3.6.1: + * Sharding + + Invariant failure on config server when inserting tag into config.tags + + Force the recipient shard to refresh its metadata after migration commit + + Primary queries using maxTimeMS cause temporary shard write unavailability if ExceededTimeLimit + + Remove all usages of the default constructor of ScopedCollectionMetadata outside of MetadataManager + + ShardingTest.checkUUIDsConsistentAcrossCluster can fail to see collection in config.cache.collections + + setFCV on config server should only generate UUIDs for non-dropped sharded collections + + A migration will simply report “Data transfer error” when we have rich error details on the destination shard that are logged but not returned to the user + + Disallow users from creating new indexes in config.transactions + + Improve multi thread performance for retryable writes + + Enable sign range optimization for clusterTime + + ShardingCatalogManager::getDatabasesForShard should check if query was successful + + Mongos crashes on bulk inserts which size are slightly bigger than maxBsonObjectSize + + “CommandNotFound: no such command” in mongodb logs on 3.6 + * Replication + + Cancel catchup takeover if primary caught up according to heartbeats + + Rollback can abort on long collection names. + + $changeStream reports incorrect documentKey for unsharded collections that become sharded + + Delete unused rollback code + + ChangeStreams lookup_post_image.js test makes assumptions that don’t hold up in secondary read passthrough + + fix typo in sync_tail.cpp fillWriterVectorsAndLastestSessionRecords() + + do a second majority write on oldPrimary before committed read in read_committed_after_rollback.js + + Do not use IDL on oldest oplog entry + * Query + + Add an invariant that DocumentSourceCloseCursor does not execute on a mongod for a sharded $changeStream + + Arrays of certain NumberDecimals can trigger an invariant failure + + $rename does not update value if existing “to” field has the same numeric value but different type. + + Add deprecation warning to “snapshot” option on queries + * Write Operations + + Deprecate $atomic/isolated update option + + Updates using a numeric path component may cause index entries not to be created + * Aggregation + + Test that mongos accepts a –timeZoneInfo parameter, and can correctly execute expressions using time zones + + changeStream cursor is not returned on a mongos when the database does not exist. + * Storage + + remove SnapshotName class + + Test that applyOps can clone admin.system.version preserving its UUID + + return error if collMod provides a UUID that does not match the UUID of the collection specified + + allow enableMajorityReadConcern=false to work + + applyOps view creation should not assign UUID + + oldest_timestamp should track the last applied time, during initial sync + * Operations + + Disallow removing the featureCompatibilityVersion document + * Build and Packaging + + install_compass experience on OSX needs improvement + + Remove Type=forking from Debian SystemD service file + * Tools + + qa-dump-restore-archiving oplog_rollover_test.js + * Internals + + system_perf.yml: Use new DSI interface and cleanup + + Add a version of retryable_writes_jscore_passthrough.yml with stepdowns + + The mongod process forks before listening for connections + + Bring BSONObj parsers back for IDL generated commands + + UUIDs should be added to local collections for replica sets only on clean startup + + HostAndPort for replSetInitiate() no longer finds hostname for localhost + + WT performance regression with write retryability enabled + + applyOps command with UUID containing op must require granular privileges + + explain3.js should assert that its writes succeed + + Improve signal given by list_local_sessions.js + + Run test stage of sys-perf and mongo-perf failures should lead to red evergreen boxes + + Require shard servers and config servers to be started with –replSet or ‘replSetName’ + + Migration of txn oplog entries can trigger fassert in secondary replication + + Shell SRV implementation does not allow authSource from TXT records to be used + + Revert erroneous high error codes + + Evergreen tests broken in master + + Implement Initial DNS Seedlist discovery spec + + build.sh script doesn’t abort on error + + qa-tests-unstable force_table_scan.js + + qa-tests-unstable no_primary_error_code.js + + qa-tests-unstable no_sharded_secondary_reads.js + + Make sure eviction visits all trees + + Cursor remove operation unpins page too early + + Transactions with timestamps should read their writes +- Rebase existing python3 patch so it applies cleanly to 3.6.2: + mongo-src-3.6.2-python3.patch + +------------------------------------------------------------------- +Thu Feb 22 17:07:27 UTC 2018 - [email protected] + +- Remove mongo-tools files, it is a seperate project + here & upstream since 2015. +- Update _constraints make hardware memory 8G, fixes compile failure + +------------------------------------------------------------------- +Mon Dec 25 09:21:49 UTC 2017 - [email protected] + +- on "older (supported...)" distribution scons is too old, + use bundled version to make it build correct + +------------------------------------------------------------------- +Fri Dec 22 20:56:16 UTC 2017 - [email protected] + +- updated to release 3.6.0 + +------------------------------------------------------------------- +Tue Dec 5 00:21:10 UTC 2017 - [email protected] + +- initial python3 port + +------------------------------------------------------------------- +Thu Nov 16 10:04:35 UTC 2017 - [email protected] + +- Add TasksMax and TasksAccounting to systemd service, based on + upstream recommendation. + +------------------------------------------------------------------- +Mon Nov 13 16:03:39 UTC 2017 - [email protected] + +- Add tmpfiles file to create /var/run/mongodb at startup and use + this directory to store PID file created by mongodb server. This + ensure systemd forking monitor works as designed. + +------------------------------------------------------------------- Old: ---- mongodb-src-r3.4.10.tar.gz New: ---- mongo-src-3.6.2-python3.patch mongodb-src-r3.6.2.tar.gz mongodb-tmpfile ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mongodb.spec ++++++ --- /var/tmp/diff_new_pack.IxlOpD/_old 2018-03-20 22:00:49.220687667 +0100 +++ /var/tmp/diff_new_pack.IxlOpD/_new 2018-03-20 22:00:49.224687523 +0100 @@ -1,7 +1,7 @@ # # spec file for package mongodb # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,10 +25,10 @@ %bcond_with systemd %endif Name: mongodb -Version: 3.4.10 +Version: 3.6.2 Release: 0 Summary: The MongoDB document-oriented database system (metapackage) -License: AGPL-3.0 +License: AGPL-3.0-only Group: Productivity/Databases/Servers Url: http://www.mongodb.org Source0: https://fastdl.mongodb.org/src/mongodb-src-r%{version}.tar.gz @@ -36,6 +36,8 @@ Source2: mongodb.logrotate Source3: mongodb.conf Source4: mongodb.service +Source5: mongodb-tmpfile +Patch0: mongo-src-3.6.2-python3.patch %if 0%{?sle_version} >= 120200 BuildRequires: gcc6 BuildRequires: gcc6-c++ @@ -44,6 +46,18 @@ %endif BuildRequires: glibc-devel BuildRequires: openssl-devel +%if 0%{?suse_version} >= 1500 +BuildRequires: python3-Cheetah3 +BuildRequires: python3-PyYAML +BuildRequires: python3-regex +BuildRequires: python3-setuptools +%else +BuildRequires: python-Cheetah +BuildRequires: python-PyYAML +BuildRequires: python-regex +BuildRequires: python-setuptools +BuildRequires: python-typing +%endif BuildRequires: scons >= 2.3 Requires: logrotate Requires: mongodb-mongoperf = %{version} @@ -86,6 +100,12 @@ Requires(pre): %fillup_prereq Requires(pre): %insserv_prereq %endif +# maintainers do not like to make package work just becuase so this is workaround... +%if %{?suse_version} >= 1500 +%define scons_bin %{_bindir}/scons +%else +%define scons_bin buildscripts/scons.py +%endif %description MongoDB is a document-oriented database program. Classified as a @@ -172,12 +192,15 @@ %prep %setup -q -n mongodb-src-r%{version} +%if %{?suse_version} >= 1500 +%patch0 -p1 +%endif # change default database path to reflect the default database user directory sed -i 's|/data/db/|%{_home_dir}/|' src/mongo/db/storage/storage_options.cpp %build -scons \ +%scons_bin \ %if 0%{?sle_version} >= 120200 CC=%{_bindir}/gcc-6 CXX=%{_bindir}/g++-6 \ %endif @@ -197,7 +220,7 @@ %endif %install -scons \ +%scons_bin \ %if 0%{?sle_version} >= 120200 CC=%{_bindir}/gcc-6 CXX=%{_bindir}/g++-6 \ %endif @@ -225,9 +248,12 @@ %if %{with systemd} install -D -p -m 0644 %{SOURCE4} %{buildroot}%{_unitdir}/%{name}.service install -D -p -m 0755 %{SOURCE1} %{buildroot}%{_sbindir}/rc%{name} + install -d -m 0755 %{buildroot}%{_tmpfilesdir}/ + install -D -p -m 0644 %{SOURCE5} %{buildroot}%{_tmpfilesdir}/%{name}.conf %else install -D -p -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/%{name} ln -sf %{_initddir}/%{name} %{buildroot}%{_sbindir}/rc%{name} + mkdir -p %{buildroot}/run/%{pkg_name} %endif install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name} @@ -256,6 +282,7 @@ %post server /sbin/ldconfig %if %{with systemd} + %tmpfiles_create %_tmpfilesdir/%{name}.conf %{service_add_post %{name}.service} %else %{fillup_and_insserv -f %{name}} @@ -290,6 +317,8 @@ %if %{with systemd} %{_unitdir}/%{name}.service +%{_tmpfilesdir}/%{name}.conf +%ghost %dir /run/%{name} %else %{_sysconfdir}/init.d/%{name} %endif @@ -299,6 +328,7 @@ %files shell %defattr(-,root,root,-) %{_bindir}/mongo +%{_bindir}/install_compass %{_mandir}/man1/mongo.1* %files mongos ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.IxlOpD/_old 2018-03-20 22:00:49.256686371 +0100 +++ /var/tmp/diff_new_pack.IxlOpD/_new 2018-03-20 22:00:49.256686371 +0100 @@ -1,7 +1,7 @@ <constraints> <hardware> <memory> - <size unit="G">4</size> + <size unit="G">8</size> </memory> <disk> <size unit="G">14</size> ++++++ mongo-src-3.6.2-python3.patch ++++++ ++++ 1795 lines (skipped) ++++++ mongodb-src-r3.4.10.tar.gz -> mongodb-src-r3.6.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/mongodb/mongodb-src-r3.4.10.tar.gz /work/SRC/openSUSE:Factory/.mongodb.new/mongodb-src-r3.6.2.tar.gz differ: char 5, line 1 ++++++ mongodb-tmpfile ++++++ # make sure the mongodb dir is owned by mongodb so the process running as # mongodb can write the pid there d /run/mongodb 0755 mongodb root - ++++++ mongodb.conf ++++++ --- /var/tmp/diff_new_pack.IxlOpD/_old 2018-03-20 22:00:49.320684067 +0100 +++ /var/tmp/diff_new_pack.IxlOpD/_new 2018-03-20 22:00:49.324683923 +0100 @@ -24,16 +24,15 @@ port: 27017 bindIp: 127.0.0.1,::1 ipv6: true - http: - enabled: false - JSONPEnabled: false - RESTInterfaceEnabled: false # How to manage mongod. processManagement: fork: true +# Full path to pidfile (if not set, no pidfile is created) + pidFilePath: /var/run/mongodb/mongod.pid + # Security settings. security: authorization: enabled ++++++ mongodb.service ++++++ --- /var/tmp/diff_new_pack.IxlOpD/_old 2018-03-20 22:00:49.368682338 +0100 +++ /var/tmp/diff_new_pack.IxlOpD/_new 2018-03-20 22:00:49.368682338 +0100 @@ -4,6 +4,7 @@ [Service] Type=forking +PIDFile=/run/mongodb/mongod.pid User=mongodb Group=mongodb Environment=CONFIG=/etc/mongodb.conf @@ -22,6 +23,11 @@ TimeoutStartSec=180 StandardOutput=syslog StandardError=syslog +# total threads (user+kernel) +TasksMax=infinity +TasksAccounting=false +# Recommended limits for for mongod as specified in +# http://docs.mongodb.org/manual/reference/ulimit/#recommended-settings [Install] WantedBy=multi-user.target
