Reorganize declaration of variable and add release note.

This commit is contained in:
A.J. Beamon 2020-01-06 12:27:56 -08:00
parent 4a52864023
commit 6cf38790d6
3 changed files with 2 additions and 2 deletions

View File

@ -10,6 +10,7 @@ Fixes
* Clients could throw an internal error during ``commit`` if client buggification was enabled. `(PR #2427) <https://github.com/apple/foundationdb/pull/2427>`_.
* Backup and DR agent transactions which update and clean up status had an unnecessarily high conflict rate. `(PR #2483) <https://github.com/apple/foundationdb/pull/2483>`_.
* The slow task profiler used an unsafe call to get a timestamp in its signal handler that could lead to rare crashes. `(PR #2515) <https://github.com/apple/foundationdb/pull/2515>`_.
6.2.11
======

View File

@ -54,7 +54,6 @@ using namespace boost::asio::ip;
#include <execinfo.h>
std::atomic<int64_t> net2liveness(0);
std::atomic<double> checkThreadTime(0);
volatile size_t net2backtraces_max = 10000;
volatile void** volatile net2backtraces = NULL;

View File

@ -2804,10 +2804,10 @@ extern volatile size_t net2backtraces_max;
extern volatile bool net2backtraces_overflow;
extern volatile int net2backtraces_count;
extern std::atomic<int64_t> net2liveness;
extern std::atomic<double> checkThreadTime;
extern volatile thread_local int profilingEnabled;
extern void initProfiling();
std::atomic<double> checkThreadTime;
volatile thread_local bool profileThread = false;
#endif