Bug 264341

Summary: databases/mongodb50: Update to 5.0.9
Product: Ports & Packages Reporter: Ulas SAYGIN <ulassayginim>
Component: Individual Port(s)Assignee: Fernando Apesteguía <fernape>
Status: Closed FIXED    
Severity: Affects Only Me CC: fernape, ronald-lists
Priority: --- Keywords: needs-patch, needs-qa
Version: LatestFlags: ronald-lists: maintainer-feedback+
fernape: merge-quarterly+
Hardware: Any   
OS: Any   
URL: https://github.com/mongodb/mongo/releases/tag/r5.0.9
Attachments:
Description Flags
git diff ronald-lists: maintainer-approval+

Description Ulas SAYGIN 2022-05-30 02:21:59 UTC
there is new version of mongodb50. it can be updated. i couldnt compile 5.0.7  i hope this update helps.

https://github.com/mongodb/mongo/releases/tag/r5.0.9
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2022-05-30 23:27:17 UTC
Latest release notes in their forums appears to be 5.0.9rc1 (thought the repo has 5.0.9 and 509-rc1 tagged separately). Perhaps just not announced yet.

https://www.mongodb.com/community/forums/t/mongodb-5-0-9-rc1-is-released/164524
Comment 2 Ronald Klop 2022-05-31 15:40:46 UTC
Testing a change. WIP
Comment 3 Ronald Klop 2022-05-31 19:52:09 UTC
Created attachment 234358 [details]
git diff

First draft of a patch.
Currently test building. Will take about 12 hours on my rpi4.
Comment 4 Ronald Klop 2022-06-01 08:58:50 UTC
(In reply to Ronald Klop from comment #3)
* compiles on aarch64/rpi4
* poudriere stage-qa ok
Comment 5 Ronald Klop 2022-06-02 05:35:34 UTC
Upstream has release notes now

https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.9---may-31--2022
Comment 6 commit-hook freebsd_committer freebsd_triage 2022-06-17 05:30:43 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=af13f94fea8c1df77c5a6451375c6f1afb91a6e5

commit af13f94fea8c1df77c5a6451375c6f1afb91a6e5
Author:     Ronald Klop <ronald-lists@klop.ws>
AuthorDate: 2022-06-12 16:36:28 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-06-17 05:27:06 +0000

    databases/mongodb50: Update to 5.0.9

    ChangeLog: https://github.com/mongodb/mongo/releases/tag/r5.0.9

     * Remove limits on number of LDAP connections per host
     * Detect namespace changes when refreshing Collection after yielding
     * Sharding an empty collection releases the critical section too early
     * Mongos fails to attach RetryableWrite Error Label For Command Interrupted
       In _parseCommand
     * Fix search near returning wrong key/value sometimes when key doesn't exist

    PR:     264341
    Reported by:    ulassayginim@gmail.com
    MFH:    2022Q2 (many bugfixes)

 databases/mongodb50/Makefile | 25 +++++++++++++------------
 databases/mongodb50/distinfo |  6 +++---
 2 files changed, 16 insertions(+), 15 deletions(-)
Comment 7 commit-hook freebsd_committer freebsd_triage 2022-06-17 05:38:45 UTC
A commit in branch 2022Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c43878c1321f71b704e590347408ac1b749994c8

commit c43878c1321f71b704e590347408ac1b749994c8
Author:     Ronald Klop <ronald-lists@klop.ws>
AuthorDate: 2022-06-12 16:36:28 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-06-17 05:35:19 +0000

    databases/mongodb50: Update to 5.0.9

    ChangeLog: https://github.com/mongodb/mongo/releases/tag/r5.0.9

     * Remove limits on number of LDAP connections per host
     * Detect namespace changes when refreshing Collection after yielding
     * Sharding an empty collection releases the critical section too early
     * Mongos fails to attach RetryableWrite Error Label For Command Interrupted
       In _parseCommand
     * Fix search near returning wrong key/value sometimes when key doesn't exist

    PR:     264341
    Reported by:    ulassayginim@gmail.com
    MFH:    2022Q2 (many bugfixes)

    (cherry picked from commit af13f94fea8c1df77c5a6451375c6f1afb91a6e5)

 databases/mongodb50/Makefile | 25 +++++++++++++------------
 databases/mongodb50/distinfo |  6 +++---
 2 files changed, 16 insertions(+), 15 deletions(-)
Comment 8 Fernando Apesteguía freebsd_committer freebsd_triage 2022-06-17 05:40:39 UTC
Committed and merged to 2022Q2.

Thanks!