<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:22:53 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-72817] On initial run mongod ignores replSet option set in cli</title>
                <link>https://jira.mongodb.org/browse/SERVER-72817</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;TL DR&lt;br/&gt;
mongod --wiredTigerCacheSizeGB 0.25 --replSet rs0 --keyFile /data/db/security.keyFile ignored replSet param on initial run (means there no /data/db folder yet) in docker container, as running in js script rs.initiate() command showing following non-fatal error in mongod logs&lt;br/&gt;
```&lt;br/&gt;
MongoDB server version: 4.4.4&lt;/p&gt;
{
&#160; &#160; &quot;ok&quot; : 0,
&#160; &#160; &quot;errmsg&quot; : &quot;This node was not started with the replSet option&quot;,
&#160; &#160; &quot;code&quot; : 76,
&#160; &#160; &quot;codeName&quot; : &quot;NoReplicationEnabled&quot;
}
&lt;p&gt;```&lt;br/&gt;
Also mongod logs showing following for cli params passed&lt;br/&gt;
```&lt;br/&gt;
Options set by command line&quot;,&quot;attr&quot;:{&quot;options&quot;:{&quot;net&quot;:{&quot;bindIp&quot;:&quot;127.0.0.1&quot;,&quot;port&quot;:27017,&quot;tls&quot;:{&quot;mode&quot;:&quot;disabled&quot;}},&quot;processManagement&quot;:{&quot;fork&quot;:true,&quot;pidFilePath&quot;:&quot;/tmp/docker-entrypoint-temp-mongod.pid&quot;},&quot;security&quot;:{&quot;keyFile&quot;:&quot;/data/db/security.keyFile&quot;},&quot;storage&quot;:{&quot;wiredTiger&quot;:{&quot;engineConfig&quot;:&lt;/p&gt;
{&quot;cacheSizeGB&quot;:0.25}
&lt;p&gt;}},&quot;systemLog&quot;:{&quot;destination&quot;:&quot;file&quot;,&quot;logAppend&quot;:true,&quot;path&quot;:&quot;/proc/1/fd/1&quot;}}}}&lt;br/&gt;
```&lt;/p&gt;

&lt;p&gt;Using following manifests:&lt;br/&gt;
```&lt;br/&gt;
apiVersion: v1&lt;br/&gt;
kind: Service&lt;br/&gt;
metadata:&lt;br/&gt;
&#160; name: mongo&lt;br/&gt;
&#160; labels:&lt;br/&gt;
&#160; &#160; app: mongo&lt;br/&gt;
spec:&lt;br/&gt;
&#160; ports:&lt;br/&gt;
&#160; - port: 27017&lt;br/&gt;
&#160; selector:&lt;br/&gt;
&#160; &#160; app: mongo&lt;br/&gt;
&amp;#8212;&lt;br/&gt;
apiVersion: apps/v1&lt;br/&gt;
kind: Deployment&lt;br/&gt;
metadata:&lt;br/&gt;
&#160; name: mongo&lt;br/&gt;
&#160; namespace: default&lt;br/&gt;
spec:&lt;br/&gt;
&#160; replicas: 1&lt;br/&gt;
&#160; revisionHistoryLimit: 1&lt;br/&gt;
&#160; strategy:&lt;br/&gt;
&#160; &#160; type: Recreate&lt;br/&gt;
&#160; selector:&lt;br/&gt;
&#160; &#160; matchLabels:&lt;br/&gt;
&#160; &#160; &#160; app: mongo&lt;br/&gt;
&#160; template:&lt;br/&gt;
&#160; &#160; metadata:&lt;br/&gt;
&#160; &#160; &#160; labels:&lt;br/&gt;
&#160; &#160; &#160; &#160; app: mongo&lt;br/&gt;
&#160; &#160; &#160; &#160; tier: base&lt;br/&gt;
&#160; &#160; spec:&lt;br/&gt;
&#160; &#160; &#160; hostNetwork: true&lt;br/&gt;
&#160; &#160; &#160; dnsPolicy: ClusterFirstWithHostNet&lt;br/&gt;
&#160; &#160; &#160; containers:&lt;br/&gt;
&#160; &#160; &#160; - name: mongo&lt;br/&gt;
&#160; &#160; &#160; &#160; image: mongo:4.4.4-bionic&lt;br/&gt;
&#160; &#160; &#160; &#160; args:&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; - &quot;--wiredTigerCacheSizeGB&quot;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; - &quot;0.25&quot;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; - &quot;--replSet&quot;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; - &quot;rs0&quot;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; - &quot;--keyFile&quot;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; - &quot;/data/db/security.keyFile&quot;&lt;br/&gt;
&#160; &#160; &#160; &#160; ports:&lt;br/&gt;
&#160; &#160; &#160; &#160; - containerPort: 27017&lt;br/&gt;
&#160; &#160; &#160; &#160; volumeMounts:&lt;br/&gt;
&#160; &#160; &#160; &#160; - name: data&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; mountPath: /data/db&lt;br/&gt;
&#160; &#160; &#160; &#160; - name: entrypoint&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; mountPath: /docker-entrypoint-initdb.d/&lt;br/&gt;
&#160; &#160; &#160; &#160; env:&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; - name: MONGO_INITDB_DATABASE&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; valueFrom:&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; configMapKeyRef:&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; key: MONGO_DB&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; name: envars&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; - name: MONGO_INITDB_ROOT_USERNAME&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; valueFrom:&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; secretKeyRef:&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; key: MONGO_USER&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; name: sealed-secrets&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; - name: MONGO_INITDB_ROOT_PASSWORD&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; valueFrom:&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; secretKeyRef:&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; key: MONGO_PASS&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; name: sealed-secrets&lt;br/&gt;
&#160; &#160; &#160; volumes:&lt;br/&gt;
&#160; &#160; &#160; - name: data&lt;br/&gt;
&#160; &#160; &#160; &#160; hostPath:&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; path: /data/mongodata&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; type: DirectoryOrCreate&lt;br/&gt;
&#160; &#160; &#160; - name: entrypoint&lt;br/&gt;
&#160; &#160; &#160; &#160; secret:&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; secretName: mongo-init&lt;br/&gt;
```&lt;br/&gt;
mongo-init secret value is&lt;br/&gt;
#/bin/bash&lt;/p&gt;

