18189 Commits

Author SHA1 Message Date
Andrew Noyes
03b4a3a74a Add TRACE_PC_GUARD_INSTRUMENTATION_LIB 2022-01-20 13:24:23 -08:00
Steve Atherton
6e410f7712
Set stdout to line buffered so shells without pseudo-terminals see realtime progress. (#6262) 2022-01-19 20:29:59 -08:00
Andrew Noyes
dd3526ade5
Merge pull request #6260 from sfc-gh-anoyes/anoyes/update-transaction-profiling-analyzer
Add support for 7.0 and 7.1 in transaction_profiling_analyzer
2022-01-19 16:42:43 -08:00
Andrew Noyes
f4b0de7a56 Add support for 7.0 and 7.1 in transaction_profiling_analyzer
I painstakingly went through both transaction_profiling_analyzer.py and
fdbclient/ClientLogEvents.h to make sure that we really can read these
versions.
2022-01-19 14:00:21 -08:00
neethuhaneesha
c0c0f101c5
Merge pull request #6235 from neethuhaneesha/writeRateLimiter
Rocksdb write rate limiter.
2022-01-19 12:22:07 -08:00
He Liu
fd2f553d78
Merge pull request #6228 from liquid-helium/thread-pool-priority
Enabled setting thread poll priorities.
2022-01-19 11:00:45 -08:00
Renxuan Wang
e642b2f5bc Address comments. 2022-01-18 14:34:18 -08:00
Renxuan Wang
28832a99d6 Address comment. 2022-01-18 14:34:18 -08:00
Renxuan Wang
b8bab06e16 Add the functions to set and get mock DNS.
These functions will be used in restarting tests, where mock DNS needs to be saved to and read from files.
2022-01-18 14:34:18 -08:00
Ata E Husain Bohra
703364d146
Update cluster recovery documentation (#6255)
Patch updates code documentation to reflect the recent code
refactoring where ClusterController process drives recovery
instead of sequencer/master process.
2022-01-18 13:54:00 -08:00
Neethu Haneesha Bingi
162bce7a58 Rocksdb write rate limiter. 2022-01-18 13:23:00 -08:00
neethuhaneesha
034b934ecd
Merge pull request #6204 from neethuhaneesha/reuseIterators
Rocksdb read range iterator pool to reuse iterators.
2022-01-18 12:59:52 -08:00
Jingyu Zhou
2793b2613f Replace master branch with main in documentations 2022-01-18 11:37:11 -08:00
Jingyu Zhou
5257bcdcf8 Update backup documentation with cluster recovery
Mainly replaces "Master" with "CC". Also changes branch from "master" to "main".
2022-01-18 11:37:11 -08:00
He Liu
2fb5c59440 Removed deprioritizeThread(). 2022-01-18 11:10:56 -08:00
Markus Pilman
6f9758093d
Merge pull request #6247 from Doxense/enable-tls-support-for-windows-main
Enable TLS Support for Windows (main)
2022-01-18 12:08:42 -07:00
A.J. Beamon
d13a3536bb
Merge pull request #6246 from johscheuer/fix-typo-comment
Fix typo in comment
2022-01-18 08:25:16 -08:00
Neethu Haneesha Bingi
ef4038fe8d Rocksdb read range iterator pool to reuse iterators. 2022-01-18 02:05:21 -08:00
Mohamed Oulmahdi
0ca3d96506 Reintroduce HAVE_OPENSSL parameter 2022-01-17 19:10:20 +01:00
Mohamed Oulmahdi
b0f4c65388 Enable TLS Support for Windows (main) 2022-01-17 09:46:33 +01:00
Johannes M. Scheuermann
2b7990102e Fix typo in comment 2022-01-17 06:08:24 +00:00
A.J. Beamon
95d1a847d6
Merge pull request #6243 from sfc-gh-anoyes/anoyes/disallow-preprocessor-in-actors
Reject preprocessor directives in ACTORs
2022-01-14 13:10:33 -08:00
Andrew Noyes
cbadccaad5 Reject preprocessor directives in ACTORs 2022-01-14 11:37:29 -08:00
A.J. Beamon
086b92a95a
Merge pull request #6241 from sfc-gh-ajbeamon/fix-watch-metadata-memory-issue
Fix memory issue with client watch metadata
2022-01-14 11:11:24 -08:00
A.J. Beamon
be80aa35a4 Fix memory issue with client watch metadata 2022-01-14 09:42:28 -08:00
A.J. Beamon
07e5319477
Merge pull request #6165 from sfc-gh-ajbeamon/native-api-refactor
Refactor Native API Transactions
2022-01-13 14:53:19 -08:00
A.J. Beamon
cef5d400f9 Fix issue where enabling debug transaction after the transaction has been used could cause an assertion failure. 2022-01-13 13:43:42 -08:00
A.J. Beamon
17415168b6 Make the use provisional proxies parameter be of type UseProvisionalProxies everywhere. 2022-01-13 12:41:20 -08:00
Trevor Clinkenbeard
de39293b8d
Merge pull request #6206 from sfc-gh-tclinkenbeard/testworkload-smart-pointers
Use smart pointers to manage `TestWorkload` objects
2022-01-11 23:33:48 -08:00
sfc-gh-tclinkenbeard
05b94fed03 Add virtual destructor for IWorkloadFactory 2022-01-11 17:00:43 -08:00
Markus Pilman
9757f96631
Merge pull request #6236 from sfc-gh-ajbeamon/fix-typo
Fix typo in trace event name
2022-01-11 15:46:39 -07:00
A.J. Beamon
b44ebe0c65 Fix typo in trace event name 2022-01-11 13:22:00 -08:00
Ata E Husain Bohra
0858c6b6b9
Update recovery-internals documentation (#6229)
* Update recovery-internals documentation

Patch updates recovery-internals documentation to record changes
related to CC driving cluster-recovery state machine (earlier driven
by the master)
2022-01-11 13:20:20 -08:00
Markus Pilman
ab76312b42
Merge pull request #6180 from sfc-gh-anoyes/anoyes/java-native-headers
Build native headers for jni
2022-01-11 13:46:39 -07:00
Markus Pilman
8b77c8d79a Remove unused OpenSSL code 2022-01-11 10:34:37 -08:00
Lukas Joswiak
8a6bb8611a Update Python libfdb_c paths 2022-01-11 09:34:20 -08:00
Lukas Joswiak
bf9b4aeaab Rename libfdb_c in bindings dir 2022-01-11 09:34:20 -08:00
Lukas Joswiak
ff03fe99ff Add a copy of libfdb_c.so to lib for external client use 2022-01-11 09:34:20 -08:00
He Liu
2c0c51dd6d Enabled setting thread poll priorities. 2022-01-10 17:50:56 -08:00
Andrew Noyes
64090dd2c0 Suppress a small leak that LSAN is reporting
I cannot seem to figure out why LSAN is reporting this, but if it is a
real leak than it's only a few bytes. Better to have the ASAN tests
actually passing IMO.
2022-01-10 13:44:09 -08:00
Jingyu Zhou
db436fb494 Remove unneeded Arena in Requests/Replies
If the Request/Reply doesn't have *Ref types, we typically don't need to have
an Arena.
2022-01-10 10:26:02 -08:00
Kao Makino
95c72bfc1b Fix malformed JSON 2022-01-10 10:19:11 -08:00
Jingyu Zhou
a71712c985 Update txnStateStore doc with new CC initiated recovery
Also explains what is "txsPoppedVersion" and how it is used in recovery.
2022-01-07 13:29:31 -08:00
Aaron Molitor
6e31821bf5 update download links in documentation #6154 2022-01-06 17:53:35 -08:00
Andrew Noyes
21a5aebc7c Rebuild fat jar if fdbJNI.cpp changes
At least now if you change fdbJNI.cpp it rebuilds the fat jar. I'm
pretty sure there are other problems with incremental recompilation here
but at least this is an improvement.
2022-01-06 15:45:23 -08:00
Andrew Noyes
5e140bc233 Build native headers for jni
This will help ensure that native java functions are implemented with
the right type.
2022-01-06 15:45:23 -08:00
sfc-gh-tclinkenbeard
ac8979d624 Use smart pointers to manage TestWorkload objects 2022-01-06 14:31:50 -08:00
Ata E Husain Bohra
936bf5336a
Revert "Revert "Refactor: ClusterController driving cluster-recovery state machine" (#6191)
* Revert "Revert "Refactor: ClusterController driving cluster-recovery state machine""

Major changes includes:
1. Re-revert Sequencer refactor commits listed below (in listed order):
1.a. This reverts commit bb17e194d9c9888e203421290959bd7f2c075d7f.
1.b. This reverts commit d174bb2e06bff01157d16c652073536c54d17f7f.
1.c. This reverts commit 30b05b469c87d9b526b427751c211fb5cf7ff9cd.

2. Update Status.actor to track ClusterController interface to track
   recovery status.
3. Introduce a ServerKnob to define "cluster recovery trace event"
   prefix; for now keeping it as "Master", however, it should allow
   smooth transition to "Cluster" prefix as it seems more appropriate.
2022-01-06 12:15:51 -08:00
Jon Fu
5c3f6d13af
Merge pull request #6205 from sfc-gh-jfu/jfu-ignore-test
Ignore RocksDB unit test
2022-01-06 14:46:32 -05:00
Jon Fu
5757e2c93c Ignore RocksDB unit test 2022-01-06 13:34:50 -05:00