<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:49:57 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-38764] External sorter should use 64-bit integers for file offsets</title>
                <link>https://jira.mongodb.org/browse/SERVER-38764</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I&apos;ve a big collection, about 1.2bi documents, and I tried to create an index on this collection. I reproduced this bug with several fields.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;I&apos;m using 4.1.6 version on docker, running in a Linux 4.9.0-8 server.&lt;/li&gt;
	&lt;li&gt;This error happens even if starting the database in repair mode&lt;/li&gt;
	&lt;li&gt;I didn&apos;t test inserting documents with the index already on the collection. I will need about 80 hours to reproduce if you need me to test this behavior.&lt;/li&gt;
	&lt;li&gt;Marked the bug as blocking because other people with the same kind of bug won&apos;t be able to use their data, in a collection of this size, is not feasible to be used without an index.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Bellow the logs of the crash:&lt;/p&gt;

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

&lt;p&gt;2018-12-22T21:25:04.993+0000 I INDEX &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; build index on: dashboard.delivery properties: { v: 2, unique: true, key:&lt;/p&gt;

{ address: 1.0 }

&lt;p&gt;, name: &quot;address_1&quot;, ns: &quot;dashboard.delivery&quot; }&lt;br/&gt;
 2018-12-22T21:25:05.003+0000 I INDEX &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; building index using bulk method; build may temporarily use up to 500 megabytes of RAM&lt;br/&gt;
 2018-12-22T21:25:08.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index Build: 3735700/1271300000 0%&lt;br/&gt;
 2018-12-22T21:25:11.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index Build: 7304300/1271300000 0%&lt;br/&gt;
...................&lt;br/&gt;
 2018-12-22T22:01:05.006+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index Build: 1263292400/1271300000 99%&lt;br/&gt;
 2018-12-22T22:01:08.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index Build: 1266345200/1271300000 99%&lt;br/&gt;
 2018-12-22T22:01:17.474+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index Build: 1268605900/1271300000 99%&lt;br/&gt;
 2018-12-22T22:01:20.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index Build: 1270923800/1271300000 99%&lt;br/&gt;
 2018-12-22T22:01:32.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 17998500/1271300000 1%&lt;br/&gt;
 2018-12-22T22:01:42.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 40824000/1271300000 3%&lt;br/&gt;
 2018-12-22T22:01:52.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 63361700/1271300000 4%&lt;br/&gt;
 2018-12-22T22:02:02.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 84591300/1271300000 6%&lt;br/&gt;
 2018-12-22T22:02:12.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 108159600/1271300000 8%&lt;br/&gt;
 2018-12-22T22:02:22.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 129773100/1271300000 10%&lt;br/&gt;
 2018-12-22T22:02:32.018+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 152750600/1271300000 12%&lt;br/&gt;
 2018-12-22T22:02:42.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 174621400/1271300000 13%&lt;br/&gt;
 2018-12-22T22:02:52.007+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 197153900/1271300000 15%&lt;br/&gt;
 2018-12-22T22:03:02.008+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 219340800/1271300000 17%&lt;br/&gt;
 2018-12-22T22:03:12.007+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 241072500/1271300000 18%&lt;br/&gt;
 2018-12-22T22:03:22.007+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 262647400/1271300000 20%&lt;br/&gt;
 2018-12-22T22:03:32.019+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 284618500/1271300000 22%&lt;br/&gt;
 2018-12-22T22:03:42.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 306719600/1271300000 24%&lt;br/&gt;
 2018-12-22T22:03:52.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 329286200/1271300000 25%&lt;br/&gt;
 2018-12-22T22:04:02.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 351621900/1271300000 27%&lt;br/&gt;
 2018-12-22T22:04:12.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 374338500/1271300000 29%&lt;br/&gt;
 2018-12-22T22:04:22.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 396971400/1271300000 31%&lt;br/&gt;
 2018-12-22T22:04:32.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 419309500/1271300000 32%&lt;br/&gt;
 2018-12-22T22:04:42.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 439332200/1271300000 34%&lt;br/&gt;
 2018-12-22T22:04:52.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 461051300/1271300000 36%&lt;br/&gt;
 2018-12-22T22:05:02.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 483465300/1271300000 38%&lt;br/&gt;
 2018-12-22T22:05:12.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 505852400/1271300000 39%&lt;br/&gt;
 2018-12-22T22:05:22.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 528176400/1271300000 41%&lt;br/&gt;
 2018-12-22T22:05:32.003+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 550842500/1271300000 43%&lt;br/&gt;
 2018-12-22T22:05:42.007+0000 I - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Index: (2/3) BTree Bottom Up Progress: 562153500/1271300000 44%&lt;br/&gt;
 2018-12-22T22:05:49.186+0000 F - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Invariant failure static_cast&amp;lt;unsigned int&amp;gt;(_file.tellg()) == _fileEndOffset src/mongo/db/sorter/sorter.cpp 293&lt;br/&gt;
 2018-12-22T22:05:49.218+0000 F - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;***aborting after invariant() failure&lt;/p&gt;

