<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:44:50 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>[DOCS-3038] Atomic characteristic of update $modifiers should be more explicit</title>
                <link>https://jira.mongodb.org/browse/DOCS-3038</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;The fact $inc (and other) is atomic is difficult to establish from the current documentation. $inc reference page does not mention it. &lt;/p&gt;

&lt;p&gt;Searching for &quot;atomic&quot; only returns a page with a findAndModify example.&lt;/p&gt;

&lt;p&gt;15:28 &amp;lt; ragezor&amp;gt; hello guys, i&apos;m trying to implement a counter system in mongodb and i need advice about implementation&lt;br/&gt;
15:28 &amp;lt; ragezor&amp;gt; i have a collection counters and in there a lot of documents which represent one counter each&lt;br/&gt;
15:29 &amp;lt; Nodex&amp;gt; so far so good&lt;br/&gt;
15:29 &amp;lt; ragezor&amp;gt; counters have field number which then i increment each time an event occurs&lt;br/&gt;
15:29 &amp;lt; ragezor&amp;gt; my question is&lt;br/&gt;
15:29 &amp;lt; ragezor&amp;gt; if many different processes are incrementing the counter&lt;br/&gt;
15:30 &amp;lt; kali&amp;gt; if you&apos;re using $inc:1, it will work as you want it to work&lt;br/&gt;
15:30 &amp;lt; ragezor&amp;gt; can it happen that counter breaks, that is some increments are not registered?&lt;br/&gt;
15:31 &amp;lt; ragezor&amp;gt; so $inc is atomic operation?&lt;br/&gt;
15:31 &amp;lt; kali&amp;gt; yes&lt;br/&gt;
15:31 &amp;lt; ragezor&amp;gt; ok, cool&lt;/p&gt;</description>
                <environment></environment>
        <key id="128495">DOCS-3038</key>
            <summary>Atomic characteristic of update $modifiers should be more explicit</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="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="andrew.aldridge@mongodb.com">Andrew Aldridge</assignee>
                                    <reporter username="kali">Mathieu Poumeyrol</reporter>
                        <labels>
                    </labels>
                <created>Mon, 31 Mar 2014 13:37:14 +0000</created>
                <updated>Mon, 16 Mar 2015 23:56:43 +0000</updated>
                            <resolved>Fri, 10 Oct 2014 21:29:31 +0000</resolved>
                                                    <fixVersion>v1.3.12</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>1</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="739138" author="xgen-internal-githook" created="Fri, 10 Oct 2014 21:27:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;i80and&apos;, u&apos;name&apos;: u&apos;Andrew Aldridge&apos;, u&apos;email&apos;: u&apos;i80and@foxquill.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-3038&quot; title=&quot;Atomic characteristic of update $modifiers should be more explicit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-3038&quot;&gt;&lt;del&gt;DOCS-3038&lt;/del&gt;&lt;/a&gt;: Clarify update atomicity.&lt;/p&gt;

&lt;p&gt;Signed-off-by: Sam Kleinman &amp;lt;samk@10gen.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/52bbed39e961dfcd5d8e0dc63204e3ab991810e2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/52bbed39e961dfcd5d8e0dc63204e3ab991810e2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="568233" author="asya" created="Wed, 30 Apr 2014 15:57:36 +0000"  >&lt;p&gt;I filed a related &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-3308&quot; title=&quot;Tutorial model-data-for-atomic-operations needs clarification&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-3308&quot;&gt;&lt;del&gt;DOCS-3308&lt;/del&gt;&lt;/a&gt; since that tutorial contributes to the misconception that $inc is not atomic.&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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10855" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Actual Time</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 30 Apr 2014 15:53:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 18 weeks, 5 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>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 18 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.aldridge@mongodb.com</customfieldvalue>
            <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kali</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrr79r:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>110026</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrybmf:</customfieldvalue>

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