<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mongo.git/src/mongo/db/auth/user_set_test.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-66360 Remove multi-user authentication support</title>
<updated>2022-05-24T05:17:25+00:00</updated>
<author>
<name>Sara Golemon</name>
<email>sara.golemon@mongodb.com</email>
</author>
<published>2022-05-10T17:54:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=4fab61e9c5006e9a4c06860dc9e49e1d422ee859'/>
<id>4fab61e9c5006e9a4c06860dc9e49e1d422ee859</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-43721 Make the AuthorizationManager use DistCache</title>
<updated>2020-01-16T12:41:35+00:00</updated>
<author>
<name>Kaloian Manassiev</name>
<email>kaloian.manassiev@mongodb.com</email>
</author>
<published>2019-12-30T00:13:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=73b89c6fc4ed6279b52e2588c102c7fc1182189b'/>
<id>73b89c6fc4ed6279b52e2588c102c7fc1182189b</id>
<content type='text'>
The DistCache (to be later renamed to ReadThroughCache) was derived from
the same implementation under AuthorizationManager and this change
removes the code duplication.

In addition, it makes the following changes to InvalidatingLRUCache and
the DistCache:

* Simplifies and optimises the InvalidatingLRUCache:

The way it is implemented now, it performs up to 3 operations per
lookup, unvalidates entries unnecessarily and has overly complicated
logic, which is source of a crash. Instead of fixing the bug, this
change rewrites it in a simpler way, which introduces a ValueHandle
instead of bare shared_ptr for the return value, and only performs
additional work if entries fall off the underlying LRUCache.

* Moves the DistCache under src/util and adds unit tests:

This change pulls the DistCache (which is the main consumer of
InvalidatingLRUCache) into its own library and moves it to be
under src/util like the other caches and adds unit tests.

 delete mode 100644 jstests/auth/pinned_users.js
 create mode 100644 jstests/auth/pinned_users_clear_pinned_user_list.js
 create mode 100644 jstests/auth/pinned_users_exclusive_lock_on_admin.js
 create mode 100644 jstests/auth/pinned_users_remove_user_document_unpins_user.js
 create mode 100644 src/mongo/util/dist_cache.cpp
 rename src/mongo/{db =&gt; util}/dist_cache.h (56%)
 create mode 100644 src/mongo/util/dist_cache_test.cpp
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The DistCache (to be later renamed to ReadThroughCache) was derived from
the same implementation under AuthorizationManager and this change
removes the code duplication.

In addition, it makes the following changes to InvalidatingLRUCache and
the DistCache:

* Simplifies and optimises the InvalidatingLRUCache:

The way it is implemented now, it performs up to 3 operations per
lookup, unvalidates entries unnecessarily and has overly complicated
logic, which is source of a crash. Instead of fixing the bug, this
change rewrites it in a simpler way, which introduces a ValueHandle
instead of bare shared_ptr for the return value, and only performs
additional work if entries fall off the underlying LRUCache.

* Moves the DistCache under src/util and adds unit tests:

This change pulls the DistCache (which is the main consumer of
InvalidatingLRUCache) into its own library and moves it to be
under src/util like the other caches and adds unit tests.

 delete mode 100644 jstests/auth/pinned_users.js
 create mode 100644 jstests/auth/pinned_users_clear_pinned_user_list.js
 create mode 100644 jstests/auth/pinned_users_exclusive_lock_on_admin.js
 create mode 100644 jstests/auth/pinned_users_remove_user_document_unpins_user.js
 create mode 100644 src/mongo/util/dist_cache.cpp
 rename src/mongo/{db =&gt; util}/dist_cache.h (56%)
 create mode 100644 src/mongo/util/dist_cache_test.cpp
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-39560 - remove leading blank line on all C++ files</title>
<updated>2019-02-13T20:26:10+00:00</updated>
<author>
<name>Billy Donahue</name>
<email>billy.donahue@mongodb.com</email>
</author>
<published>2019-02-13T19:07:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=b21647a5e19e5980186e57f77be0b1e0ef92a087'/>
<id>b21647a5e19e5980186e57f77be0b1e0ef92a087</id>
<content type='text'>
Remove leading comments that are just stating the filename.
Move any file-level comments below the copyright banner.
Remove leading blank lines.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove leading comments that are just stating the filename.
Move any file-level comments below the copyright banner.
Remove leading blank lines.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-37651 Update header files with new license</title>
<updated>2018-10-22T17:05:34+00:00</updated>
<author>
<name>Ramon Fernandez</name>
<email>ramon@mongodb.com</email>
</author>
<published>2018-10-20T02:27:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=a66a5578d5b006cef85b16eac05c96b58c877ebe'/>
<id>a66a5578d5b006cef85b16eac05c96b58c877ebe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-35890 refactor User cache into InvalidatingLRUCache and UserHandle</title>
<updated>2018-08-01T16:56:36+00:00</updated>
<author>
<name>Jonathan Reams</name>
<email>jbreams@mongodb.com</email>
</author>
<published>2018-06-29T16:35:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=2c504892ae516f56dc127dee1146baf894a5fc59'/>
<id>2c504892ae516f56dc127dee1146baf894a5fc59</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "SERVER-35890 refactor User cache into InvalidatingLRUCache and UserHandle"</title>
<updated>2018-07-31T22:32:19+00:00</updated>
<author>
<name>Ben Caimano</name>
<email>ben.caimano@10gen.com</email>
</author>
<published>2018-07-31T22:26:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=6711ab3bbc02ca98da1af2fe115f07e37bb076e4'/>
<id>6711ab3bbc02ca98da1af2fe115f07e37bb076e4</id>
<content type='text'>
This reverts commit 78dec3622268ad27bb855eda4c6a4ed345412fd9.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 78dec3622268ad27bb855eda4c6a4ed345412fd9.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-35890 refactor User cache into InvalidatingLRUCache and UserHandle</title>
<updated>2018-07-31T20:35:29+00:00</updated>
<author>
<name>Jonathan Reams</name>
<email>jbreams@mongodb.com</email>
</author>
<published>2018-06-29T16:35:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=78dec3622268ad27bb855eda4c6a4ed345412fd9'/>
<id>78dec3622268ad27bb855eda4c6a4ed345412fd9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-18579: Clang-Format - reformat code, no comment reflow</title>
<updated>2015-06-20T14:56:02+00:00</updated>
<author>
<name>Mark Benvenuto</name>
<email>mark.benvenuto@mongodb.com</email>
</author>
<published>2015-06-20T04:22:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=9c2ed42daa8fbbef4a919c21ec564e2db55e8d60'/>
<id>9c2ed42daa8fbbef4a919c21ec564e2db55e8d60</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-17308 Replace boost::scoped_ptr&lt;T&gt; with std::unique_ptr&lt;T&gt;</title>
<updated>2015-06-11T02:37:49+00:00</updated>
<author>
<name>Andrew Morrow</name>
<email>acm@mongodb.com</email>
</author>
<published>2015-06-10T22:08:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=d7d1fdb75966c684e9a42150e6e9b69c4a10ee08'/>
<id>d7d1fdb75966c684e9a42150e6e9b69c4a10ee08</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-15641 Fix memory leaks in C++ unit tests</title>
<updated>2014-10-16T00:51:31+00:00</updated>
<author>
<name>Andrew Morrow</name>
<email>acm@mongodb.com</email>
</author>
<published>2014-10-14T12:23:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=82c79ceed40f66b4e4c260d4b7d5cef5061893ac'/>
<id>82c79ceed40f66b4e4c260d4b7d5cef5061893ac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