&lt;p&gt;2018-12-22T22:05:49.597+0000 F - &lt;span class=&quot;error&quot;&gt;&amp;#91;conn8&amp;#93;&lt;/span&gt; Got signal: 6 (Aborted).&lt;br/&gt;
 0x56187d1b1ef1 0x56187d1b1109 0x56187d1b15ed 0x7f3aa87e5390 0x7f3aa843f428 0x7f3aa844102a 0x56187b7843a3 0x56187c7fea78 0x56187c7feae1 0x56187c7ff0cb 0x56187c7fc91f 0x56187c7fa718 0x56187c002128 0x56187c002424 0x56187c001308 0x56187becc034 0x56187cb38356 0x56187cb3b534 0x56187bbf8e34 0x56187bbfb1ae 0x56187bbfc94c 0x56187bbfd926 0x56187bbe9b6a 0x56187bbf5f73 0x56187bbf1767 0x56187bbf5151 0x56187c95c0f2 0x56187bbef840 0x56187bbf2b85 0x56187bbf0d9f 0x56187bbf17ed 0x56187bbf5151 0x56187c95c665 0x56187d1077d4 0x7f3aa87db6ba 0x7f3aa851141d&lt;br/&gt;
 ----- BEGIN BACKTRACE -----&lt;/p&gt;