&lt;p&gt;sleep 10s&lt;br/&gt;
mongo -u ${MONGO_INITDB_ROOT_USERNAME} -p ${MONGO_INITDB_ROOT_PASSWORD} &amp;lt;&amp;lt;EOF&lt;br/&gt;
rs.initiate()&lt;br/&gt;
EOF&lt;/p&gt;

&lt;p&gt;sleep 10s&lt;/p&gt;</description>
                <environment>kubernetes cluster (k3s) installed in AWS ec2&lt;br/&gt;
image: mongo:4.4.4-bionic</environment>
        <key id="2232249">SERVER-72817</key>
            <summary>On initial run mongod ignores replSet option set in cli</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="chris.kelly@mongodb.com">Chris Kelly</assignee>
                                    <reporter username="ivan.c@taskworld.com">Ivan Cherviakov</reporter>
                        <labels>
                    </labels>
                <created>Fri, 13 Jan 2023 04:13:26 +0000</created>
                <updated>Tue, 17 Jan 2023 17:52:00 +0000</updated>
                            <resolved>Tue, 17 Jan 2023 17:52:00 +0000</resolved>
                                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5118343" author="JIRAUSER1265262" created="Tue, 17 Jan 2023 17:51:17 +0000"  >&lt;p&gt;Thanks for sharing additional context on this so others can benefit! Yeah, this component has been maintained by the docker community.&lt;/p&gt;

&lt;p&gt;It&apos;s not immediately clear to me why this is being parsed out intentionally, but modifying the entrypoint script should work in your case (or just working with the restrictions in place through the means you outlined). This would be a good point to bring up for discussion in their repo &lt;a href=&quot;https://github.com/docker-library/mongo&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/docker-library/mongo&lt;/a&gt; to clarify this.&lt;/p&gt;

&lt;p&gt;I&apos;m going to go ahead and close the ticket since this is not currently a SERVER issue. Thanks for the report!&lt;/p&gt;

&lt;p&gt;Christopher&lt;/p&gt;</comment>
                            <comment id="5112153" author="JIRAUSER1263406" created="Fri, 13 Jan 2023 16:47:30 +0000"  >&lt;p&gt;Checking &lt;a href=&quot;https://github.com/docker-library/mongo/blob/master/docker-entrypoint.sh&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this&lt;/a&gt; file in docker mongo repository, I can see that it is basically wrapper over running mongod, while some arguments are hardcoded and some others (like replSet) are removed under various conditions. Also number of additional actions and checks performed there, which not happen when you start mongod outside of the docker.&lt;/p&gt;

