<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mongo.git/src/mongo/db/exec/delete.cpp, branch master</title>
<subtitle>github.com: mongodb/mongo.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/'/>
<entry>
<title>SERVER-61962 Rename `db/exec/delete.h/.cpp` to `delete_stage.h/.cpp`</title>
<updated>2021-12-13T10:42:19+00:00</updated>
<author>
<name>Kaloian Manassiev</name>
<email>kaloian.manassiev@mongodb.com</email>
</author>
<published>2021-12-09T11:54:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=164367e98c29e7ef08df57231c03d613d597d526'/>
<id>164367e98c29e7ef08df57231c03d613d597d526</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-59832 Prevent writes to orphan documents</title>
<updated>2021-12-10T15:09:32+00:00</updated>
<author>
<name>Antonio Fuschetto</name>
<email>antonio.fuschetto@mongodb.com</email>
</author>
<published>2021-12-10T14:44:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=d5d59422cf63d847fc8aa52e922174e2fdad3ed3'/>
<id>d5d59422cf63d847fc8aa52e922174e2fdad3ed3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-59782 migrate makeGuard calls to ScopeGuard</title>
<updated>2021-09-08T07:54:48+00:00</updated>
<author>
<name>Billy Donahue</name>
<email>billy.donahue@mongodb.com</email>
</author>
<published>2021-09-03T19:11:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=c90f38192378c8526354465991830524eda90c1f'/>
<id>c90f38192378c8526354465991830524eda90c1f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-59174 Report number of documents updated/deleted for time-series updates/deletes</title>
<updated>2021-08-21T04:55:27+00:00</updated>
<author>
<name>Gregory Noma</name>
<email>gregory.noma@gmail.com</email>
</author>
<published>2021-08-21T04:32:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=eb2fa261ec0f74d97ae1646a4a678006ee2dca32'/>
<id>eb2fa261ec0f74d97ae1646a4a678006ee2dca32</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-51420 Optimize delete to only read document once</title>
<updated>2020-11-06T20:36:25+00:00</updated>
<author>
<name>Brian DeLeonardis</name>
<email>brian.deleonardis@mongodb.com</email>
</author>
<published>2020-11-02T16:07:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=cb016ca64de26c7c45854f22e8772937475771e3'/>
<id>cb016ca64de26c7c45854f22e8772937475771e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-51200 CollectionPtr in RequiresCollectionStage point to instance owned by AutoGetCollection</title>
<updated>2020-10-13T00:32:43+00:00</updated>
<author>
<name>Henrik Edin</name>
<email>henrik.edin@mongodb.com</email>
</author>
<published>2020-09-30T15:19:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=bcab0c7e1c1b2e1516d06d23233fea9a425b99f7'/>
<id>bcab0c7e1c1b2e1516d06d23233fea9a425b99f7</id>
<content type='text'>
RequiresCollectionStage now holds a pointer to CollectionPtr owned by an AutoGetCollection.
When we save and restore the executor a new CollectionPtr pointer needs to be assigned.

Plan executors can no longer be created with temporary CollectionPtr instances and their interface have been changed to take pointers to avoid binding to rvalues.

RequiresCollectionStage no longer loads collections from the catalog and will be in sync with the owning AutoGetCollection.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RequiresCollectionStage now holds a pointer to CollectionPtr owned by an AutoGetCollection.
When we save and restore the executor a new CollectionPtr pointer needs to be assigned.

Plan executors can no longer be created with temporary CollectionPtr instances and their interface have been changed to take pointers to avoid binding to rvalues.

RequiresCollectionStage no longer loads collections from the catalog and will be in sync with the owning AutoGetCollection.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-50984 Add CollectionPtr to replace usage of const Collection*</title>
<updated>2020-09-26T02:12:49+00:00</updated>
<author>
<name>Henrik Edin</name>
<email>henrik.edin@mongodb.com</email>
</author>
<published>2020-09-17T21:09:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=2b82ab88982566114d1bb7667477b71c883b0799'/>
<id>2b82ab88982566114d1bb7667477b71c883b0799</id>
<content type='text'>
It implements a yieldable interface that is used to re-load the
Collection pointer from the catalog after a yield that released locks.
With lock-free reads and copy-on-write on Collection instances releasing
locks without notifying an AutoGetCollection at a higher level may cause
its pointers to dangle if a MODE_X writer installs a new Collection
instance in the catalog.

CollectionPtr should be passed by const reference so a yield can notify
all the way up.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It implements a yieldable interface that is used to re-load the
Collection pointer from the catalog after a yield that released locks.
With lock-free reads and copy-on-write on Collection instances releasing
locks without notifying an AutoGetCollection at a higher level may cause
its pointers to dangle if a MODE_X writer installs a new Collection
instance in the catalog.

CollectionPtr should be passed by const reference so a yield can notify
all the way up.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-50317 Const correct uses of Collection</title>
<updated>2020-09-02T23:53:39+00:00</updated>
<author>
<name>Henrik Edin</name>
<email>henrik.edin@mongodb.com</email>
</author>
<published>2020-08-14T14:23:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=bf5914a20b596ba3bde772b42e579e028f733bac'/>
<id>bf5914a20b596ba3bde772b42e579e028f733bac</id>
<content type='text'>
Most of the code should only need a const Collection now. AutoGetCollection returns a const Collection by default. There is a placeholder getWritableCollection() interface that will handle the necessary steps we need for lock free reads in the future.

Added some operators to AutoGetCollection so it behaves more like a smart pointer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most of the code should only need a const Collection now. AutoGetCollection returns a const Collection by default. There is a placeholder getWritableCollection() interface that will handle the necessary steps we need for lock free reads in the future.

Added some operators to AutoGetCollection so it behaves more like a smart pointer.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-48477 move CRUD interface into PlanExecutor</title>
<updated>2020-08-31T21:53:09+00:00</updated>
<author>
<name>David Storch</name>
<email>david.storch@mongodb.com</email>
</author>
<published>2020-08-25T22:34:54+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=c70016c56f4f34ba09f4975fbf5bb3ac5129b5f7'/>
<id>c70016c56f4f34ba09f4975fbf5bb3ac5129b5f7</id>
<content type='text'>
This allows classic PlanStages to be removed from the
PlanExecutor interface. It also positions the code base well
for adding SBE support for all of the CRUD commands.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows classic PlanStages to be removed from the
PlanExecutor interface. It also positions the code base well
for adding SBE support for all of the CRUD commands.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-43821 Make PlanStage and PlanExecutor return errors by throwing</title>
<updated>2020-05-29T18:44:40+00:00</updated>
<author>
<name>David Storch</name>
<email>david.storch@mongodb.com</email>
</author>
<published>2020-05-18T22:20:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=d295b6646fcc815e73ad3085b212ad14c8c6de01'/>
<id>d295b6646fcc815e73ad3085b212ad14c8c6de01</id>
<content type='text'>
This eliminates the need for the FAILURE status codes in
PlanStage and PlanExecutor, and brings query execution's
error reporting more in line with that of the rest of the
server. It also makes it easier for future implementations
of PlanExecutor to comply with the interface.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This eliminates the need for the FAILURE status codes in
PlanStage and PlanExecutor, and brings query execution's
error reporting more in line with that of the rest of the
server. It also makes it easier for future implementations
of PlanExecutor to comply with the interface.
</pre>
</div>
</content>
</entry>
</feed>