&lt;p&gt;{&quot;backtrace&quot;:[&lt;br class=&quot;atl-forced-newline&quot; /&gt;&lt;/p&gt;
{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;2472EF1&quot;,&quot;s&quot;:&quot;_ZN5mongo15printStackTraceERSo&quot;}

&lt;p&gt;,{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;2472109&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;24725ED&quot;},{&quot;b&quot;:&quot;7F3AA87D4000&quot;,&quot;o&quot;:&quot;11390&quot;},{&quot;b&quot;:&quot;7F3AA840A000&quot;,&quot;o&quot;:&quot;35428&quot;,&quot;s&quot;:&quot;gsignal&quot;},{&quot;b&quot;:&quot;7F3AA840A000&quot;,&quot;o&quot;:&quot;3702A&quot;,&quot;s&quot;:&quot;abort&quot;},&lt;/p&gt;
{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;A453A3&quot;,&quot;s&quot;:&quot;_ZN5mongo22invariantFailedWithMsgEPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_j&quot;}
&lt;p&gt;,{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;1ABFA78&quot;,&quot;s&quot;:&quot;_ZN5mongo6sorter12FileIteratorINS_7BSONObjENS_8RecordIdEE4readEPvm&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;1ABFAE1&quot;,&quot;s&quot;:&quot;_ZN5mongo6sorter12FileIteratorINS_7BSONObjENS_8RecordIdEE18fillBufferFromDiskEv&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;1AC00CB&quot;,&quot;s&quot;:&quot;_ZN5mongo6sorter12FileIteratorINS_7BSONObjENS_8RecordIdEE4moreEv&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;1ABD91F&quot;,&quot;s&quot;:&quot;_ZN5mongo6sorter13MergeIteratorINS_7BSONObjENS_8RecordIdENS_27BtreeExternalSortComparisonEE4moreEv&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;1ABB718&quot;,&quot;s&quot;:&quot;_ZN5mongo25AbstractIndexAccessMethod10commitBulkEPNS_16OperationContextEPNS_17IndexAccessMethod11BulkBuilderEbbPSt3setINS_8RecordIdESt4lessIS7_ESaIS7_EEPSt6vectorINS_7BSONObjESaISE_EE&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;12C3128&quot;,&quot;s&quot;:&quot;_ZN5mongo19MultiIndexBlockImpl20_dumpInsertsFromBulkEPSt3setINS_8RecordIdESt4lessIS2_ESaIS2_EEPSt6vectorINS_7BSONObjESaIS9_EE&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;12C3424&quot;,&quot;s&quot;:&quot;_ZN5mongo19MultiIndexBlockImpl19dumpInsertsFromBulkEv&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;12C2308&quot;,&quot;s&quot;:&quot;_ZN5mongo19MultiIndexBlockImpl30insertAllDocumentsInCollectionEv&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;118D034&quot;},&lt;/p&gt;
{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;1DF9356&quot;,&quot;s&quot;:&quot;_ZN5mongo23ErrmsgCommandDeprecated3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE&quot;}
&lt;p&gt;,{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;1DFC534&quot;,&quot;s&quot;:&quot;_ZN5mongo12BasicCommand10Invocation3runEPNS_16OperationContextEPNS_3rpc21ReplyBuilderInterfaceE&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;EB9E34&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;EBC1AE&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;EBD94C&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;EBE926&quot;,&quot;s&quot;:&quot;_ZN5mongo23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageERKNS0_5HooksE&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;EAAB6A&quot;,&quot;s&quot;:&quot;_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;EB6F73&quot;,&quot;s&quot;:&quot;_ZN5mongo19ServiceStateMachine15_processMessageENS0_11ThreadGuardE&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;EB2767&quot;,&quot;s&quot;:&quot;_ZN5mongo19ServiceStateMachine15_runNextInGuardENS0_11ThreadGuardE&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;EB6151&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;1C1D0F2&quot;,&quot;s&quot;:&quot;_ZN5mongo9transport26ServiceExecutorSynchronous8scheduleESt8functionIFvvEENS0_15ServiceExecutor13ScheduleFlagsENS0_23ServiceExecutorTaskNameE&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;EB0840&quot;,&quot;s&quot;:&quot;_ZN5mongo19ServiceStateMachine22_scheduleNextWithGuardENS0_11ThreadGuardENS_9transport15ServiceExecutor13ScheduleFlagsENS2_23ServiceExecutorTaskNameENS0_9OwnershipE&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;EB3B85&quot;,&quot;s&quot;:&quot;_ZN5mongo19ServiceStateMachine15_sourceCallbackENS_6StatusE&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;EB1D9F&quot;,&quot;s&quot;:&quot;_ZN5mongo19ServiceStateMachine14_sourceMessageENS0_11ThreadGuardE&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;EB27ED&quot;,&quot;s&quot;:&quot;_ZN5mongo19ServiceStateMachine15_runNextInGuardENS0_11ThreadGuardE&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;EB6151&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;1C1D665&quot;},{&quot;b&quot;:&quot;56187AD3F000&quot;,&quot;o&quot;:&quot;23C87D4&quot;},{&quot;b&quot;:&quot;7F3AA87D4000&quot;,&quot;o&quot;:&quot;76BA&quot;},{&quot;b&quot;:&quot;7F3AA840A000&quot;,&quot;o&quot;:&quot;10741D&quot;,&quot;s&quot;:&quot;clone&quot;}],&quot;processInfo&quot;:{ &quot;mongodbVersion&quot; : &quot;4.1.6&quot;, &quot;gitVersion&quot; : &quot;55e72b015e2aa7297c00db29e4d93451ea61a7ca&quot;, &quot;compiledModules&quot; : [], &quot;uname&quot; :&lt;/p&gt;

{ &quot;sysname&quot; : &quot;Linux&quot;, &quot;release&quot; : &quot;4.9.0-8-amd64&quot;, &quot;version&quot; : &quot;#1 SMP Debian 4.9.130-2 (2018-10-27)&quot;, &quot;machine&quot; : &quot;x86_64&quot; }

&lt;p&gt;, &quot;somap&quot; : [ { &quot;b&quot; : &quot;56187AD3F000&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;107FA13E3E2D27E599436B56147F0382ADA8826C&quot; }, { &quot;b&quot; : &quot;7FFFFAFA0000&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;0B1047D7814362A9CE0444D05F6284EDA613920B&quot; }, { &quot;b&quot; : &quot;7F3AA9BE4000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libcurl.so.4&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;E2D1DB1857AE8F07908959381751796E89FF56BB&quot; }, { &quot;b&quot; : &quot;7F3AA99C9000&quot;, &quot;path&quot; : &quot;/lib/x86_64-linux-gnu/libresolv.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;6EF73266978476EF9F2FD2CF31E57F4597CB74F8&quot; }, { &quot;b&quot; : &quot;7F3AA9585000&quot;, &quot;path&quot; : &quot;/lib/x86_64-linux-gnu/libcrypto.so.1.0.0&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;250E875F74377DFC74DE48BF80CCB237BB4EFF1D&quot; }, { &quot;b&quot; : &quot;7F3AA931C000&quot;, &quot;path&quot; : &quot;/lib/x86_64-linux-gnu/libssl.so.1.0.0&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;513282AC7EB386E2C0133FD9E1B6B8A0F38B047D&quot; }, { &quot;b&quot; : &quot;7F3AA9118000&quot;, &quot;path&quot; : &quot;/lib/x86_64-linux-gnu/libdl.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;8CC8D0D119B142D839800BFF71FB71E73AEA7BD4&quot; }, { &quot;b&quot; : &quot;7F3AA8F10000&quot;, &quot;path&quot; : &quot;/lib/x86_64-linux-gnu/librt.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;89C34D7A182387D76D5CDA1F7718F5D58824DFB3&quot; }, { &quot;b&quot; : &quot;7F3AA8C07000&quot;, &quot;path&quot; : &quot;/lib/x86_64-linux-gnu/libm.so.6&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;DFB85DE42DAFFD09640C8FE377D572DE3E168920&quot; }, { &quot;b&quot; : &quot;7F3AA89F1000&quot;, &quot;path&quot; : &quot;/lib/x86_64-linux-gnu/libgcc_s.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;68220AE2C65D65C1B6AAA12FA6765A6EC2F5F434&quot; }, { &quot;b&quot; : &quot;7F3AA87D4000&quot;, &quot;path&quot; : &quot;/lib/x86_64-linux-gnu/libpthread.so.0&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;CE17E023542265FC11D9BC8F534BB4F070493D30&quot; }, { &quot;b&quot; : &quot;7F3AA840A000&quot;, &quot;path&quot; : &quot;/lib/x86_64-linux-gnu/libc.so.6&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;B5381A457906D279073822A5CEB24C4BFEF94DDB&quot; }, { &quot;b&quot; : &quot;7F3AA9E53000&quot;, &quot;path&quot; : &quot;/lib64/ld-linux-x86-64.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;5D7B6259552275A3C17BD4C3FD05F5A6BF40CAA5&quot; }, { &quot;b&quot; : &quot;7F3AA81D7000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libidn.so.11&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;E09D3783AD1D0BBCD3204FA01E4EF6D756E18F57&quot; }, { &quot;b&quot; : &quot;7F3AA7FBB000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/librtmp.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;8D1CC1204D6B6D33BD1D2C5A2A0516A2234322CF&quot; }, { &quot;b&quot; : &quot;7F3AA7D71000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;DB5180B568097E2A4690A5B40D36BD134C893FEE&quot; }, { &quot;b&quot; : &quot;7F3AA7B62000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/liblber-2.4.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;5B146086EC173C299BA45F0C92E068D68CC7AD37&quot; }, { &quot;b&quot; : &quot;7F3AA7911000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;D02A94DB90567C2C45F40C8565809A041FD22A55&quot; }, { &quot;b&quot; : &quot;7F3AA76F7000&quot;, &quot;path&quot; : &quot;/lib/x86_64-linux-gnu/libz.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;8D9BD4CE26E45EF16075C67D5F5EEAFD8B562832&quot; }, { &quot;b&quot; : &quot;7F3AA73C7000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libgnutls.so.30&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;3CE893F6D1382C2C7648DCCB06E71B1C7E0861CC&quot; }, { &quot;b&quot; : &quot;7F3AA7194000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libhogweed.so.4&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;B11678F560199547DCF726384EA39153EE0DFABF&quot; }, { &quot;b&quot; : &quot;7F3AA6F5E000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libnettle.so.6&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;D6B36C5A463EE0FA84FDD6D5FD3F7726EDB90D54&quot; }, { &quot;b&quot; : &quot;7F3AA6CDE000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libgmp.so.10&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;7B3533D5998D20EE1A1BE3F87789B69041E7F620&quot; }, { &quot;b&quot; : &quot;7F3AA6A0C000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libkrb5.so.3&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;16E3DBC6D048145939BB43BBFD7954D27421B00F&quot; }, { &quot;b&quot; : &quot;7F3AA67DD000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libk5crypto.so.3&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;AEB4C08FC47F86C475E9D3996DFE5E9B403ACEBF&quot; }, { &quot;b&quot; : &quot;7F3AA65D9000&quot;, &quot;path&quot; : &quot;/lib/x86_64-linux-gnu/libcom_err.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;1E16CB57F699E215A2A8D4EFEF90883BC749B12D&quot; }, { &quot;b&quot; : &quot;7F3AA63CE000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libkrb5support.so.0&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;DF3219B89E86920E901BAC4A80AA60F2B6134588&quot; }, { &quot;b&quot; : &quot;7F3AA61B3000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libsasl2.so.2&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;87783DF8A1058CD150F8886CB36340384093C18F&quot; }, { &quot;b&quot; : &quot;7F3AA5F72000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libgssapi.so.3&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;1FE877BE52A424D0636AFD4D35BB330E41D6E0F3&quot; }, { &quot;b&quot; : &quot;7F3AA5D0E000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libp11-kit.so.0&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;A0E2D03FF5CF65937F4425D4EFD4D655243809EB&quot; }, { &quot;b&quot; : &quot;7F3AA5AFB000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libtasn1.so.6&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;E07E186694852D8F69459C6AB28A53F8DA3CE3B6&quot; }, { &quot;b&quot; : &quot;7F3AA58F7000&quot;, &quot;path&quot; : &quot;/lib/x86_64-linux-gnu/libkeyutils.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;3364D4BF2113C4E8D17EF533867ECC99A53413D6&quot; }, { &quot;b&quot; : &quot;7F3AA56EE000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libheimntlm.so.0&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;73A8EADBC85860662B24850E71D4AFBE22C33359&quot; }, { &quot;b&quot; : &quot;7F3AA5464000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libkrb5.so.26&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;59E742306A4EA2872E061ECCE92F35FADDA75357&quot; }, { &quot;b&quot; : &quot;7F3AA51C2000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libasn1.so.8&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;E5C159E415406AE79D21056D752BA949C408B5B1&quot; }, { &quot;b&quot; : &quot;7F3AA4F8F000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libhcrypto.so.4&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;7D15576E1F096614D360784E4A01A1F5FAF908C9&quot; }, { &quot;b&quot; : &quot;7F3AA4D79000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libroken.so.18&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;481DB33C28D88E43DA6BED65E1A7599407D4D818&quot; }, { &quot;b&quot; : &quot;7F3AA4B71000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libffi.so.6&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;9D9C958F1F4894AFEF6AECD90D1C430EA29AC34F&quot; }, { &quot;b&quot; : &quot;7F3AA4948000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libwind.so.0&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;57E25072866B2D30CF02EBE7AE623B84F96FA700&quot; }, { &quot;b&quot; : &quot;7F3AA4739000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libheimbase.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;F6F1B4E9F89B716C4A0BA5819BDFFAF4A13EFB91&quot; }, { &quot;b&quot; : &quot;7F3AA44EE000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libhx509.so.5&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;C60082E3BB78D0D42868D9B359B89BF66CE5A1A7&quot; }, { &quot;b&quot; : &quot;7F3AA4219000&quot;, &quot;path&quot; : &quot;/usr/lib/x86_64-linux-gnu/libsqlite3.so.0&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;D9782BA023CAEC26B15D8676E3A5D07B55E121EF&quot; }, { &quot;b&quot; : &quot;7F3AA3FE1000&quot;, &quot;path&quot; : &quot;/lib/x86_64-linux-gnu/libcrypt.so.1&quot;, &quot;elfType&quot; : 3, &quot;buildId&quot; : &quot;7BDD51353D50310FFA1587E4AA01B40ABE32D582&quot; } ] }}&lt;br/&gt;
 mongod(_ZN5mongo15printStackTraceERSo+0x41) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187d1b1ef1&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(+0x2472109) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187d1b1109&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(+0x24725ED) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187d1b15ed&amp;#93;&lt;/span&gt;&lt;br/&gt;
 libpthread.so.0(+0x11390) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f3aa87e5390&amp;#93;&lt;/span&gt;&lt;br/&gt;
 libc.so.6(gsignal+0x38) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f3aa843f428&amp;#93;&lt;/span&gt;&lt;br/&gt;
 libc.so.6(abort+0x16A) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f3aa844102a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(&lt;em&gt;ZN5mongo22invariantFailedWithMsgEPKcRKNSt7&lt;/em&gt;_cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_j+0x0) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187b7843a3&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo6sorter12FileIteratorINS_7BSONObjENS_8RecordIdEE4readEPvm+0xD8) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187c7fea78&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo6sorter12FileIteratorINS_7BSONObjENS_8RecordIdEE18fillBufferFromDiskEv+0x31) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187c7feae1&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo6sorter12FileIteratorINS_7BSONObjENS_8RecordIdEE4moreEv+0x3B) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187c7ff0cb&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo6sorter13MergeIteratorINS_7BSONObjENS_8RecordIdENS_27BtreeExternalSortComparisonEE4moreEv+0x3F) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187c7fc91f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo25AbstractIndexAccessMethod10commitBulkEPNS_16OperationContextEPNS_17IndexAccessMethod11BulkBuilderEbbPSt3setINS_8RecordIdESt4lessIS7_ESaIS7_EEPSt6vectorINS_7BSONObjESaISE_EE+0x1E8) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187c7fa718&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo19MultiIndexBlockImpl20_dumpInsertsFromBulkEPSt3setINS_8RecordIdESt4lessIS2_ESaIS2_EEPSt6vectorINS_7BSONObjESaIS9_EE+0x1D8) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187c002128&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo19MultiIndexBlockImpl19dumpInsertsFromBulkEv+0x24) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187c002424&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo19MultiIndexBlockImpl30insertAllDocumentsInCollectionEv+0x8E8) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187c001308&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(+0x118D034) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187becc034&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(&lt;em&gt;ZN5mongo23ErrmsgCommandDeprecated3runEPNS_16OperationContextERKNSt7&lt;/em&gt;_cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE+0x46) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187cb38356&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo12BasicCommand10Invocation3runEPNS_16OperationContextEPNS_3rpc21ReplyBuilderInterfaceE+0x74) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187cb3b534&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(+0xEB9E34) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187bbf8e34&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(+0xEBC1AE) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187bbfb1ae&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(+0xEBD94C) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187bbfc94c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageERKNS0_5HooksE+0x476) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187bbfd926&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE+0x3A) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187bbe9b6a&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo19ServiceStateMachine15_processMessageENS0_11ThreadGuardE+0xD3) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187bbf5f73&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo19ServiceStateMachine15_runNextInGuardENS0_11ThreadGuardE+0x97) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187bbf1767&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(+0xEB6151) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187bbf5151&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo9transport26ServiceExecutorSynchronous8scheduleESt8functionIFvvEENS0_15ServiceExecutor13ScheduleFlagsENS0_23ServiceExecutorTaskNameE+0x1A2) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187c95c0f2&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo19ServiceStateMachine22_scheduleNextWithGuardENS0_11ThreadGuardENS_9transport15ServiceExecutor13ScheduleFlagsENS2_23ServiceExecutorTaskNameENS0_9OwnershipE+0x150) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187bbef840&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo19ServiceStateMachine15_sourceCallbackENS_6StatusE+0xB55) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187bbf2b85&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo19ServiceStateMachine14_sourceMessageENS0_11ThreadGuardE+0x35F) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187bbf0d9f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo19ServiceStateMachine15_runNextInGuardENS0_11ThreadGuardE+0x11D) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187bbf17ed&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(+0xEB6151) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187bbf5151&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(+0x1C1D665) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187c95c665&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(+0x23C87D4) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x56187d1077d4&amp;#93;&lt;/span&gt;&lt;br/&gt;
 libpthread.so.0(+0x76BA) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f3aa87db6ba&amp;#93;&lt;/span&gt;&lt;br/&gt;
 libc.so.6(clone+0x6D) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f3aa851141d&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ----- END BACKTRACE -----&lt;/p&gt;</description>
                <environment></environment>
        <key id="660799">SERVER-38764</key>
            <summary>External sorter should use 64-bit integers for file offsets</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="13201">Fixed</resolution>
                                        <assignee username="louis.williams@mongodb.com">Louis Williams</assignee>
                                    <reporter username="ooo">O</reporter>
                        <labels>
                    </labels>
                <created>Sat, 22 Dec 2018 22:54:45 +0000</created>
                <updated>Sun, 29 Oct 2023 22:25:28 +0000</updated>
                            <resolved>Fri, 18 Jan 2019 15:37:21 +0000</resolved>
                                    <version>4.1.6</version>
                                    <fixVersion>3.4.21</fixVersion>
                    <fixVersion>3.6.12</fixVersion>
                    <fixVersion>4.0.7</fixVersion>
                    <fixVersion>4.1.8</fixVersion>
                                    <component>Index Maintenance</component>
                                        <votes>0</votes>
                                    <watches>12</watches>
                                                                                                                <comments>
                            <comment id="2280052" author="xgen-internal-githook" created="Tue, 11 Jun 2019 19:03:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Dianna Hohensee&apos;, &apos;email&apos;: &apos;dianna.hohensee@10gen.com&apos;, &apos;username&apos;: &apos;DiannaHohensee&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17010&quot; title=&quot;Reduce file handle usage in File based Sorter&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17010&quot;&gt;&lt;del&gt;SERVER-17010&lt;/del&gt;&lt;/a&gt; each Sorter instance spills to a single file rather than a new file per spill to disk&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38764&quot; title=&quot;External sorter should use 64-bit integers for file offsets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38764&quot;&gt;&lt;del&gt;SERVER-38764&lt;/del&gt;&lt;/a&gt; External sorter should use 64-bit integers for file offsets&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 48d999c08304b6ede2a9d1f9d9db974b59fe97e2)&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c1c761dd865308a15ff75748bf111d0a3ce366d6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c1c761dd865308a15ff75748bf111d0a3ce366d6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2177895" author="xgen-internal-githook" created="Tue, 12 Mar 2019 00:47:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Dianna Hohensee&apos;, &apos;email&apos;: &apos;dianna.hohensee@10gen.com&apos;, &apos;username&apos;: &apos;DiannaHohensee&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17010&quot; title=&quot;Reduce file handle usage in File based Sorter&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17010&quot;&gt;&lt;del&gt;SERVER-17010&lt;/del&gt;&lt;/a&gt; each Sorter instance spills to a single file rather than a new file per spill to disk&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 2be7f2677a40a863f336d2964f456c9d87ddc838)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38764&quot; title=&quot;External sorter should use 64-bit integers for file offsets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38764&quot;&gt;&lt;del&gt;SERVER-38764&lt;/del&gt;&lt;/a&gt; External sorter should use 64-bit integers for file offsets&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 9dafb7a3e3bafa463ab5951189b670965995dada)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/48d999c08304b6ede2a9d1f9d9db974b59fe97e2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/48d999c08304b6ede2a9d1f9d9db974b59fe97e2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2162011" author="xgen-internal-githook" created="Mon, 25 Feb 2019 19:19:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Louis Williams&apos;, &apos;email&apos;: &apos;louis.williams@mongodb.com&apos;, &apos;username&apos;: &apos;louiswilliams&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38764&quot; title=&quot;External sorter should use 64-bit integers for file offsets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38764&quot;&gt;&lt;del&gt;SERVER-38764&lt;/del&gt;&lt;/a&gt; External sorter should use 64-bit integers for file offsets&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 9dafb7a3e3bafa463ab5951189b670965995dada)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/95f1919a6fc3de1193cd0c7c7fb69e7b850edb5f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/95f1919a6fc3de1193cd0c7c7fb69e7b850edb5f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2120367" author="xgen-internal-githook" created="Fri, 18 Jan 2019 15:36:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;louiswilliams&apos;, &apos;email&apos;: &apos;louis.williams@mongodb.com&apos;, &apos;name&apos;: &apos;Louis Williams&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38764&quot; title=&quot;External sorter should use 64-bit integers for file offsets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38764&quot;&gt;&lt;del&gt;SERVER-38764&lt;/del&gt;&lt;/a&gt; External sorter should use 64-bit integers for file offsets&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/9dafb7a3e3bafa463ab5951189b670965995dada&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/9dafb7a3e3bafa463ab5951189b670965995dada&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2117522" author="louis.williams" created="Wed, 16 Jan 2019 20:32:54 +0000"  >&lt;p&gt;The problem here is the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/bd1bcfbaad651070eba163a8714762ae7ed60906/src/mongo/db/sorter/sorter.cpp#L293&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;static_cast&lt;/tt&gt; to an unsigned 32 bit integer&lt;/a&gt;&#160;truncates the high-order bytes of &lt;tt&gt;tellg()&lt;/tt&gt;&#160;when the file is larger than 4GB.&lt;/p&gt;

