<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mongo.git/src/mongo/db/auth/user_set.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-40357 expand all calls to MONGO_DISALLOW_COPYING</title>
<updated>2019-03-28T14:13:21+00:00</updated>
<author>
<name>Billy Donahue</name>
<email>billy.donahue@mongodb.com</email>
</author>
<published>2019-03-27T16:21:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=f922827d45ce752e148185dfa3a785f7c9cf29fd'/>
<id>f922827d45ce752e148185dfa3a785f7c9cf29fd</id>
<content type='text'>
produced by:

hits="$(git grep -n MONGO_DISALLOW_COPYING | cut -d: -f1 )"
for f in "$hits"; do
    sed -i.orig '
    s/^\( *\)MONGO_DISALLOW_COPYING(\(.*\));/\1\2(const \2\&amp;) = delete;\n\1\2\&amp; operator=(const \2\&amp;) = delete;/;
    ' $f
done
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
produced by:

hits="$(git grep -n MONGO_DISALLOW_COPYING | cut -d: -f1 )"
for f in "$hits"; do
    sed -i.orig '
    s/^\( *\)MONGO_DISALLOW_COPYING(\(.*\));/\1\2(const \2\&amp;) = delete;\n\1\2\&amp; operator=(const \2\&amp;) = delete;/;
    ' $f
done
</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-34893 Embedded authorization components</title>
<updated>2018-05-22T20:11:51+00:00</updated>
<author>
<name>ADAM David Alan Martin</name>
<email>adam.martin@10gen.com</email>
</author>
<published>2018-05-22T20:11:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=ac1ceb8cb4994e235abe9a364c3dd7a2bfa84a62'/>
<id>ac1ceb8cb4994e235abe9a364c3dd7a2bfa84a62</id>
<content type='text'>
To facilitate using the mongodb code as an in-process embeddable
library, we have created a dummy auth layer which can stand in for
the real auth system in these contexts.  Several link edges needed
to be retargetted, and some tests needed to be relaxed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To facilitate using the mongodb code as an in-process embeddable
library, we have created a dummy auth layer which can stand in for
the real auth system in these contexts.  Several link edges needed
to be retargetted, and some tests needed to be relaxed.
</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>
</feed>