&lt;p&gt;Not sure why it is made this way, perhaps there securty considerations? Anyway, with given setup one of consequences is that replica set initiation will be working properly only in 1 case: when you initiate it in 1 node and then you not really mind localhost constraints, which is not what users would do. And therefore it all makes sense and not much can be improved here, aside of just documenting it on docker side.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="5112062" author="JIRAUSER1263406" created="Fri, 13 Jan 2023 16:17:36 +0000"  >&lt;p&gt;Thanks @Chris Kelly for checking this. In given github issues I can see comment saying that --replSet param should never be needed during initialization, though I believe (and already asked) that behaviour inside docker should be consistent with behaviour outside of it, no matter of which case may not be important.&lt;/p&gt;

&lt;p&gt;So far it indeed seems to be issue on docker side, not mongodb server.&lt;/p&gt;</comment>
                            <comment id="5111013" author="JIRAUSER1263406" created="Fri, 13 Jan 2023 08:02:47 +0000"  >&lt;p&gt;Also this SERVER RESTARTED log is particularry confusing in this case&lt;br/&gt;
```&lt;/p&gt;

&lt;p&gt;about to fork child process, waiting until server is ready for connections.&lt;br/&gt;
forked process: 37&lt;/p&gt;

{&quot;t&quot;:\{&quot;$date&quot;:&quot;2023-01-13T06:52:29.941+00:00&quot;}
&lt;p&gt;,&quot;s&quot;:&quot;I&quot;, &#160;&quot;c&quot;:&quot;CONTROL&quot;, &#160;&quot;id&quot;:20698, &#160; &quot;ctx&quot;:&quot;main&quot;,&quot;msg&quot;:&quot;***** SERVER RESTARTED *****&quot;}&lt;br/&gt;
```&lt;/p&gt;</comment>
                            <comment id="5110978" author="JIRAUSER1265262" created="Fri, 13 Jan 2023 07:44:13 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ivan.c%40taskworld.com&quot; class=&quot;user-hover&quot; rel=&quot;ivan.c@taskworld.com&quot;&gt;ivan.c@taskworld.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Note that the mongo Docker image is &lt;a href=&quot;https://github.com/docker-library/mongo#maintained-by-the-docker-community&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;maintained by the Docker community&lt;/a&gt;. As such, we may not be able to provide much input here.&lt;/p&gt;

&lt;p&gt;It&apos;s bizarre that you don&apos;t even see the option in:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Options set by command line&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;,&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;attr&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;:{&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;options&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;:{&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;net&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;:{&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;bindIp&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;:&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;127.0&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;0.1&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;,&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;port&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;:27017,&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;tls&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;:{&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;mode&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;:&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;disabled&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;}},&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;processManagement&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;:{&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;fork&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;:true,&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;pidFilePath&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;:&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;/tmp/docker-entrypoint-temp-mongod.pid&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;},&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;security&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;:{&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;keyFile&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;:&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;/data/db/security.keyFile&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;},&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;storage&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;:{&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;wiredTiger&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;:{&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;engineConfig&quot;:&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;cacheSizeGB&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;0.25&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;Potentially related: &lt;a href=&quot;https://github.com/docker-library/mongo/issues/354&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/docker-library/mongo/issues/354&lt;/a&gt;&#160;&lt;/p&gt;

&lt;p&gt;I was able to test this out independently and found that you should see the option on 4.4.4 if you&apos;re passing it in to the mongod without a docker image on an initial run. So, this looks like something else weird might be happening to make the option not show up for you. For this issue we&apos;d like to encourage you to start by asking our community for help by posting on the &lt;a href=&quot;https://community.mongodb.com/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB Developer Community Forums&lt;/a&gt;. If the discussion there leads you to suspect a bug in the MongoDB server, then we&apos;d want to investigate it as a possible bug here in the SERVER project.&lt;/p&gt;



&lt;p&gt;Christopher&lt;/p&gt;</comment>
                            <comment id="5110964" author="JIRAUSER1263406" created="Fri, 13 Jan 2023 07:19:37 +0000"  >&lt;p&gt;So there was another deployment, where script executing rs.initate() worked normally. After checking it appears that script executed after mongodb finished its initialization (setup /data/db), and started with parameters passed. As we can see from the logs, initialization part is mongod process fork itself, do stuff needed and then kill the child, then starting normally. We just need to wait a bit more then.&lt;/p&gt;

&lt;p&gt;I wonder if we can programmatically check in the script whether mongodb server currently is in initialization state (that forked process) or already started?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 13 Jan 2023 07:44:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 3 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>chris.kelly@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 3 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>chris.kelly@mongodb.com</customfieldvalue>
            <customfieldvalue>ivan.c@taskworld.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1qghz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i18zcw:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                    <customfieldvalue><![CDATA[chris.kelly@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1q2nb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>