Russell Sears
b84fcbc828
folly_memcpy is ready for benchmarking
2020-06-02 14:51:21 -07:00
Russell Sears
937baedd44
add memcpy implementation from libfolly
2020-06-02 14:51:21 -07:00
Russell Sears
678b57c0d9
port rte_memcpy to flow; add -mavx compiler flag
2020-06-02 14:51:21 -07:00
Russell Sears
a910fa9ac7
memcpy tests from dpdk
2020-06-02 14:51:21 -07:00
Russell Sears
89e6c2f57a
copy relevant DPDK license into rte_memcpy.h header
2020-06-02 14:51:21 -07:00
Russell Sears
b39cdc4633
check-in unmodified rte_memcpy.h from dpdk 19.11
2020-06-02 14:51:21 -07:00
negoyal
cf13e00a8f
Merge remote-tracking branch 'origin/release-6.3' into fdb_cache_wo_allocator
2020-06-01 17:38:31 -07:00
Markus Pilman
ba63a66d12
Merge remote-tracking branch 'origin/master' into features/flatbuffers-debugtx
2020-05-29 15:38:09 -07:00
Markus Pilman
8a7d98ab21
Started instrumentation
2020-05-27 15:36:04 -07:00
A.J. Beamon
736a47837d
Merge pull request #3245 from apple/release-6.3
...
Merge release-6.3 into master
2020-05-27 13:27:47 -07:00
Meng Xu
856fb7b38f
Revert "Merge pull request #3197 from tclinken/optimize-deque-copy-ctor"
...
This reverts commit e898cb7f38
, reversing
changes made to 18c2c3d346
.
2020-05-27 09:46:20 -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
A.J. Beamon
fa08384bc3
Merge pull request #3239 from apple/release-6.3
...
Merge release 6.3 into master
2020-05-27 08:29:28 -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
A.J. Beamon
76f697fa9d
Merge pull request #3231 from sfc-gh-tclinkenbeard/add-woverloaded-virtual-warning
...
Added -Woverloaded-virtual warning for clang
2020-05-26 08:12:37 -07:00
Meng Xu
1c35ad884f
Merge branch 'master' into mengxu/release-6.3-conflict-PR
...
Has conflict with master;
Next commit will fix the conflicts.
2020-05-25 12:01:49 -07:00
sfc-gh-tclinkenbeard
b7160bab2d
Added -Woverloaded-virtual warning for clang, and fixed accidental overloads in flow.h
2020-05-24 13:53:35 -07:00
sfc-gh-tclinkenbeard
8a98ea3320
Changed non_flow_ref to flow_ref for clarity.
...
Also updated comment to explain that std::is_trivially_copyable
cannot be used to determine whether or not a type is a flow ref.
2020-05-23 22:57:41 -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
Russell Sears
e898cb7f38
Merge pull request #3197 from tclinken/optimize-deque-copy-ctor
...
Use std::copy in Deque copy constructor
2020-05-22 10:20:42 -07:00
A.J. Beamon
d128252e90
Merge release-6.3 into master
2020-05-22 09:25:32 -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
sfc-gh-tclinkenbeard
131534e4a1
Added =default for Standalone constructors for clarity
2020-05-20 10:28:33 -07:00
tclinken
9a64ec9343
Use std::copy in Deque copy ctor
2020-05-18 20:41:41 -07:00
Markus Pilman
d748166ed3
Merge branch 'master' of github.com:apple/foundationdb into features/flatbuffers-debugtx
2020-05-18 10:15:58 -07:00
tclinken
c8d3b56ff0
Removed unnecessary is_const_ref struct
2020-05-18 09:02:08 -07:00
tclinken
9d1d83640c
Update return type for const_iterator::getKey and const_iterator::getValue
2020-05-17 17:30:07 -07:00
tclinken
3399f566db
Fixed MacOS build
2020-05-17 17:29:59 -07:00
tclinken
c054b47150
Fixed IndexedSet::getMetric
2020-05-17 12:13:49 -07:00
tclinken
e16ec8beca
Added cbegin and cend to IndexedSet
...
Also fixed/improved /flow/IndexedSet/const_iterator test
2020-05-16 18:50:00 -07:00
tclinken
e58698d6f7
Added IndexedSet::previous(iterator) const
2020-05-16 18:38:04 -07:00
tclinken
70bd535707
Added IKeyValueContainer::const_iterator
2020-05-16 18:38:03 -07:00
tclinken
79b46c124e
Added /flow/IndexedSet/const_iterator unit test
2020-05-16 18:38:03 -07:00
tclinken
cbfe380b1d
s/NULL/nullptr in IndexedSet.h
2020-05-16 18:38:03 -07:00
tclinken
8f883591d4
Renamed _moveIterator to moveIteratorImpl
2020-05-16 18:38:03 -07:00
tclinken
dc11fb6b01
Removed IndexedSet::Impl::end
2020-05-16 18:38:03 -07:00
tclinken
52cb766b17
Renamed IndexedSet::IteratorImpl::i to IndexedSet::IteratorImpl::node
2020-05-16 18:38:02 -07:00
tclinken
d9124abb02
Avoid implicit conversion from iterator to const_iterator
2020-05-16 18:38:02 -07:00
tclinken
9c9b56b8b1
Avoid implicit conversion from Node* to iterator
2020-05-16 18:38:02 -07:00
tclinken
864ddd316f
Removed duplicate IndexedSet::moveIterator code
2020-05-16 18:38:02 -07:00
tclinken
e11ba12da7
Added IndexedSet::ConstImpl and IndexedSet::NonConstImpl
2020-05-16 18:38:02 -07:00
tclinken
84cfafe164
Added IndexedSet::const_iterator
2020-05-16 18:38:01 -07:00
tclinken
7003a68ba1
Removed outdated comments and errorCounts() declaration
2020-05-15 11:04:26 -07:00
tclinken
3ff2fa9c2a
Removed uses of outdated cpuTicks and errorCounts
2020-05-13 23:27:44 -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
Jingyu Zhou
2efbe7443b
Merge pull request #2873 from alexmiller-apple/mutation-debugging
...
Rework/redesign/reimplement mutation debugging/tracking for simulation
2020-05-13 19:30:34 -07:00
Alex Miller
ccaac162e2
Resolve performance concerns of nearly-no-op debugMutation being frequently called
...
This introduces unhygenic macro variants that inline a `ENABLED &&`
before the TraceEvent. This way, they get entirely compiled out unless
enabled.
Then rewrite all debugMutation uses via sed.
2020-05-13 18:44:15 -07:00
Alex Miller
27da91ab9e
Merge remote-tracking branch 'upstream/master' into mutation-debugging
2020-05-13 12:51:44 -07:00
Evan Tschannen
19a9ae14c2
update master version to 7.0.0
2020-05-10 23:51:15 -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
negoyal
749fcd13b0
Merge branch 'master' into fdb_cache_wo_allocator
2020-05-08 16:23:29 -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
Markus Pilman
1c8db89ad4
Implement missing destructor
2020-05-06 14:18:53 -07:00
Markus Pilman
1453ca6303
Added log writer
2020-05-05 17:58:41 -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
negoyal
dd033736ed
Merge branch 'master' into fdb_cache_subfeature2
2020-05-04 17:29:43 -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
Markus Pilman
362eb41509
Merge remote-tracking branch 'origin/master' into features/flatbuffers-debugtx
2020-05-04 14:17:26 -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
Markus Pilman
d039e75ac4
Merge remote-tracking branch 'origin/master' into features/flatbuffers-debugtx
2020-05-04 14:04:52 -07:00
Evan Tschannen
b68980d686
Merge pull request #2028 from negoyal/cache_storageq_results
...
Cache storageq results
2020-05-04 11:27:02 -07:00
A.J. Beamon
36454bb3b8
Merge branch 'master' into transaction-tagging
...
# Conflicts:
# fdbclient/MasterProxyInterface.h
# fdbclient/NativeAPI.actor.cpp
2020-05-04 10:23:25 -07:00
Markus Pilman
99fda86fed
intermediate commit
2020-05-04 17:11:33 +00:00
Alex Miller
78d644f673
Merge branch 'master' into bugfixes/cmake-includes
2020-05-04 02:11:46 -07:00
tclinken
d0d859c313
Fix segmentation fault in VectorRef<T>::reallocate
2020-05-02 20:44:28 -07:00
tclinken
88fa9bdb63
Unrevert "Enable -Wclass-memaccess and fix warnings"
2020-05-02 20:43:50 -07:00