<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:53:18 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-39851] Create traffic capture output in subdirectory of dbpath</title>
                <link>https://jira.mongodb.org/browse/SERVER-39851</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The TrafficRecorder attempts to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/e61f7582788f51b2287f179c8f27ec8fa41744f7/src/mongo/db/traffic_recorder.cpp#L66&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;use logpath&lt;/a&gt; by default. There are two unfortunate side effects of this:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;The logpath must be set even for trivial experiments with traffic capture&lt;/li&gt;
	&lt;li&gt;Files are named by the startTrafficCapture command. It can be difficult to collect the set of files in certain situations.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I would like us to follow the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/e61f7582788f51b2287f179c8f27ec8fa41744f7/src/mongo/db/ftdc/ftdc_mongod.cpp#L68&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;ftdc pardigm&lt;/a&gt; wherein by default we make a subfolder in dbpath and put files there. This has the added advantage of automatically capturing traffic recordings via resmoke rules where applicable.&lt;/p&gt;</description>
                <environment></environment>
        <key id="705228">SERVER-39851</key>
            <summary>Create traffic capture output in subdirectory of dbpath</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="1" iconUrl="https://jira.mongodb.org/images/icons/statuses/open.png" description="">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-server-stm">Backlog - Server Tooling and Methods (STM)</assignee>
                                    <reporter username="ben.caimano@mongodb.com">Benjamin Caimano</reporter>
                        <labels>
                            <label>move-stm</label>
                    </labels>
                <created>Tue, 26 Feb 2019 20:20:19 +0000</created>
                <updated>Tue, 6 Dec 2022 03:04:46 +0000</updated>
                                                            <fixVersion>features we&amp;#39;re not sure of</fixVersion>
                                    <component>Networking</component>
                    <component>Shell</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="2197674" author="jason.carey" created="Mon, 1 Apr 2019 14:35:50 +0000"  >&lt;blockquote&gt;
&lt;ul&gt;
	&lt;li&gt;I&apos;d believe then that if relative paths are given via startTrafficCapture, they&apos;re done relative to the run directory. Does it make sense to provide a trafficCaptureOutputPath startup parameter so that we could normalize that? It might make it easier to defend against weird situations with mixed mounts.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;That&apos;s trafficRecordingDirectory.  It&apos;s a mandatory startup param if you don&apos;t have always record traffic on&lt;/p&gt;

&lt;blockquote&gt;
&lt;ul&gt;
	&lt;li&gt;I don&apos;t think ShouldAlwaysRecordTraffic would be used by our devs in CI. So it would probably be good to provide some by default configured way to place files relative to a known archive location.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;I&apos;m pretty sure the sane thing to do here is to set trafficRecordingDirectory if we actually want to always record traffic.  No need to have it piggy back on other file types.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;I&apos;m going to leave this as wont fix for now, until we hook this up with a wider use of the feature&lt;/p&gt;</comment>
                            <comment id="2169648" author="ben.caimano" created="Mon, 4 Mar 2019 17:49:47 +0000"  >&lt;p&gt;Ahhh, I hadn&apos;t internalized that we didn&apos;t have a true dbpath for mongos. (I walked over to Drew for more context. I miiiiiight file a ticket about formalizing server proc working directories.)&lt;/p&gt;

&lt;p&gt;So two things that occur to me here:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;I&apos;d believe then that if relative paths are given via startTrafficCapture, they&apos;re done relative to the run directory. Does it make sense to provide a trafficCaptureOutputPath startup parameter so that we could normalize that? It might make it easier to defend against weird situations with mixed mounts.&lt;/li&gt;
	&lt;li&gt;I don&apos;t think ShouldAlwaysRecordTraffic would be used by our devs in CI. So it would probably be good to provide some by default configured way to place files relative to a known archive location.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="2163599" author="jason.carey" created="Tue, 26 Feb 2019 21:38:24 +0000"  >&lt;p&gt;That writing to logpath is only true if ShouldAlwaysRecordTraffic is on, which is a test only thing.  I buy that we could do something smarter for that, but note that traffic recording also works in mongos, that doesn&apos;t have a dbpath.&lt;/p&gt;

&lt;p&gt;I think it&apos;s also a little less risky to slam some random, start up param named file, in logpath than under dbpath (if we have to pick a directory based on existing args).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="705251">SERVER-39854</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25142"><![CDATA[Server Tooling & Methods]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 26 Feb 2019 21:38:24 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 45 weeks, 2 days 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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 45 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-stm</customfieldvalue>
            <customfieldvalue>ben.caimano@mongodb.com</customfieldvalue>
            <customfieldvalue>mira.carey@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huoty7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|huekfz:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2856">Service Arch 2019-03-11</customfieldvalue>
    <customfieldvalue id="2857">Service Arch 2019-03-25</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

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

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