Meng Xu
bbdd451fb6
FastRestore:Add priorities for loader and applier endpoints
...
Endpoint for later restore step should have higher priority for
better performance: later step will not be blocked by the
next version batch's earlier steps.
2020-06-16 22:48:32 -07:00
A.J. Beamon
6f4d6f1923
Refreshing TLS files was done to an incorrect location that resulted in random memory being wiped out. Also fixed a typo that loaded the key bytes into the CA bytes in some cases.
2020-06-12 14:40:10 -07:00
Daniel Smith
2243ee0033
s/NULL/nullptr/
...
Co-authored-by: A.J. Beamon <ajbeamon@users.noreply.github.com>
2020-06-11 12:06:16 -04:00
Daniel Smith
8088bf7212
Move flush call onto main thread to make TraceBatch not thread hostile
2020-06-11 15:53:29 +00:00
Evan Tschannen
30bfd606c0
Merge branch 'release-6.2' into release-6.3
...
# Conflicts:
# CMakeLists.txt
# documentation/sphinx/source/downloads.rst
# documentation/sphinx/source/release-notes.rst
# fdbserver/worker.actor.cpp
# packaging/msi/FDBInstaller.wxs
# versions.target
2020-06-04 19:21:32 -07:00
Steve Atherton
bf072d68ec
Workarounds for strange behaviors in Boost ssl sockets on MacOS and Linux. When writing to the ssl socket, write_some() would sometimes return BrokenPipe instead of WouldBlock unless onWriteable on the raw socket was checked first. On MacOS, even with the onWriteable check using a send size greater than 2016 (determined experimentally) would still result in the error. Also consolidated two identical copies of SendBufferIterator.
2020-06-04 01:44:05 -07:00
Meng Xu
59132e2cc8
Merge pull request #3237 from ajbeamon/tag-throttling-documentation
...
Add documentation for the tag throttling feature
2020-05-27 09:33:30 -07:00
Meng Xu
755267a7db
Merge pull request #3229 from ajbeamon/calling-run-network-twice-is-error
...
Eliminate the undefined behavior of calling run_network twice, instead returning an error
2020-05-26 21:24:52 -07:00
A.J. Beamon
530da59d62
Add documentation for the tag throttling feature
2020-05-26 15:27:06 -07:00
Evan Tschannen
4b6e1d8a57
fix compile problem
2020-05-22 17:16:59 -07:00
Evan Tschannen
ced65cd30b
finished explicitly versioning everything stored in the database
2020-05-22 17:14:21 -07:00
Evan Tschannen
72ce997d22
explicitly versioned every key in systemData, so we only will update the associated protocolVersion when the serialization actually changes
2020-05-22 16:35:01 -07:00
Evan Tschannen
8fd926e08e
serialize old tlog entries with old protocol versions to support downgrades
2020-05-22 14:00:07 -07:00
A.J. Beamon
86f712657e
Eliminate the undefined behavior of calling run_network twice, instead returning an error.
2020-05-22 13:31:06 -07:00
Evan Tschannen
f1dca05cf3
Merge pull request #3194 from etschannen/feature-small-endpoint
...
Optimized failure monitor performance
2020-05-20 14:48:13 -07:00
Evan Tschannen
9d6d916cef
fixed compiler error
2020-05-20 12:23:14 -07:00
Evan Tschannen
b999b93fa2
added a hash function for endpoint
2020-05-20 12:21:57 -07:00
tclinken
ddd2814573
Fixed signature of hidden ActionWrapper assignment operator
2020-05-13 19:59:35 -07:00
tclinken
eaad516f3a
Removed const_cast from readEntireFile
2020-05-13 19:59:35 -07:00
Evan Tschannen
f17f00fdd5
Merge branch 'release-6.2'
...
# Conflicts:
# documentation/sphinx/source/release-notes.rst
2020-05-10 22:33:38 -07:00
Meng Xu
d9c5a0c559
Merge pull request #3095 from atn34/atn34/special-key-versioning
...
Add api versioning and opt-in cross-module reads to special key space
2020-05-09 16:21:02 -07:00
Andrew Noyes
8bd5dcaff8
Merge branch 'master' into atn34/special-key-versioning
2020-05-09 15:34:20 -07:00
Kao Makino
c2e80fe47b
Linux aarch64 port
2020-05-09 22:14:03 +00:00
A.J. Beamon
02307ba7b6
Merge branch 'master' into transaction-tagging
...
# Conflicts:
# fdbclient/DatabaseContext.h
2020-05-09 07:50:29 -07:00
Evan Tschannen
f0f52fb2be
Merge branch 'master' into feature-small-endpoint
...
# Conflicts:
# fdbclient/StorageServerInterface.h
2020-05-08 16:37:35 -07:00
Andrew Noyes
6b35b1b686
Disallow no-module read by default
2020-05-08 05:37:37 +00:00
Andrew Noyes
1d6209e304
Check for cross-module reads
2020-05-08 05:37:37 +00:00
Steve Atherton
62882f5552
Merge pull request #3088 from sears/lb_ub_perf_2
...
unrevert lb_ub_perf pull request
2020-05-07 18:23:17 -07:00
A.J. Beamon
0be453de0a
Merge pull request #3026 from atn34/atn34/tsan
...
Add USE_TSAN and fix some data races
2020-05-07 18:06:18 -07:00
Russell Sears
4098f3f48e
pr comment
2020-05-07 17:22:04 -07:00
Andrew Noyes
449eac25ae
Use DefaultOnMainThread if not on the main thread
...
Otherwise use the old behavior, which I'm told was intended to fix a
priority version long ago.
2020-05-07 23:22:22 +00:00
Russell Sears
42950eba91
fix two correctness bugs in the comparison logic
2020-05-07 15:50:40 -07:00
Evan Tschannen
6aec2b9c53
Merge pull request #3096 from ajbeamon/fix-invalid-type-detail
...
Fix invalid trace event detail named "Type" for invalid suppressions
2020-05-07 14:54:53 -07:00
A.J. Beamon
aed97a9f20
Merge branch 'master' into transaction-tagging
2020-05-07 14:52:22 -07:00
A.J. Beamon
92730b2f05
Merge branch 'master' into transaction-tagging
...
# Conflicts:
# fdbclient/NativeAPI.actor.cpp
2020-05-07 14:50:25 -07:00
Evan Tschannen
50a0753673
Merge pull request #3063 from atn34/atn34/improve-fb-empty-string
...
Reduce size of flatbuffers messages
2020-05-07 14:42:05 -07:00
Evan Tschannen
41732bc218
Merge pull request #3062 from tclinken/fix-backup-invalid-info-message
...
Fixed backup_invalid_info error message
2020-05-07 14:40:56 -07:00
Evan Tschannen
574914640a
Merge pull request #2999 from tclinken/more-move-optimizations
...
Generate rvalue reference overloads for actor callback functions
2020-05-07 14:32:27 -07:00
Russell Sears
945daf980d
fix clang build
2020-05-07 12:09:40 -07:00
Russell Sears
5c17d5e054
fix MacOS + Windows build (std::random_shuffle has been deprecated + removed in newer versions of C++)
2020-05-07 12:09:40 -07:00
Russell Sears
1f102f7e16
pr comment: restore assert
2020-05-07 12:09:09 -07:00
Russell Sears
5e1c43f87b
replace double invocations of operator<() with three way compare().
2020-05-07 12:08:29 -07:00
Russell Sears
99a805517e
reduce the number of calls to operator< made by lower_bound and upper_bound #2877
2020-05-07 12:08:21 -07:00
Russell Sears
ae2d9744cb
simple benchmarks of IndexedSet, VersionedMap and std::map
2020-05-07 12:08:00 -07:00
A.J. Beamon
47477382b1
Fix invalid trace event detail named "Type"
2020-05-07 11:22:32 -07:00
A.J. Beamon
b1055a8501
Merge branch 'master' into transaction-tagging
2020-05-05 16:03:39 -07:00
A.J. Beamon
8125096e9b
Revert "reduce the number of calls to operator< made by lower_bound and upper…"
2020-05-05 08:17:10 -07:00
Steve Atherton
4ae356b237
Merge pull request #2882 from sears/lb_ub_perf
...
reduce the number of calls to operator< made by lower_bound and upper…
2020-05-04 15:46:22 -07:00
Russell Sears
17c0ad5a62
switch to the more obvious "l < r ? -1 : l == r ? 0 : 1" since code generation for that seems a bit more stable, and it is probably more commonly used than "(l > r) - (l < r)"
2020-05-04 14:47:23 -07:00
Alex Miller
ce19156afd
Merge pull request #2909 from mpilman/bugfixes/cmake-includes
...
don't include source and binary dir
2020-05-04 14:08:25 -07:00