&lt;p&gt;In fact, this entire implementation uses 32-bit unsigned integers when it should be using 64-bit unsigned integers.&lt;/p&gt;</comment>
                            <comment id="2100878" author="ooo" created="Thu, 27 Dec 2018 14:07:18 +0000"  >&lt;p&gt;I finished this test and the conclusion is that non-unique indexes and indexes on arrays working on 4.0.4, but not on 4.1.6.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2100575" author="ooo" created="Wed, 26 Dec 2018 23:53:56 +0000"  >&lt;p&gt;I loaded the same database into a 4.0.4 instance and created an index (unique), and it worked.&lt;/p&gt;

&lt;p&gt;I&apos;m testing now with a non unique index, and an index in an array. Soon as I have the results I will post it here.&lt;/p&gt;</comment>
                            <comment id="2100388" author="ooo" created="Wed, 26 Dec 2018 18:29:41 +0000"  >&lt;p&gt;I created a dump of this database and imported it. The same bug happens.&lt;/p&gt;</comment>
                            <comment id="2100237" author="ooo" created="Wed, 26 Dec 2018 13:48:04 +0000"  >&lt;p&gt;Since when moving a collection from a database to another some indexes are rebuilt, I did it as a test, and I got the following error:&lt;/p&gt;

&lt;p&gt;On the shell&lt;/p&gt;

