<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mongo.git/src/mongo/util/background_thread_clock_source_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-41585 Modified background_thread_clock_source_test to not assume we can schedule the background thread</title>
<updated>2019-06-28T20:45:53+00:00</updated>
<author>
<name>Shaileja Jain</name>
<email>shaileja.jain@gmail.com</email>
</author>
<published>2019-06-24T19:21:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=fd128764a9e127907e2d73d6104a80612f507596'/>
<id>fd128764a9e127907e2d73d6104a80612f507596</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-39339 Remove `stdx/memory.h`</title>
<updated>2019-06-10T05:59:35+00:00</updated>
<author>
<name>ADAM David Alan Martin</name>
<email>adam.martin@10gen.com</email>
</author>
<published>2019-06-10T05:21:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=c36f9ecb91e49da7e637863889804fc4e6c6c05e'/>
<id>c36f9ecb91e49da7e637863889804fc4e6c6c05e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-40166 Force BG clock now &gt;= Date_t::lastNow</title>
<updated>2019-03-21T17:56:11+00:00</updated>
<author>
<name>Jason Carey</name>
<email>jcarey@argv.me</email>
</author>
<published>2019-03-15T19:33:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=d32ddac33c48b5e2d2885c2862d6abd88e7f26d2'/>
<id>d32ddac33c48b5e2d2885c2862d6abd88e7f26d2</id>
<content type='text'>
Currently our fast clock is implemented by a background thread which
wakes up every 10ms if callers continue to check it's time.  If that
background thread get's descheduled for a long time for some reason,
this can cause the background threads time to drift substantially.

If we:
* force every read of date_t::now to update a new date_t::lastNow
* change the background thread so that it's responsibility is to wake up
  and call Date_t::now() (if readers are still present)
* change the background thread clock source now() to return
  date_t::lastNow

We'll get a world in which we have the same target granularity + thread
quiescence as before, but additionally ensure that even if the
background thread can't be scheduled, that lastNow() will still be
pushed loosely forward if there are callers of Date_t::now() elsewhere
in the system.  This should ensure a tighter bound on the spread between
the precise and fast clock sources
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently our fast clock is implemented by a background thread which
wakes up every 10ms if callers continue to check it's time.  If that
background thread get's descheduled for a long time for some reason,
this can cause the background threads time to drift substantially.

If we:
* force every read of date_t::now to update a new date_t::lastNow
* change the background thread so that it's responsibility is to wake up
  and call Date_t::now() (if readers are still present)
* change the background thread clock source now() to return
  date_t::lastNow

We'll get a world in which we have the same target granularity + thread
quiescence as before, but additionally ensure that even if the
background thread can't be scheduled, that lastNow() will still be
pushed loosely forward if there are callers of Date_t::now() elsewhere
in the system.  This should ensure a tighter bound on the spread between
the precise and fast clock sources
</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-21538 Use mockable cv wait in background_thread_clock_source_test</title>
<updated>2017-03-22T23:15:21+00:00</updated>
<author>
<name>Mathias Stearn</name>
<email>mathias@10gen.com</email>
</author>
<published>2017-03-21T22:30:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=d55eaad5cdfcfbe8458658d39f8c57102c3b3504'/>
<id>d55eaad5cdfcfbe8458658d39f8c57102c3b3504</id>
<content type='text'>
This both makes the test run much faster and avoids spurious failures when
the system scheduler decides not to run a thread for over a second.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This both makes the test run much faster and avoids spurious failures when
the system scheduler decides not to run a thread for over a second.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-21538 Put BGThreadClockSource to sleep when it isn't needed</title>
<updated>2017-03-20T22:56:18+00:00</updated>
<author>
<name>Mathias Stearn</name>
<email>mathias@10gen.com</email>
</author>
<published>2017-01-25T23:57:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=b283aecc3a6e65e805c5ffe57b0ad4368faacbfd'/>
<id>b283aecc3a6e65e805c5ffe57b0ad4368faacbfd</id>
<content type='text'>
If it goes through a full granularity of sleeping without being read from, it
will sleep with no timeout until the next attempt to read the clock.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If it goes through a full granularity of sleeping without being read from, it
will sleep with no timeout until the next attempt to read the clock.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-23243 Add getPrecision to ClockSource</title>
<updated>2016-04-15T22:02:09+00:00</updated>
<author>
<name>Waley Chen</name>
<email>waleycz@gmail.com</email>
</author>
<published>2016-04-15T20:50:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=de534119c84dfd07ecf9401de94d3524268ec6fa'/>
<id>de534119c84dfd07ecf9401de94d3524268ec6fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-23243 Extract time-keeping from Listener</title>
<updated>2016-04-15T06:58:33+00:00</updated>
<author>
<name>Waley Chen</name>
<email>waleycz@gmail.com</email>
</author>
<published>2016-04-15T06:58:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=c2041cd99ea8ff1aa8bfba2d4bcb3bbd2ea7932c'/>
<id>c2041cd99ea8ff1aa8bfba2d4bcb3bbd2ea7932c</id>
<content type='text'>
BackgroundThreadClockSource &amp; FastClockSourceFactory
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BackgroundThreadClockSource &amp; FastClockSourceFactory
</pre>
</div>
</content>
</entry>
</feed>