&lt;p&gt;&amp;gt; db.runCommand({renameCollection: &apos;db1.col1&apos;, to: &apos;db2.col1&apos;})&lt;/p&gt;
{
 &quot;ok&quot; : 0,
 &quot;errmsg&quot; : &quot;BSONObj size: 1684301409 (0x64646661) is invalid. Size must be between 0 and 16793600(16MB)&quot;,
 &quot;code&quot; : 10334,
 &quot;codeName&quot; : &quot;BSONObjectTooLarge&quot;
}

&lt;p&gt;On server logs&lt;/p&gt;

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

&lt;p&gt;2018-12-26T10:13:01.739+0000 I COMMAND &lt;span class=&quot;error&quot;&gt;&amp;#91;conn79&amp;#93;&lt;/span&gt; command db2.tmpw7evh.renameCollection appName: &quot;MongoDB Shell&quot; command: renameCollection { renameCollection: &quot;db1.col1&quot;, to: &quot;db2.col1&quot;, lsid: &lt;/p&gt;
{ id: UUID(&quot;fa8f217f-63e7-4138-bf23-03fd55afaf60&quot;) }
&lt;p&gt;, $db: &quot;admin&quot; } numYields:0 ok:0 errMsg:&quot;BSONObj size: 1684301409 (0x64646661) is invalid. Size must be between 0 and 16793600(16MB)&quot; errName:BSONObjectTooLarge errCode:10334 reslen:185 locks:{ Global: { acquireCount: &lt;/p&gt;
{ r: 3, w: 6, W: 1 }
&lt;p&gt; }, Database: { acquireCount: &lt;/p&gt;
{ r: 1, w: 1, W: 1 }
&lt;p&gt; }, Collection: { acquireCount: &lt;/p&gt;
{ r: 1, w: 1 }
&lt;p&gt; } } protocol:op_msg 54798794ms&lt;/p&gt;</comment>
                            <comment id="2099633" author="ooo" created="Mon, 24 Dec 2018 12:35:09 +0000"  >&lt;p&gt;I finished importing the data into the collection with the indexes already created and the error didn&apos;t happen.&lt;/p&gt;</comment>
                            <comment id="2099482" author="ooo" created="Mon, 24 Dec 2018 01:56:17 +0000"  >&lt;p&gt;Thank you Kelsey, I will try to repeat the same procedure with the 4.0.4 version sooner as I can.&lt;/p&gt;

&lt;p&gt;Now, just for sake of completeness, I&apos;m trying to insert the documents into the database with the indexes (one simple, one unique and one in an array) already created, since I&apos;m more than half way through (about 70%), I will just wait to give you a more complete feedback of the bug.&lt;/p&gt;

&lt;p&gt;In case of failure, I will repeat the procedure with 4.0.4 and give you a feedback about it.&lt;/p&gt;</comment>
                            <comment id="2099447" author="thomas.schubert" created="Sun, 23 Dec 2018 22:14:00 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ooo&quot; class=&quot;user-hover&quot; rel=&quot;ooo&quot;&gt;ooo&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for the report, we&apos;ll look into it. Please note that that the MongoDB 4.1.x series is a development branch and not suitable for production use. Until MongoDB 4.2 is released containing the work that has gone into the 4.1.x series, we recommend running the latest stable branch, MongoDB 4.0. For more information our on version numbering system see &lt;a href=&quot;https://docs.mongodb.com/manual/release-notes/#mongodb-version-numbers&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Kelsey&lt;/p&gt;</comment>
                            <comment id="2099387" author="ooo" created="Sun, 23 Dec 2018 13:34:29 +0000"  >&lt;p&gt;The same bug also occurs when creating non-unique indexes.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="180264">SERVER-17010</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>13.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15640"><![CDATA[v4.0]]></customfieldvalue>
    <customfieldvalue key="15141"><![CDATA[v3.6]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 23 Dec 2018 22:14:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 35 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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 35 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>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
            <customfieldvalue>louis.williams@mongodb.com</customfieldvalue>
            <customfieldvalue>ooo</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huhf7j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu7gan:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2709">Storage NYC 2019-01-28</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;ul&gt;
	&lt;li&gt;Create a collection&lt;/li&gt;
	&lt;li&gt;Insert 1.2bi documents&lt;/li&gt;
	&lt;li&gt;Create an index on a string or string array property of a document.&lt;/li&gt;
&lt;/ul&gt;
</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_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                    <customfieldvalue><![CDATA[kelsey.schubert@mongodb.com]]></customfieldvalue>
    

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

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